Even after removing both:
/home/svn/repository.jboss.org/maven2/org/jboss/jbossas/
/home/svn/repository.jboss.org/maven2/org/jboss/jboss-parent/
from my svn repo, I'm not seeing the
org.jboss.jbossas:jboss-as-component-matrix:5.0.0-SNAPSHOT being
downloaded. org.jboss:jboss-parent:4-SNAPSHOT is updated, but its not
even trying to download
[starksm@succubus thirdparty]$ mvn -U package
[INFO] Scanning for projects...
[INFO] snapshot org.jboss:jboss-parent:4-SNAPSHOT: checking for updates
from
snapshots.jboss.org
Downloading:
http://snapshots.jboss.org/maven2/org/jboss/jboss-parent/4-SNAPSHOT/jboss...
11K downloaded
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
...
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
Is there something wrong with my settings.xml?
[starksm@succubus thirdparty]$ cat ~/.m2/settings.xml
<settings>
<!-- This could point to the cvs checkout of the
repository.jboss.com/maven2 contents, or a separate local
maven repo
-->
<
localRepository>/home/svn/repository.jboss.org/maven2</localReposit...
<servers>
<server>
<id>snapshots.jboss.org</id>
<username>scott.stark(a)jboss.org</username>
<password>**secret**</password>
</server>
<server>
<id>repository.jboss.org</id>
<username>scott.stark(a)jboss.org</username>
<password>**secret**</password>
</server>
</servers>
<profiles>
<profile>
<id>local-properties</id>
<properties>
<!-- This must point to the cvs or svn checkout of the jboss
repository -->
<jboss.repository.root>/home/svn/repository.jboss.org</jboss.repository.root>
<maven.repository.root>/home/svn/repository.jboss.org</maven.repository.root>
<!-- This must point to the cvs checkout of the
repository.jboss.com/maven2 contents
-->
<
maven.cvs.root>/home/svn/repository.jboss.org/maven2</maven.cvs.roo...
</properties>
</profile>
<profile>
<id>jboss.repository</id>
<activation>
<property>
<name>!jboss.repository.off</name>
</property>
</activation>
<repositories>
<repository>
<id>snapshots.jboss.org</id>
<
url>http://snapshots.jboss.org/maven2</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>repository.jboss.org</id>
<
url>http://repository.jboss.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>repository.jboss.org</id>
<
url>http://repository.jboss.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>snapshots.jboss.org</id>
<
url>http://snapshots.jboss.org/maven2</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>local-properties</activeProfile>
</activeProfiles>
</settings>
Scott M Stark wrote:
I see:
[starksm@succubus thirdparty]$ mvn -U package
[INFO] Scanning for projects...
[INFO] snapshot org.jboss:jboss-parent:4-SNAPSHOT: checking for updates
from
snapshots.jboss.org
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.jboss.jbossas:jboss-as-thirdparty
POM Location: /home/svn/JBossHead/jboss-head/thirdparty/pom.xml
Validation Messages:
[0] 'dependencies.dependency.version' is missing for
jboss.jms-integration-tests:integration-mdb20-selector
[1] 'dependencies.dependency.version' is missing for jboss.web:jsp-api
[2] 'dependencies.dependency.version' is missing for
jboss.web:jasper-jdt
[3] 'dependencies.dependency.version' is missing for
sun-jaxws:jaxws-rt
[4] 'dependencies.dependency.version' is missing for
apache-slide:jakarta-slide-webdavlib
[5] 'dependencies.dependency.version' is missing for
org.jboss.cl:jboss-classloader
[6] 'dependencies.dependency.version' is missing for
jboss.web:servlet-api [7] 'dependencies.dependency.version' is
missing for jboss.jms-integration-tests:integration-mdb20
[8] 'dependencies.dependency.version' is missing for
org.jboss.deployers:jboss-deployers-vfs
[9] 'dependencies.dependency.version' is missing for sun-jaxws:sjsxp
[10] 'dependencies.dependency.version' is missing for
jboss.jms-integration-tests:integration-mdb20-userTransactionDups
[11] 'dependencies.dependency.version' is missing for jacorb:jacorb_g
[12] 'dependencies.dependency.version' is missing for
sun-jaxws:saaj-api
[13] 'dependencies.dependency.version' is missing for
org.jboss:jboss-mdr
[14] 'dependencies.dependency.version' is missing for
apache-myfaces:myfaces-api
[15] 'dependencies.dependency.version' is missing for sun-jaxws:http
[16] 'dependencies.dependency.version' is missing for
sun-jaxws:FastInfoset
[17] 'dependencies.dependency.version' is missing for
sun-opends:OpenDS
[18] 'dependencies.dependency.version' is missing for
sun-xacml:sunxacml-support
[19] 'dependencies.dependency.version' is missing for
org.jboss.man:jboss-metatype
[20] 'dependencies.dependency.version' is missing for
org.jboss.cl:jboss-classloading-vfs
[21] 'dependencies.dependency.version' is missing for
org.jboss.deployers:jboss-deployers-client-spi
[22] 'dependencies.dependency.version' is missing for
jboss.jms-integration-tests:integration-mdb20-userTransaction
[23] 'dependencies.dependency.version' is missing for
org.jboss.cl:jboss-classloading
[24] 'dependencies.dependency.version' is missing for
sun-jaxws:stax-ex
[25] 'dependencies.dependency.version' is missing for
jboss.common:namespace
[26] 'dependencies.dependency.version' is missing for
sun-jaxb:jaxb-api
[27] 'dependencies.dependency.version' is missing for
javassist:javassist
[28] 'dependencies.dependency.version' is missing for
sun-jaxws:saaj-impl
[29] 'dependencies.dependency.version' is missing for
org.jboss.deployers:jboss-deployers-impl
[30] 'dependencies.dependency.version' is missing for
org.jboss.deployers:jboss-deployers-spi
[31] 'dependencies.dependency.version' is missing for
org.jboss.deployers:jboss-deployers-vfs-spi
[32] 'dependencies.dependency.version' is missing for
jboss.common:jboss-common-client
[33] 'dependencies.dependency.version' is missing for
jboss.aop:jboss-aop-jdk50
[34] 'dependencies.dependency.version' is missing for
org.jboss.deployers:jboss-deployers-core-spi
[35] 'dependencies.dependency.version' is missing for
org.jboss.deployers:jboss-deployers-client
[36] 'dependencies.dependency.version' is missing for
org.jboss.deployers:jboss-deployers-structure-spi
[37] 'dependencies.dependency.version' is missing for
org.jboss:jboss-reflect
[38] 'dependencies.dependency.version' is missing for
sun-jaxws:streambuffer
[39] 'dependencies.dependency.version' is missing for
wutka-dtdparser:dtdparser
[40] 'dependencies.dependency.version' is missing for
org.jboss:jboss-integration
[41] 'dependencies.dependency.version' is missing for
jboss.aop:jboss-standalone-aspect-library-jdk50
[42] 'dependencies.dependency.version' is missing for jacorb:idl_g
[43] 'dependencies.dependency.version' is missing for
sun-jaxws:jaxws-tools
[44] 'dependencies.dependency.version' is missing for
sun-fi:FastInfosetUtilities
[45] 'dependencies.dependency.version' is missing for
jboss.jbossws:jboss-jaxws-ext
[46] 'dependencies.dependency.version' is missing for
jboss.jms-integration-tests:integration-mdb20-durable
[47] 'dependencies.dependency.version' is missing for
jboss.jbossws:jbossws-client
[48] 'dependencies.dependency.version' is missing for
jboss.jbossws:jbossws-core
[49] 'dependencies.dependency.version' is missing for
apache-myfaces:myfaces-impl
[50] 'dependencies.dependency.version' is missing for
sun-jaxws:jsr173_api [51] 'dependencies.dependency.version' is
missing for sun-javamail:mail
[52] 'dependencies.dependency.version' is missing for
org.jboss.man:jboss-managed
[53] 'dependencies.dependency.version' is missing for
sun-jaxb:jaxb-xjc
[54] 'dependencies.dependency.version' is missing for
jboss.jms-integration-tests:jms-integration-tests
[55] 'dependencies.dependency.version' is missing for
jboss.jbossws-common:jbossws-common
[56] 'dependencies.dependency.version' is missing for
jboss.remoting:jboss-remoting
[57] 'dependencies.dependency.version' is missing for
sun-fi:FastInfoset
[58] 'dependencies.dependency.version' is missing for
jboss.messaging:jboss-messaging-client
[59] 'dependencies.dependency.version' is missing for jboss.web:el-api
[60] 'dependencies.dependency.version' is missing for
sun-jaxb:jaxb-impl
[61] 'dependencies.dependency.version' is missing for xdoclet:xjavadoc
[62] 'dependencies.dependency.version' is missing for
sun-jaxws:jsr250-api
Reason: Failed to validate POM for project
org.jboss.jbossas:jboss-as-thirdparty at
/home/svn/JBossHead/jboss-head/thirdparty/pom.xml
[INFO]
------------------------------------------------------------------------[INFO]
Trace
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
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
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:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
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
at
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:998)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:801)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:479)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:553)
at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
... 11 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Mar 27 12:10:44 PDT 2008
[INFO] Final Memory: 3M/59M
[INFO]
------------------------------------------------------------------------
[starksm@succubus thirdparty]$
Paul Gier wrote:
> 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?
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development