Duplicate repository ids in JPA archetypes' POMs
Lighthouse #38: http://liftweb.lighthouseapp.com/projects/26102/tickets/38-duplicate-repository-ids-in-jpa-archetypes-poms
The POMs generated by the JPA archetypes contain repository entries that have the same id value for both the snapshots repo and the releases repo. The result is that maven only uses the first one, which is snapshots, and any dependency in the releases repo is not found.
Steps to encounter the problem: 1) Remove your local maven repo
Generate a lift JPA 1.1-M1 project: :> mvn archetype:generate -DarchetypeRepository=http://scala-tools.org/repo-releases -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype-jpa-basic -DarchetypeVersion=1.1-M1 -DgroupId=com.test -DartifactId=test
Try to build the project and should get an error about unable to download lift-core 1.1-M1: :> cd test :> mvn clean install
Derek: Confirmed. We really should remove the repo info from the POM, since we're working on getting maven central sync up and running so that the scala-tools.org stuff is globally available.
Fixed in commit e29d25519bf8e4255fbf4d470ce517932817164c
Imported from GitHub: http://github.com/dpp/liftweb/issues/8/find
Imported from Assembla: http://www.assembla.com/spaces/liftweb/tickets/8