Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.9, 2.1.0
-
Fix Version/s: 2.2.1
-
Component/s: Artifacts and Repositories, General
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :4
Description
To reproduce this issue:
- Create a project (let's call this projectA) with a class named ClassA having a method named methodA(). Set the version as 1.0-SNAPSHOT and set uniqueVersion=true.
- Deploy this in a remote repository
- Create another project (let's call this projectB) which has a dependency on projectA. Set the dependency's version to the specific timestamped version when projectA was deployed in step 2. Create a class named ClassB and add a method which invokes ClassA's methodA().
- Add your remote repository either in the settings or in the pom.
- Build projectB. You will get a successful build.
- Now go back to projectA and remove methodA() from classA.
- Deploy projectA to the remote repository again.
- Update the dependency version of projectA in projectB's pom.xml. Set it to the latest timestamp version.
- Build projectB. Your build will fail because methodA() was removed.
- Revert the dependency version of projectA in projectB's pom.xml. Set it to the same value you've set in step 3.
- Build projectB. Your build will still fail even though you've set the correct version.
-
- MNG-4189.patch
- 11/Jun/09 7:08 AM
- 2 kB
- Benjamin Bentmann
-
Hide
- mng-4189.zip
- 08/Jun/09 5:57 AM
- 15 kB
- Maria Odea Ching
-
- mng-4189/.../MavenITmng4189UniqueVersionSnapshotTest.java 3 kB
- mng-4189/src/.../maven-metadata.xml.md5 0.0 kB
- mng-4189/.../dep-1.0-20090608.090416-1.jar.sha1 0.0 kB
- mng-4189/.../dep-1.0-20090608.090532-2.pom.sha1 0.0 kB
- mng-4189/.../dep-1.0-20090608.090532-2.jar.sha1 0.0 kB
- mng-4189/src/.../maven-metadata.xml.sha1 0.0 kB
- mng-4189/.../dep-1.0-20090608.090532-2.pom.md5 0.0 kB
- mng-4189/.../dep-1.0-20090608.090532-2.jar.md5 0.0 kB
- mng-4189/.../dep-1.0-20090608.090416-1.pom 0.4 kB
- mng-4189/.../dep-1.0-20090608.090416-1.jar 3 kB
- mng-4189/.../dep-1.0-20090608.090532-2.pom 0.4 kB
- mng-4189/.../dep-1.0-20090608.090416-1.pom.md5 0.0 kB
- mng-4189/src/.../maven-metadata.xml 0.4 kB
- mng-4189/.../dep-1.0-20090608.090416-1.jar.md5 0.0 kB
- mng-4189/.../dep-1.0-20090608.090532-2.jar 3 kB
- mng-4189/.../dep-1.0-20090608.090416-1.pom.sha1 0.0 kB
- mng-4189/src/.../dep/maven-metadata.xml.md5 0.0 kB
- mng-4189/src/.../dep/maven-metadata.xml.sha1 0.0 kB
- mng-4189/src/test/.../dep/maven-metadata.xml 0.3 kB
- mng-4189/src/test/.../its/mng4189/App.java 1 kB
- mng-4189/src/.../settings-template.xml 1 kB
- mng-4189/.../dependent-on-newer-timestamp-pom.xml 0.7 kB
- mng-4189/src/test/.../mng-4189/pom.xml 0.7 kB
- mng-4189/pom.xml 2 kB
-
- MNG-4189-core-integration-testing.patch
- 09/Jun/09 5:51 AM
- 21 kB
- Maria Odea Ching
-
- MNG-4189-maven-2.1.x.patch
- 09/Jun/09 5:56 AM
- 7 kB
- Maria Odea Ching