[jboss-jira] [JBoss JIRA] (JBASMP-45) mvn jboss-as:deploy-artifact fails
James Perkins (JIRA)
jira-events at lists.jboss.org
Fri May 24 13:33:06 EDT 2013
[ https://issues.jboss.org/browse/JBASMP-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776939#comment-12776939 ]
James Perkins commented on JBASMP-45:
-------------------------------------
Not as far as I know. You would have to put the configuration in the main plugin configuration.
{code:xml}
<plugin>
<groupId>org.jboss.as.plugins</groupId>
<artifactId>jboss-as-maven-plugin</artifactId>
<version>7.4.Final</version>
<configuration>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<name>postgresql-9.2-1002-jdbc4.jar</name>
</configuration>
</plugin>
{code}
> mvn jboss-as:deploy-artifact fails
> ----------------------------------
>
> Key: JBASMP-45
> URL: https://issues.jboss.org/browse/JBASMP-45
> Project: JBoss AS Maven Plugins
> Issue Type: Feature Request
> Components: deploy
> Affects Versions: 7.4.Final
> Reporter: Adrián Boimvaser
> Assignee: James Perkins
>
> 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:
> {code: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>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list