Felix Coutinho created JBASMP-66:
------------------------------------
Summary: Could not execute goal add-resource / wildfly-maven-plugin
Key: JBASMP-66
URL:
https://issues.jboss.org/browse/JBASMP-66
Project: JBoss AS Maven Plugins
Issue Type: Bug
Components: deploy, wildfly
Affects Versions: 7.5.Final
Environment: Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T14:37:52-03:00)
Maven home: /home/felix/Downloads/apache-maven-3.2.1
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: pt_BR, platform encoding: UTF-8
OS name: "linux", version: "3.8.0-35-generic", arch:
"amd64", family: "unix"
Reporter: Felix Coutinho
Assignee: James Perkins
Priority: Blocker
My pom:
http://pastebin.com/BJ9zcXrg
felix@felix-DQ77PRO:~/workspaces/java/workspaceGastos/yyy-project$ mvn clean install -X
The debug output:
http://pastebin.com/cM8LbR62
The problem is here:
[ERROR] Failed to execute goal
org.wildfly.plugins:wildfly-maven-plugin:1.0.1.Final:add-resource (add-datasource) on
project logr: Could not execute goal add-resource. Reason: null: IllegalArgumentException
-> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.wildfly.plugins:wildfly-maven-plugin:1.0.1.Final:add-resource (add-datasource) on
project logr: Could not execute goal add-resource. Reason: null
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Could not execute goal
add-resource. Reason: null
at
org.wildfly.plugin.deployment.resource.AddResourceMojo.execute(AddResourceMojo.java:118)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.asList(ModelValue.java:132)
at org.jboss.dmr.ModelNode.asList(ModelNode.java:1302)
at
org.wildfly.plugin.deployment.resource.AddResourceMojo.resourceExists(AddResourceMojo.java:258)
at
org.wildfly.plugin.deployment.resource.AddResourceMojo.addCompositeResource(AddResourceMojo.java:180)
at
org.wildfly.plugin.deployment.resource.AddResourceMojo.processResources(AddResourceMojo.java:148)
at
org.wildfly.plugin.deployment.resource.AddResourceMojo.execute(AddResourceMojo.java:112)
... 21 more
Same problem:
http://stackoverflow.com/questions/22533311/wildfly-maven-plugin-not-depl...
Other:
http://stackoverflow.com/questions/21020926/add-an-xa-datasource-fails-wi...
--
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