Maven 3 (M3) Needs parent.relativePath, Dead Repo, querydsl-docs Version

Bug #705038 reported by rrmckinley on 2011-01-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Undecided
Unassigned

Bug Description

It is no longer enough in Maven 3 (M3) to run mvn from the querydsl-root directory and have it assume it to be the parent when building the child projects. The child projects need to have a path back to the parent.

http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Example_2

http://maven.40175.n5.nabble.com/mvn-3-parent-relativePath-problem-but-no-relativePath-element-td3278463.html#a3278513

There is a dead repo in querydsl-jpa pom.xml. This is because the Eclipse mirror forwarding serves up a random mirror each time it is clicked. Eclipse wants the forwarder used directly in the pom.xml. If you would like to have a fixed mirror instead of the forwarder in the patch, please consider the well established http://mirrors.ibiblio.org/pub/mirrors/eclipse/rt/eclipselink/maven.repo (I hunted through the forwarded mirrors until I found a popular one).

http://wiki.eclipse.org/EclipseLink/Maven#Sample_pom.xml_entries

Finally, does the querydsl-docs version need to be updated as shown in my patch?

Thanks!

rrmckinley (rrmckinley) wrote :

Thanks for the patch. The docs version is sometimes out of sync, because I batch update the versions with our Maven Version plugin for the modules of querydsl-root. querydsl-docs is not a module under root.

Fixed in SVN trunk.

Changed in querydsl:
status: New → Fix Committed

Released in 2.1.0-beta2

Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments