Lenny Primak created MNG-7837: --------------------------------- Summary: Maven blows up on nested <project> pom attributes Key: MNG-7837 URL: https://issues.apache.org/jira/browse/MNG-7837 Project: Maven Issue Type: Bug Components: Bootstrap & Build Affects Versions: 4.0.0-alpha-7 Reporter: Lenny Primak
* This started happening in 4.0.0-alpha-7 {{When pom contains nested <project>, maven refuses to build:}} {code:java} % mvn clean [INFO] Scanning for projects... [ERROR] Some problems were encountered while processing the POMs [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project (/Users/lprimak/Documents/dev/flowlogix/pom.xml) has 1 error [ERROR] Unrecognised tag: 'project' (position: START_TAG @1:205) @ line 1, column 205 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the '-e' switch [ERROR] Re-run Maven using the '-X' switch to enable verbose output [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: {code} Example: {code:java} ... <plugin> <groupId>org.commonjava.maven.plugins</groupId> <artifactId>directory-maven-plugin</artifactId> <version>1.0</version> <executions> <execution> <id>directories</id> <goals> <goal>directory-of</goal> </goals> <phase>validate</phase> <configuration> <property>flowlogix.basedir</property> <project> <groupId>com.flowlogix</groupId> <artifactId>flowlogix</artifactId> </project> </configuration> </execution> </executions> </plugin> ... {code} Reproducer: [https://github.com/flowlogix/flowlogix] Thank you! -- This message was sent by Atlassian Jira (v8.20.10#820010)