[jboss-dev-forums] [Design of JBoss Build System] - maven-metadata.xml and 'mvn release:perform'

dimitris@jboss.org do-not-reply at jboss.com
Mon Mar 31 08:40:07 EDT 2008


While doing a jboss-common-core release, the following maven-metadata.xml was updated:https://svn.jboss.org/repos/repository.jboss.org/maven2/org/jboss/jboss-common-core/maven-metadata.xml

a) I can see version 2.2.3.GA missing. Given this one was used by other components, I conclude the maven-metadata.xml is not always necessary?
b) Anyone knows if ordering is important?
c) What's the meaning of v2.0.5.GA as it is recorded below?

After a quick search, I didn't much about the maven-metadata schema.


  | <?xml version="1.0" encoding="UTF-8" ?> 
  | <metadata>
  |   <groupId>org.jboss</groupId> 
  |   <artifactId>jboss-common-core</artifactId> 
  |   <version>2.0.5.GA</version> 
  |   <versioning>
  |     <release>2.2.4.GA</release> 
  |     <versions>
  |       <version>2.0.5.GA</version> 
  |       <version>2.2.2.GA</version> 
  |       <version>2.2.1.GA</version> 
  |       <version>2.2.4.GA</version> 
  |     </versions>
  |     <lastUpdated>20080328111223</lastUpdated> 
  |     </versioning>
  | </metadata>
  | 

Another problem I noticed is the moment you are doing the 'mvn release:perform' you need to have checked all the versions of a component, in-order to get access to the maven-metadata.xml, so the new version is correctly added. That means a lot of garbage in your local filesystem, just to do a simple release.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140104#4140104

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140104



More information about the jboss-dev-forums mailing list