archiva-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Jackson (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MRM-686) 'Unable to find project model' when artifactId contains property placeholders e.g. ${project.parent.artifactId}
Date Thu, 22 May 2008 14:51:25 GMT

    [ http://jira.codehaus.org/browse/MRM-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135718#action_135718
] 

Brian Jackson commented on MRM-686:
-----------------------------------

I'm using archiva-1.0.2 now and experiencing this error with my placeholder as the version
number.

> '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.x
>
>
> 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

        

Mime
View raw message