I wonder, if you get a chance, maybe you'd like to give a shot at writing a forge plugin to integrate this! It's pretty simple to add plugins now using the maven API, just look at what the Arquillian Plugin has done! I think it would be awesome and huge for AS7 if we could get this working.
PS. Is there a way to "embed" AS7, so that it will be downloaded as part of the build step? That would be ideal!
https://github.com/forge/plugin-arquillian
~Lincoln
Hey Lincoln,I'm really excited to be "one of you" :-)The current plugin is fairly simplistic. It doesn't do much other deploy, redeploy and undeploy. I'm hoping to add some more functionality soon.For a basic deploy all you need to add is the following. Just change to the goal to undeploy or redeploy to execute those tasks.<plugins><plugin><groupId>org.jboss.as.plugins</groupId><artifactId>jboss-as-deploy-plugin</artifactId><version>1.0.0-SNAPSHOT</version><executions><execution><phase>package</phase><goals><goal>deploy</goal></goals></execution></executions></plugin></plugins>There are some configuration options, but not many yet. The name configuration tag doesn't always seem to undeploy properly.You'll also want to grab the version I just pushed. There was a hang on the deploy goal.Let me know if you need/want any more details.
--
James R. Perkins
On Sat, Apr 16, 2011 at 07:20, Lincoln Baxter, III <lincolnbaxter@gmail.com> wrote:Hey James,
Since you're *one of us* now, could you give me a quick tutorial on how to use your plugin for AS7? ;)
Best case scenario, I want to be able to deploy an exploded maven project directly from the project folder. Next best case, I need to be able to deploy maven WAR artifact (output of mvn package)
Thanks!
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"