1 Jul 2010 01:17
Maven-based project: add Saxon dependency
Florent Georges <lists <at> fgeorges.org>
2010-06-30 23:17:44 GMT
2010-06-30 23:17:44 GMT
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/(Continue reading)
RSS Feed