You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/12/18 17:21:54 UTC

[jira] Commented: (MPJBOSS-7) jboss:deploy-exploded-warfile no worky

The following comment has been added to this issue:

     Author: Jim Crossley
    Created: Thu, 18 Dec 2003 10:21 AM
       Body:
After looking at this a bit more closely, I now realize it's not a jboss plugin issue but a war plugin issue.  I *think* it's just a matter of making this the default setting in the war plugin:

maven.war.webapp.dir = ${maven.build.dir}/exploded/${pom.artifactId}.war/

I don't believe it breaks any existing functionality and it makes all the JBoss goals work out of the box.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJBOSS-7


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJBOSS-7
    Summary: jboss:deploy-exploded-warfile no worky
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: 1 day
 Time Spent: Unknown
  Remaining: 1 day

    Project: maven-jboss-plugin

   Assignee: 
   Reporter: Jim Crossley

    Created: Thu, 11 Dec 2003 7:50 AM
    Updated: Thu, 18 Dec 2003 10:21 AM
Environment: Any

Description:
It is often convenient to deploy an exploded warfile to jboss so that jsp changes don't require a redeploy.

JBoss requires that the exploded directory name have a J2EE suffix, e.g. .war, .ear, etc.  Because the exploded directory and the war file are both created in the target directory, they cannot have the same name.

I propose that the exploded warfile go in target/exploded/${id}.war/ so that both it and target/${id}.war (the actual war) can peacefully coexist.  That way, both jboss:deploy-warfile and jboss:deploy-exploded-warfile will work correctly out of the box.

I'll try to submit a patch soon (s/b trivial).


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org