NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
fgeorges
Joined: 30 Jun 2010 Posts: 1
|
Posted: Wed Jun 30, 2010 11:39 pm Post subject: Maven-based project: add Saxon dependency |
|
|
Hi,
I created a new Maven-based project by using the builtin
project wizard for Maven plugins. That plugin has to use the
Saxon XSLT processor, so I right-click on the "Libraries" node
under the project, and select "Add Dependency". In the "Query"
field I type "saxon", and select "9.1.0.8 [jar,s9api]" in the
result list (see http://fgeorges.org/tmp/maven-nb-xspec.png for a
screenshot).
The main Saxon JAR file is downloaded, but not the S9API one,
which you can see at:
http://repo1.maven.org/maven2/net/sourceforge/saxon/saxon/9.1.0.8/
If I expend the JAR added in the "Libraries" mode, I do not see
the package net.sf.saxon.s9api. If I right-click on this JAR and
select "View Artifact Details", I can see "s9api" in the box
"Secondary Artifacts", but there is no way to ask NetBeans to add
the corresponding JAR as a dependency of my project. And the
corresponding JAR (saxon-s9api) is not in my ~/.m2 neither.
How can I ask NetBeans to add the proper dependencies to my
project?
Regards,
--
Florent Georges
http://fgeorges.org/ |
|
| Back to top |
|
 |
Florent Georges Posted via mailing list.
|
Posted: Fri Jul 02, 2010 1:29 pm Post subject: Maven-based project: add Saxon dependency |
|
|
Hi,
I created a new Maven-based project by using the builtin
project wizard for Maven plugins. That plugin has to use the
Saxon XSLT processor, so I right-click on the "Libraries" node
under the project, and select "Add Dependency". In the "Query"
field I type "saxon", and select "9.1.0.8 [jar,s9api]" in the
result list (see http://fgeorges.org/tmp/maven-nb-xspec.png for a
screenshot).
The main Saxon JAR file is downloaded, but not the S9API one,
which you can see at:
http://repo1.maven.org/maven2/net/sourceforge/saxon/saxon/9.1.0.8/
If I expend the JAR added in the "Libraries" mode, I do not see
the package net.sf.saxon.s9api. If I right-click on this JAR and
select "View Artifact Details", I can see "s9api" in the box
"Secondary Artifacts", but there is no way to ask NetBeans to add
the corresponding JAR as a dependency of my project. And the
corresponding JAR (saxon-s9api) is not in my ~/.m2 neither.
How can I ask NetBeans to add the proper dependencies to my
project?
Regards,
--
Florent Georges
http://fgeorges.org/ |
|
| Back to top |
|
 |
Florent Georges Posted via mailing list.
|
Posted: Fri Jul 02, 2010 1:31 pm Post subject: Maven-based project: add Saxon dependency |
|
|
Hi,
I created a new Maven-based project by using the builtin
project wizard for Maven plugins. That plugin has to use the
Saxon XSLT processor, so I right-click on the "Libraries" node
under the project, and select "Add Dependency". In the "Query"
field I type "saxon", and select "9.1.0.8 [jar,s9api]" in the
result list (see http://fgeorges.org/tmp/maven-nb-xspec.png for a
screenshot).
The main Saxon JAR file is downloaded, but not the S9API one,
which you can see at:
http://repo1.maven.org/maven2/net/sourceforge/saxon/saxon/9.1.0.8/
If I expend the JAR added in the "Libraries" mode, I do not see
the package net.sf.saxon.s9api. If I right-click on this JAR and
select "View Artifact Details", I can see "s9api" in the box
"Secondary Artifacts", but there is no way to ask NetBeans to add
the corresponding JAR as a dependency of my project. And the
corresponding JAR (saxon-s9api) is not in my ~/.m2 neither.
How can I ask NetBeans to add the proper dependencies to my
project?
Regards,
--
Florent Georges
http://fgeorges.org/ |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|