[jboss-dev] Re: WARNING: Mavenizing Thirdparty (2nd try)
Paul Gier
pgier at redhat.com
Thu Mar 27 07:07:18 EDT 2008
That looks like it's not finding an up to date component-matrix pom for some
reason. You can try installing that pom locally, and see if these errors go
away. I brought up possibly moving the dependencyManagement stuff back into the
app server poms on the build forum
(http://www.jboss.org/index.html?module=bb&op=viewtopic&t=132452).
Do you get the same thing if you run "mvn package" from the thirdparty directory?
Scott M Stark wrote:
> Its not working for me. I just threw away my thirdparty, updated it from
> svn and then tried to run:
>
> [starksm at succubus build]$ ant -f build-maven.xml
>
> Buildfile: build-maven.xml
>
> check.inhibit.downloads:
>
> check.proxy:
>
> set.proxy.withoutauth:
>
> set.proxy.auth:
>
> set.proxy:
>
> createthirdparty:
> [java] [INFO] Scanning for projects...
> [java] [INFO]
> ------------------------------------------------------------------------
> [java] [ERROR] FATAL ERROR
> [java] [INFO]
> ------------------------------------------------------------------------
> [java] [INFO] Error building POM (may not be this project's POM).
>
>
> [java] Project ID: org.jboss.jbossas:jboss-as-thirdparty
> [java] POM Location: /home/svn/JBossHead/jboss-head/thirdparty/pom.xml
> [java] Validation Messages:
>
> [java] [0] 'dependencies.dependency.version' is missing for
> jboss.jms-integration-tests:integration-mdb20-selector
> [java] [1] 'dependencies.dependency.version' is missing for
> jboss.web:jsp-api
> [java] [2] 'dependencies.dependency.version' is missing for
> jboss.web:jasper-jdt
> [java] [3] 'dependencies.dependency.version' is missing for
> sun-jaxws:jaxws-rt
> [java] [4] 'dependencies.dependency.version' is missing for
> apache-slide:jakarta-slide-webdavlib
> [java] [5] 'dependencies.dependency.version' is missing for
> org.jboss.cl:jboss-classloader
> [java] [6] 'dependencies.dependency.version' is missing for
> jboss.web:servlet-api
> [java] [7] 'dependencies.dependency.version' is missing for
> jboss.jms-integration-tests:integration-mdb20
> [java] [8] 'dependencies.dependency.version' is missing for
> org.jboss.deployers:jboss-deployers-vfs
> [java] [9] 'dependencies.dependency.version' is missing for
> sun-jaxws:sjsxp
> [java] [10] 'dependencies.dependency.version' is missing for
> jboss.jms-integration-tests:integration-mdb20-userTransactionDups
> [java] [11] 'dependencies.dependency.version' is missing for
> jacorb:jacorb_g
> [java] [12] 'dependencies.dependency.version' is missing for
> sun-jaxws:saaj-api
> [java] [13] 'dependencies.dependency.version' is missing for
> org.jboss:jboss-mdr
> [java] [14] 'dependencies.dependency.version' is missing for
> apache-myfaces:myfaces-api
> [java] [15] 'dependencies.dependency.version' is missing for
> sun-jaxws:http
> [java] [16] 'dependencies.dependency.version' is missing for
> sun-jaxws:FastInfoset
> [java] [17] 'dependencies.dependency.version' is missing for
> sun-opends:OpenDS
> [java] [18] 'dependencies.dependency.version' is missing for
> sun-xacml:sunxacml-support
> [java] [19] 'dependencies.dependency.version' is missing for
> org.jboss.man:jboss-metatype
> [java] [20] 'dependencies.dependency.version' is missing for
> org.jboss.cl:jboss-classloading-vfs
> [java] [21] 'dependencies.dependency.version' is missing for
> org.jboss.deployers:jboss-deployers-client-spi
> [java] [22] 'dependencies.dependency.version' is missing for
> jboss.jms-integration-tests:integration-mdb20-userTransaction
> [java] [23] 'dependencies.dependency.version' is missing for
> org.jboss.cl:jboss-classloading
> [java] [24] 'dependencies.dependency.version' is missing for
> sun-jaxws:stax-ex
> [java] [25] 'dependencies.dependency.version' is missing for
> jboss.common:namespace
> [java] [26] 'dependencies.dependency.version' is missing for
> sun-jaxb:jaxb-api
> [java] [27] 'dependencies.dependency.version' is missing for
> javassist:javassist
> [java] [28] 'dependencies.dependency.version' is missing for
> sun-jaxws:saaj-impl
> [java] [29] 'dependencies.dependency.version' is missing for
> org.jboss.deployers:jboss-deployers-impl
> [java] [30] 'dependencies.dependency.version' is missing for
> org.jboss.deployers:jboss-deployers-spi
> [java] [31] 'dependencies.dependency.version' is missing for
> org.jboss.deployers:jboss-deployers-vfs-spi
> [java] [32] 'dependencies.dependency.version' is missing for
> jboss.common:jboss-common-client
> [java] [33] 'dependencies.dependency.version' is missing for
> jboss.aop:jboss-aop-jdk50
> [java] [34] 'dependencies.dependency.version' is missing for
> org.jboss.deployers:jboss-deployers-core-spi
> [java] [35] 'dependencies.dependency.version' is missing for
> org.jboss.deployers:jboss-deployers-client
> [java] [36] 'dependencies.dependency.version' is missing for
> org.jboss.deployers:jboss-deployers-structure-spi
> [java] [37] 'dependencies.dependency.version' is missing for
> org.jboss:jboss-reflect
> [java] [38] 'dependencies.dependency.version' is missing for
> sun-jaxws:streambuffer
> [java] [39] 'dependencies.dependency.version' is missing for
> wutka-dtdparser:dtdparser
> [java] [40] 'dependencies.dependency.version' is missing for
> org.jboss:jboss-integration
> [java] [41] 'dependencies.dependency.version' is missing for
> jboss.aop:jboss-standalone-aspect-library-jdk50
> [java] [42] 'dependencies.dependency.version' is missing for
> jacorb:idl_g
> [java] [43] 'dependencies.dependency.version' is missing for
> sun-jaxws:jaxws-tools
> [java] [44] 'dependencies.dependency.version' is missing for
> sun-fi:FastInfosetUtilities
> [java] [45] 'dependencies.dependency.version' is missing for
> jboss.jbossws:jboss-jaxws-ext
> [java] [46] 'dependencies.dependency.version' is missing for
> jboss.jms-integration-tests:integration-mdb20-durable
> [java] [47] 'dependencies.dependency.version' is missing for
> jboss.jbossws:jbossws-client
> [java] [48] 'dependencies.dependency.version' is missing for
> jboss.jbossws:jbossws-core
> [java] [49] 'dependencies.dependency.version' is missing for
> apache-myfaces:myfaces-impl
> [java] [50] 'dependencies.dependency.version' is missing for
> sun-jaxws:jsr173_api
> [java] [51] 'dependencies.dependency.version' is missing for
> sun-javamail:mail
> [java] [52] 'dependencies.dependency.version' is missing for
> org.jboss.man:jboss-managed
> [java] [53] 'dependencies.dependency.version' is missing for
> sun-jaxb:jaxb-xjc
> [java] [54] 'dependencies.dependency.version' is missing for
> jboss.jms-integration-tests:jms-integration-tests
> [java] [55] 'dependencies.dependency.version' is missing for
> jboss.jbossws-common:jbossws-common
> [java] [56] 'dependencies.dependency.version' is missing for
> jboss.remoting:jboss-remoting
> [java] [57] 'dependencies.dependency.version' is missing for
> sun-fi:FastInfoset
> [java] [58] 'dependencies.dependency.version' is missing for
> jboss.messaging:jboss-messaging-client
> [java] [59] 'dependencies.dependency.version' is missing for
> jboss.web:el-api
> [java] [60] 'dependencies.dependency.version' is missing for
> sun-jaxb:jaxb-impl
> [java] [61] 'dependencies.dependency.version' is missing for
> xdoclet:xjavadoc
> [java] [62] 'dependencies.dependency.version' is missing for
> sun-jaxws:jsr250-api
>
>
> [java] Reason: Failed to validate POM for project
> org.jboss.jbossas:jboss-as-thirdparty at
> /home/svn/JBossHead/jboss-head/thirdparty/pom.xml
>
>
> [java] [INFO]
> ------------------------------------------------------------------------
> [java] [INFO] Trace
> [java] org.apache.maven.reactor.MavenExecutionException: Failed to
> validate POM for project org.jboss.jbossas:jboss-as-thirdparty at
> /home/svn/JBossHead/jboss-head/thirdparty/pom.xml
> [java] at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)
> [java] at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:289)
> [java] at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) [java]
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [java] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> [java] at java.lang.reflect.Method.invoke(Method.java:585)
> [java] at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> [java] at
> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> [java] at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> [java] at
> org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [java] Caused by:
> org.apache.maven.project.InvalidProjectModelException: Failed to
> validate POM for project org.jboss.jbossas:jboss-as-thirdparty at
> /home/svn/JBossHead/jboss-head/thirdparty/pom.xml
> [java] at
> org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:996)
>
> [java] at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:799)
>
> [java] at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:476)
>
> [java] at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
>
> [java] at
> org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:548)
> [java] at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:458)
> [java] at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:362)
> [java] ... 11 more
> [java] [INFO]
> ------------------------------------------------------------------------
> [java] [INFO] Total time: < 1 second
> [java] [INFO] Finished at: Wed Mar 26 20:55:30 PDT 2008
> [java] [INFO] Final Memory: 3M/74M
> [java] [INFO]
> ------------------------------------------------------------------------
> [java] Java Result: 1
>
> _buildmagic:init:
> Trying to override old definition of task property
>
> _buildmagic:init:local-properties:
>
> _buildmagic:init:buildlog:
>
> configure:
> [echo] groups: default
> [echo] modules:
> main,bootstrap,j2se,mbeans,jmx,system,system-jmx,security,server,deployment,jbossas/remoting,jmx-remoting,jbossas/jmx-remoting,messaging,jbossmq,cluster,varia,iiop,aspects,profileservice,connector,management,ejb3,tomcat,webservices,hibernate-int,console,spring-int
>
>
> init:
>
> _buildmagic:modules:most:
>
> ======================================================================
> == Executing 'most' in module 'main'...
> ==
> /home/svn/JBossHead/jboss-head/thirdparty/libraries.ent could not be found
>
> BUILD FAILED
> /home/svn/JBossHead/jboss-head/tools/etc/buildmagic/buildmagic.ent:1029:
> java.io.FileNotFoundException:
> /home/svn/JBossHead/jboss-head/thirdparty/libraries.ent (No such file or
> directory)
>
> Total time: 2 seconds
> [starksm at succubus build]$ type mvn
> mvn is /home/starksm/java/maven-2.0.7/bin/mvn
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
More information about the jboss-development
mailing list