NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Maven-based project: add Saxon dependency

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
fgeorges



Joined: 30 Jun 2010
Posts: 1

PostPosted: Wed Jun 30, 2010 11:39 pm    Post subject: Maven-based project: add Saxon dependency Reply with quote

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.





PostPosted: Fri Jul 02, 2010 1:29 pm    Post subject: Maven-based project: add Saxon dependency Reply with quote

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.





PostPosted: Fri Jul 02, 2010 1:31 pm    Post subject: Maven-based project: add Saxon dependency Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo