Monday, March 4, 2013

Jboss AS 7 & Maven 3



  1. How to deploy the .war , .ear or .jar to the jboss AS7 while you package your project in eclipse 

  • In the eclipse Juno add the following parameter in the configuration option. Parameter Name  jboss-as.home and Value [Your jboss AS7 home path]
  • Add the following plug-in to the .pom file
  • Option 1
     
      
        org.jboss.as.plugins
        jboss-as-maven-plugin
        7.3.Final
        
         
          package
          
           deploy
          
         
        
       
    
  • Option 2
       
        org.jboss.as.plugins
        jboss-as-maven-plugin
        7.3.Final
       
      
In the clipse goals add the following 
jboss-as:deploy


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.