[ https://issues.apache.org/jira/browse/XBEAN-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet closed XBEAN-110. --------------------------------- Resolution: Fixed I think these issues have been fixed in 3.4.x releases, as this property is not used anymore. So the easiest fix is to upgrade to the latest version. > Public Maven 3.3 xbean POM has version 3.3-SNAPSHOT : breaks dependant > projects > ------------------------------------------------------------------------------- > > Key: XBEAN-110 > URL: https://issues.apache.org/jira/browse/XBEAN-110 > Project: XBean > Issue Type: Bug > Affects Versions: 3.3 > Environment: Maven 2.0.8 > Reporter: Ramon Buckland > Priority: Blocker > Original Estimate: 0.33h > Remaining Estimate: 0.33h > > == Problem Brief: == > Release version org.apache.xbean:xbean:3.3 has property/version 3.3-SNAPSHOT > which breaks servicemix 3.2.2 builds > Inside the public > www.ibiblio.org/maven2/org/apache/xbean/xbean/3.3/xbean-3.3.pom > The <property><version> is set as 3.3-SNAPSHOT when it should be 3.3 > There is a large comment which says that this MUST not be a SNAPSHOT version. > The Diff of > http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/xbean/xbean/3.3/xbean-3.3.pom > is > ------------------------------------------------ > 61c61 > < <version>3.3-SNAPSHOT</version> > --- > > <version>3.3</version> > ------------------------------------------------ > The follow is the comment inside the POM which alludes to the known issue, > but it has obviously been missed. > ------------------------------------------------ > <properties> > <!-- > NOTE: Project version, to be used instead of ${pom.version} since that > value magically changes when using SNAPSHOT versions. > This value *must* be kept in sync with the value of the > <version> > element, and it will need to be changed manually before a > release, > as the maven-release-plugin will not update this value. > --> > <version>3.3</version> > ------------------------------------------------ > == How this was found. == > You can see how it breaks other projects by performing the following on an > clean empty repository. > Apache ServiceMix 3.2.2 depends on XBean 3.3 when starting out a simple > project. > ------------------------------------------------ > mvn archetype:create \ > -DarchetypeGroupId=org.apache.servicemix.tooling \ > -DarchetypeArtifactId=servicemix-service-engine \ > -DarchetypeVersion=3.2.2\ > -DgroupId=org.my.company \ > -DartifactId=my-binding-component > ------------------------------------------------ > This is tagged as a blocker as it breaks the build of new ServiceMix project > which actually causes much problems for newcomers (see some of the following > mailinglist entries). > http://markmail.org/search/?q=list%3Aservicemix-users+xbean+3.3-snapshot#query:list%3Aservicemix-users%20xbean%203.3-snapshot+page:1+mid:goxhbom5obr4gbf5+state:results > http://markmail.org/search/?q=list%3Aservicemix-users+xbean+3.3-snapshot#query:list%3Aservicemix-users%20xbean%203.3-snapshot+page:1+mid:tror6oulroxfdpa6+state:results > ==== Maven Error ==== > Path to dependency: > 1) org.my.company:my-binding-component:jbi-component:1.0-SNAPSHOT > 2) org.apache.servicemix:servicemix-core:jar:3.2.2 > 3) org.apache.xbean:xbean-server:jar:3.3 > 4) org.apache.xbean:xbean-classloader:jar:3.3-SNAPSHOT > 2) org.apache.xbean:xbean-kernel:jar:3.3-SNAPSHOT > Try downloading the file manually from the project website. > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.xbean > -DartifactId=xbean-kernel -Dversion=3.3-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.xbean > -DartifactId=xbean-kernel -Dversion=3.3-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > Path to dependency: > 1) org.my.company:my-binding-component:jbi-component:1.0-SNAPSHOT > 2) org.apache.servicemix:servicemix-core:jar:3.2.2 > 3) org.apache.xbean:xbean-server:jar:3.3 > 4) org.apache.xbean:xbean-kernel:jar:3.3-SNAPSHOT > Can this please be rectified. > Kind Regards > Ramon Buckland -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.