XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.8
    • None
    • None
    • None
    • ant tasks 2.0.8, ant 1.7.0, Sun Java 5

    Description

      When attempting to install/deploy with a pom, if the pom contains a classifier, it doesn't work.

      Example pom:

      <?xml version='1.0' encoding='UTF-8'?>
      <project>
      <modelVersion>4.0.0</modelVersion>
      <groupId>wow</groupId>
      <name>wow</name>
      <artifactId>wow</artifactId>
      <packaging>tar</packaging>
      <classifier>wowser</classifier> <!-- THIS LINE -->
      </project>

      Example build.xml:

      <project default='push' xmlns:artifact='antlib:org.apache.maven.artifact.ant'>
      <target name='push'>
      <artifact:install file='wow.tar'>
      <pom file='pom.xml'/>
      </artifact:install>
      </target>
      </project>

      Error is:

      Error parsing pom: Unrecognised tag: 'classifier' (position: START_+TAG seen ... </packaging>\n <classifier>... @9:17)

      Attachments

        Issue Links

          Activity

            People

              pgier Paul Gier
              tomohawk t redeske
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: