Uploaded image for project: 'JBoss AS Maven Plugins'
  1. JBoss AS Maven Plugins
  2. JBASMP-45

mvn jboss-as:deploy-artifact fails

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Feature Request
    • Status: Closed
    • Major
    • Resolution: Rejected
    • 7.4.Final
    • None
    • deploy
    • None

    Description

      I'm trying to use deploy-artifact to deploy the PostgreSQL JDBC driver.
      It works fine when it runs as part of the build lifecycle, but when I run 'mvn jboss-as:deploy-artifact' it fails with "Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:deploy-artifact (default-cli) on project quaker-service: deploy-artifact must specify the artifactId".

      Here is what I have in pom.xml:

      <execution>
          <id>deploy-driver</id>
          <phase>integration-test</phase>
          <goals>
              <goal>deploy-artifact</goal>
          </goals>
          <configuration>
              <groupId>org.postgresql</groupId>
              <artifactId>postgresql</artifactId>
      	<name>postgresql-9.2-1002-jdbc4.jar</name>
          </configuration>
      </execution>
      

      Attachments

        Activity

          People

            jperkins-rhn James Perkins
            adrianboimvaser_jira Adrián Boimvaser (Inactive)
            Archiver:
            samahaja@redhat.com Sagar Mahajan

            Dates

              Created:
              Updated:
              Resolved:
              Archived: