Skip to main content

Compiling wsit

1 reply [Last post]
flo_
Offline
Joined: 2009-06-11
Points: 0

Hi,
I have a problem to compile wsit/metro. I checked out the project from https://svn.java.net/svn/wsit~svn/tags/2.1 in eclipse. With m2eclipse I select the goal "maven assembly:assembly" on the top-level pom.xml file in the wsit subdirectory. I get the following error:

[WARNING] Could not transfer metadata org.glassfish.metro:wstx-api:2.2-SNAPSHOT/maven-metadata.xml from/to m1.dev.java.net (http://download.java.net/maven/1): No connector available to access repository m1.dev.java.net (http://download.java.net/maven/1) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory
[INFO] ---
[ERROR] Failed to execute goal on project wstx-impl: Could not resolve dependencies for project org.glassfish.metro:wstx-impl:jar:2.2-SNAPSHOT: Failed to collect dependencies for [javax.ejb:ejb-api:jar:3.0 (provided), javax.transaction:transaction-api:jar:1.1 (provided), javax.resource:connector-api:jar:1.5 (provided), org.glassfish.metro:wstx-api:jar:2.2-SNAPSHOT (compile), org.glassfish.metro:metro-runtime-api:jar:2.2-SNAPSHOT (compile), com.sun.istack:istack-commons-runtime:jar:2.2.1 (compile), javax.xml.bind:jaxb-api:jar:2.2.2 (compile), com.sun.xml.bind:jaxb-impl:jar:2.2.3-1 (compile), javax.xml.ws:jaxws-api:jar:2.2.3 (compile), com.sun.xml.ws:jaxws-rt:jar:2.2.3 (compile), javax.jws:jsr181-api:jar:1.0-MR1 (compile), javax.annotation:jsr250-api:jar:1.0 (compile), com.sun.xml.ws:policy:jar:2.2.2 (compile), javax.xml.soap:saaj-api:jar:1.3.2 (compile), javax.xml.stream:stax-api:jar:1.0-2 (compile)]: Failed to read artifact descriptor for javax.ejb:ejb-api:jar:3.0: Could not transfer artifact javax.ejb:ejb-api:pom:3.0 from/to m1.dev.java.net (http://download.java.net/maven/1): No connector available to access repository m1.dev.java.net (http://download.java.net/maven/1) of type legacy using the available factories AsyncRepositoryConnectorFactory, WagonRepositoryConnectorFactory -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExc...
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :wstx-impl

What am I doing wrong?

Best regards,
Flo

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kubatzki
Offline
Joined: 2011-03-25
Points: 0

Is the repository in the pom file correctly set?
ys