-
1. Re: jboss-as-maven-plugin issue to skip deploy-artifact goal
xavier.courangon Sep 21, 2012 11:00 AM (in response to xavier.courangon)1 of 1 people found this helpfulFinally, I patch the plugin on version 7.1.1.Final:
File jboss-as-maven-plugin/src/main/java/org/jboss/as/plugin/deployment/AbstractDeployment.java :
public final void execute() throws MojoExecutionException, MojoFailureException {
if (skip) {
// getLog().debug(String.format("Skipping deployment of %s:%s", project.getGroupId(), project.getArtifactId()));
return;
}
try {
...
The issue is that the project variable is null.
I mourn the debug log...
I don't know how to communicate this issue to the community. Could you help me ?
-
2. Re: jboss-as-maven-plugin issue to skip deploy-artifact goal
jaikiran Sep 27, 2012 4:39 AM (in response to xavier.courangon)I've moved this to AS7 forum. Someone there might be able to help.
-
3. Re: jboss-as-maven-plugin issue to skip deploy-artifact goal
jamezp Sep 27, 2012 12:59 PM (in response to xavier.courangon)We're in the process of updating the https://issues.jboss.org/browse/JBASMP to be used for the current maven plugin. Feel free to file a bug there.
It does seem odd to me that the project would be null in that phase. I'm not sure why it would be null, but I'll investigate that. Either way it should be a fairly simple fix.
--
James R. Perkins
-
4. Re: jboss-as-maven-plugin issue to skip deploy-artifact goal
bvgjboss Jul 18, 2013 8:28 AM (in response to jamezp)Good afternoon James,
I am hoping to confirm the status of the issue has raised by Xavier.
I am using the jboss-as-plugin:7.1.1.Final with JBoss AS 7.1.1. Final.
I have recently encountered the isue Xavier reported and I have tried to check if the issue is fixed, and which release the fix is in.
I have reviewed the following:
JBASMP-28
JBASMP-45
But they do not *appear* to cover the issue has raised by Xavier.
I also searched the AS7 Forum (as mentioned by jaikiran) but I did not get any hits on the title of the issue.
I also performed a search across the issues but got no hits.
Many thanks in advance,
Byran Galvin
Edinburgh
-
5. Re: jboss-as-maven-plugin issue to skip deploy-artifact goal
jamezp Jul 18, 2013 1:05 PM (in response to bvgjboss)Have you tried using a newer version of the plugin? The current version is 7.4.Final which is should work fine on JBoss AS 7.1.1.Final.
As far as JBASMP-45 check the comments about the executions.
--
James R. Perkins
-
6. Re: jboss-as-maven-plugin issue to skip deploy-artifact goal
bvgjboss Jul 18, 2013 1:12 PM (in response to jamezp)Hi James,
Thanks for the suggestion.
I was unsure how the jboss-as-plugin versions married up to JBoss AS Versions.
Bryan