You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/02/15 08:39:30 UTC

[jira] Updated: (MRM-686) 'Unable to find project model' when artifactId contains property placeholders e.g. ${project.parent.artifactId}

     [ http://jira.codehaus.org/browse/MRM-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-686:
-----------------------------

    Fix Version/s: 1.1

> '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
>             Fix For: 1.1
>
>
> 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