Looks like you're trying to both inherit the groupId from the parent, and simultaneously specify the parent using an inherited groupId!
In the child pom, use something like this:
4.0.0
org.felipe
tutorial_maven
1.0-SNAPSHOT
../pom.xml
tutorial_maven_jar
Using properties like
${project.groupId}
won't work there. If you specify the parent in this way, then you can inherit the groupId and version in the child pom. Hence, you only need to specify the artifactId in the child pom.
No comments:
Post a Comment