'Unable to find project model' when artifactId contains property placeholders
e.g. ${project.parent.artifactId}
---------------------------------------------------------------------------------------------------------------
Key: MRM-686
URL: http://jira.codehaus.org/browse/MRM-686
Project: Archiva
Issue Type: Bug
Components: browser
Affects Versions: 1.0
Reporter: Geert Pante
We frequently use property placeholders in our poms to have generic POM
templates,
e.g.
<project>
<parent>
<groupId>be.javaserver.tst</groupId>
<artifactId>eCommonOrderHandling</artifactId>
<version>2.8-SNAPSHOT</version>
</parent>
<artifactId>${project.parent.artifactId}-module-sTst8128</artifactId>
</project>
283836 [SocketListener0-0] WARN
org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:update-db-project
- File eCommonOrderHandling-module-sTst8128-1.5-20080131.102935-1.pom has an
invalid project model
[groupId:be.javaserver.tst|artifactId:${project.parent.artifactId}-module-sTst8128|version:1.5
-20080131.102935-1|packaging:jar]: The model artifactId
[${project.parent.artifactId}-module-sTst8128] does not match the artifactId
portion of the filename:
eCommonOrderHandling-module-sTst8128
284107 [SocketListener0-0] WARN
org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:update-db-project
- Invalid or corrupt pom.
Project model not added to database -
be.javaserver.tst:${project.parent.artifactId}-module-sTst8128:1.5-20080131.102935-1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira