Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-686

'Unable to find project model' when artifactId contains property placeholders e.g. ${project.parent.artifactId}

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.0
    • None
    • browser
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              greyfairer Geert Pante
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: