[jboss-dev] jbossts 4.11.0.Final invalid pom
Alexey Loubyansky
alexey.loubyansky at redhat.com
Tue Nov 2 07:14:23 EDT 2010
After recent updates I can't build AS7 due the following.
I *don't* have maven 2 at all. I just installed
Apache Maven 3.0 (r1004208; 2010-10-04 13:50:56+0200)
and the one distributed with the AS in tools is
Apache Maven 3.0-beta-1 (r935667; 2010-04-19 19:00:39+0200)
I get the same result with both of these maven versions.
[ERROR] Failed to execute goal
org.jboss.maven.plugins:maven-jboss-license-plugin:1.0.3:download-licenses
(default) on project jboss-as-build: Unable
to build project: org.jboss.jbossts:jbossjts:jar: 3 problems were
encountered while building the effective model for
org.jboss.jbossts:jbossjts:4.11.0
.Final
[ERROR] 'dependencies.dependency.version' for
org.jboss.security:jbosssx:jar is missing. @
[ERROR] 'dependencies.dependency.version' for sun-jaxb:jaxb-api:jar is
missing. @
[ERROR] 'dependencies.dependency.version' for javax.xml.ws:jaxws-api:jar
is missing. @
for project org.jboss.jbossts:jbossjts:4.11.0.Final for project
org.jboss.jbossts:jbossjts:4.11.0.Final
-> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :jboss-as-build
If I run with '-X -e' this what I see
[WARNING] The POM for org.jboss.jbossts:jbossjts:jar:4.11.0.Final is
invalid, transitive dependencies (if any) will not be available: 3
problems were encountered while building the effective model for
org.jboss.jbossts:jbossjts:4.11.0.Final
[ERROR] 'dependencies.dependency.version' for
org.jboss.security:jbosssx:jar is missing. @
[ERROR] 'dependencies.dependency.version' for sun-jaxb:jaxb-api:jar is
missing. @
[ERROR] 'dependencies.dependency.version' for javax.xml.ws:jaxws-api:jar
is missing. @
...
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal
org.jboss.maven.plugins:maven-jboss-license-plugin:1.0.3:download-licenses
(default) on project jboss-as-build: Unable to build project:
org.jboss.jbossts:jbossjts:jar
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to
build project: org.jboss.jbossts:jbossjts:jar
at
org.jboss.maven.plugins.license.DownloadLicensesMojo.execute(DownloadLicensesMojo.java:144)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
... 19 more
Caused by: org.apache.maven.project.InvalidProjectModelException: 3
problems were encountered while building the effective model for
org.jboss.jbossts:jbossjts:4.11.0.Final
[ERROR] 'dependencies.dependency.version' for
org.jboss.security:jbosssx:jar is missing. @
[ERROR] 'dependencies.dependency.version' for sun-jaxb:jaxb-api:jar is
missing. @
[ERROR] 'dependencies.dependency.version' for javax.xml.ws:jaxws-api:jar
is missing. @
for project org.jboss.jbossts:jbossjts:4.11.0.Final for project
org.jboss.jbossts:jbossjts:4.11.0.Final
at
org.apache.maven.project.DefaultMavenProjectBuilder.transformError(DefaultMavenProjectBuilder.java:174)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:221)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:232)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:239)
at
org.jboss.maven.plugins.license.DownloadLicensesMojo.execute(DownloadLicensesMojo.java:140)
... 21 more
Note, the missing dependencies above are excluded from the jbossts
dependency in the pom (in the AS).
And the versions for these dependencies should be
version.org.picketbox for jbosssx,
version.org.jboss.spec.javax.xml.bind.jboss-jaxb-api_2.2_spec for jaxb,
version.org.jboss.spec.javax.xml.ws.jboss-jaxws-api_2.2_spec for jaxws.
How can we fix this?
Thanks,
Alexey
More information about the jboss-development
mailing list