Yes, this works. You can create a POM like the one shown in Section 3.6.1 *and* install it into your repo. Then, you can declare a dependency on it like so:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>test.packaging</groupId> <artifactId>dependency-grouping-pom</artifactId> <packaging>jar</packaging> <version>1.0.0</version> <dependencies> <dependency> <groupId>org.sonatype.mavenbook</groupId> <artifactId>persistence-deps</artifactId> <version>1.0</version> <type>pom</type> </dependency> </dependencies> </project> -- Robert Patrick <robert.patr...@oracle.com> VP, Oracle Corporation 7460 Warren Pkwy, Ste. 300 Office: +1.972.963.2872 Frisco, TX 75034, USA Mobile: +1.469.556.9450 Professional Oracle WebLogic Server by Robert Patrick, Gregory Nyberg, and Philip Aston with Josh Bregman and Paul Done Book Home Page: http://www.wrox.com/ Kindle Version: http://www.amazon.com/ -----Original Message----- From: Alexander Kriegisch [mailto:alexan...@kriegisch.name] Sent: Thursday, April 09, 2015 9:20 AM To: Users List Maven; Developers List Maven Subject: Wrong info in "Maven: The Complete Reference", chapter 3.6.1 Hi users and devs. Am I too stupid to get it working or is the description in chapter 3.6.1, "Grouping Dependencies" (http://books.sonatype.com/mvnref-book/reference/pom-relationships-sect-pom-best-practice.html) actually wrong? What is described there does not work at all in Maven 3.x. Did it ever? Regards -- Alexander Kriegisch --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org