Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Maven Maven Jobss Plugin
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Deepak Kumar
Maven Jobss Plugin
1 Answer(s)      6 years and 11 months ago
Posted in : Maven


How to deploy your application using maven tool.... So, to make the things simple we used jboss-maven-plugin to deploy... org.codehaus.mojo jboss-maven-plugin


Advertisement
View Answers

February 25, 2008 at 8:30 PM


Hi,

I was working on a project where we were using maven 2 as build tool. Later on we decided to deploy our application on the Jboss 4 server.

So, to make the things simple we used jboss-maven-plugin to deploy the application on Jboss server.

Steps to deploy your application on Jboss using maven 2:

Step 1:

Add the following code into pom.xml file

<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId>
<configuration>
<jbossHome>/Library/JBoss/4.0.2</jbossHome>
<port>9090</port>
</configuration>
</plugin>

Step 2:

Modify the Jboss home settings:
<jbossHome>/Library/JBoss/4.0.2</jbossHome>

Step 3:

To deploy the application run the following command:
maven jboss:deploy

About harddeploy feature of Maven 2:
In case you want to just copy the war file into jboss deploy directory then you can use the following command:

>mvn jboss:harddeploy

And maven will copy the war file into deploy directory of Jboss application server.

Good Luck!


Related Tutorials/Questions & Answers:
Maven Jobss Plugin - Maven
Maven Jobss Plugin  How to deploy your application using maven tool.... So, to make the things simple we used jboss-maven-plugin to deploy... jboss-maven-plugin /Library
Best Eclipse plugin for Maven 3
Best Eclipse plugin for Maven 3  Hi, I am trying to use the Eclipse... want to use the Maven 3 in the Eclipse. Can anyone tell me the best Eclipse plugin for Maven 3? Thanks   Hi, The best plugin is Maven Integration (m2e
Advertisements
maven fortify plugin
maven fortify plugin  hi, I am trying to generate a fortify report using maven. I have downloaded plug-ins fortify-plugin-1.0... a fortify report of a java source code using maven tool? Regards, Swagatika
Maven Compiler Plugin
In this section, you will learn about maven compiler plugin and how it can be configure in maven
Adding maven plugin to Eclipse ide
Adding maven plugin to Eclipse ide  Hi, I want to add the maven plugin to Eclipse ide. But it asking logging credential. May i know which logging... to add maven plugin to eclipse ide. In Eclipse ide: Help->Install new
maven jetty plugin
In this section, you will learn about implementing jetty plugin of maven inside web applications
Download Eclipse with Maven Plugin support
Video tutorial of Downloading the Eclipse IDE having Maven Plugin support and creating web application Maven is the de facto standard for the complete... IDE comes with the support of Maven Integration Plugin which simplifies
Please help me about maven2 plugin - Maven
Please help me about maven2 plugin  First, thanks you for your all tutorial. That are the best tutorial i've learned. Then, I want to ask you about maven plugin. When i go to help/software update/ find and install/ search
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2...:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: Execution default-cli of goal org.apache.maven.plugins:maven-archetype-plugin:2.2
Maven - Maven
Maven  I am new to maven tool.i don't know anything abt that? plesae explain me about maven   Hi mamatha, Maven is a high-level... software foundation group. Maven deals with application development lifecycle
Maven Exclusion - Maven
Maven Exclusion  While doing a project I was encountered a problem... jsf-api-1.2_06.jar jsf-impl-1.2_06.jar Here is the full code of maven-war plugin maven-war-plugin 2.0.2 **/jdbc.properties   Hello,My problem
Maven 2 Eclipse Plug-in
the Maven Plugin with your eclipse IDE. Why Maven with Eclipse Eclipse is an industry... from   http://www.eclipse.org/downloads/ 2. Get Maven-eclipse-plugin-plugin :   It is available at http://mevenide.codehaus.org/maven-eclipse-plugin
Maven 2 - Maven
Maven 2   Hi, I m new to Maven 2 and in process to implement Maven2. I have browse in the net and got my Maven 2 installed but now I m facing few concerns on creating a small project. Please help me in this regard Thanks
Maven 2.x Extension for Eclipse
to come This plugin is using the Maven Embedder component to launch Maven... Maven 2.x Extension for Eclipse Maven Integration for Eclipse provides tight integration for Maven into the IDE and providing the following
Apache Maven plugins
a specific task on demand. Maven provides a plugin execution framework and all... documentation etc. Clean Plugin is one of the simplest maven 2.0 plugins. When we run... A plugin for interacting with legacy Maven 1.x
Maven with eclipse
Maven with eclipse  Hai friends i m new to maven and quartz scheduler. I run the simple Helloworld quartz scheduler program as maven project in eclipse successfully. Now i want to cluster the same program in terracotta quartz
Maven Project Build fails - Maven
Maven Project Build fails  HI Team I need an urgent help and guide. I have installed maven on my system. I am running Windows xp. When i...] ------------------------------------------------------------------------ [INFO] snapshot org.codehaus.mojo:hibernate3-maven-plugin
Features of Maven 3
Project Dependencies and Plugin Dependencies in Maven 3, it is quite different from Maven 2 as project dependencies are retrieved from "repositories" and plugin dependencies are retrieved from "Plugin Repositories" in Maven 3. Moreover
maven subversion issue
org.apache.maven.plugins maven-release-plugin svn+ssh://file:///E:/my-app-reposs then when...maven subversion issue   m doing work on maven and subversion i have created a maven project now i want to point it to my repository(created by svn
java - Maven
java  Can u send the maven plug in and related jar files.. i have down loded the zip file,but i need plug in for this... Plse send.... regards raghavendra
maven subversion issue
org.apache.maven.plugins maven-release-plugin svn+ssh://file:///E:/my-app-reposs then when i m...maven subversion issue  m doing work on maven and subversion i have created a maven project now i want to point it to my repository(created by svn
org.springframework.stereotype maven
org.springframework.stereotype maven  In my maven application its not able to find the package org.springframework.stereotype. What should be the entry in the pom.xml file? Thanks   Hi, you should add the spring
org.springframework.web maven
org.springframework.web maven  Hi, In my maven web application the package org.springframework.web is not found. What code should i add to the pom.xml file? Thanks   Hi, You should add the spring-web in your pom.xml
Tiles Plugin
Tiles Plugin  I have used tiles plugin in my projects but now I am seeing that each definition is loaded twice tell me the reason of this.This making code written in tiles definition to execute two times and my project may has
Maven's order of inheritance
Maven's order of inheritance  hello, What is Maven's order of inheritance?   hii, 1.parent pom 2.project pom 3.settings 4.CLI parameters
Maven 2: Features
in maven through plugins and  every plugin works in isolation (ClassLoader). Plugings are downloaded from a plugin-repository on demand. Maven's Objectives... Maven 2: Features      
Maven Web Application: Creating web application in Maven 3
] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-archetype-plugin:2.0-alpha-3:generate (default...] [INFO] --- maven-archetype-plugin:2.0-alpha-3:generate (default-cli...] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources
Maven 3 Tutorial
Maven 3 Tutorial - Learn Maven 3 Project Management tool In this section we are giving tutorials on the Maven 3 project management tool. Maven is famous... of software project of any size. There are many new features introduced to the maven
maven mysql jdbc driver
maven mysql jdbc driver  How to add the maven mysql jdbc driver dependency in the pom.xml file of a maven based application?   Hi, Its... more tutorials of Maven 3. Thanks
Local Maven Depenency
Local Maven Depenency  Hi, What is local maven dependency? How to manage local maven dependency? Thanks   Hi, If some library is not available on the public maven repository you can add it to the local maven
Maven Hibernate Dependency
In this section, you will learn about maven hibernate dependency
Advertisements
 

 

 

DMCA.com