[jboss-user] deploying with jboss-as-maven-plugin

Surendran Duraisamy surendran.d at gmail.com
Thu Aug 29 08:47:06 EDT 2013


Hi,
I am writing pom.xml to deploy my .ear file to jboss eap 6.1. My pom.xml 
is as follows

<plugin>

<groupId>org.jboss.as.plugins</groupId>

        <artifactId>jboss-as-maven-plugin</artifactId>

        <version>7.2.Final</version>

        <executions>

<execution>

               <id>Dev_Deploy</id>

               <phase>install</phase>

               <goals>

                      <goal>deploy</goal>

</goals>

               </execution>

        </executions>

<configuration>

               <hostname>127.0.0.1</hostname>

               <port>9999</port>

               <name>admin</name>

               <password>admin at 123</password>

</configuration>

</plugin>



My file gets deployed into following path. After I restart jboss .ear 
file starts getting deployed (<deployment> is added to standalone.xml).

D:\jboss-eap-6.1\standalone\data\content\bd\fa12f117fe39423074fdaaab03ce878d4aefa0


I stuck in following points...

1. How do I deploy my .ear when the server is offline (by specifying the 
server path)
2. I want to start my .ear once it is copied to above location 
(hotdeployed).
3. Is it possible put my .ear to following location and start the server

     D:\jboss-eap-6.1\standalone\deployments

Thanks.




------ Original Message ------
From: "Surendran Duraisamy" <surendran.d at gmail.com>
To: jboss-user at lists.jboss.org
Sent: 8/29/2013 5:31:54 PM
Subject: deploying with jboss-as-maven-plugin
>Hi,
>I am writing pom.xml to deploy my .ear file to jboss eap 6.1. My 
>pom.xml is as follows
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130829/56627697/attachment-0001.html 


More information about the jboss-user mailing list