[
https://jira.codehaus.org/browse/MAPPASM-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296437#comment-296437
]
Karl Heinz Marbaise edited comment on MAPPASM-158 at 4/13/12 12:23 PM:
-----------------------------------------------------------------------
So after analyzing your problem i can see that in my example i have made all
dependencies incl. a war dependency will be taken. I have to admit that i use a
parameter
[useAllDependencies|http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/assemble-mojo.html#useAllDependencies]
which has been introduced into appassembler plugin release 1.2.1. If you want
to see a working example take a look on the [github
example|https://github.com/khmarbaise/javaee] which i have enhanced. If you
have further suggestions for enhancements or if this does not work as you like
just give me more details about it. It would also be nice to give a feedback if
it had worked.
was (Author: khmarbaise):
So after analyzing your problem i can see that in my example i have made
all dependencies incl. a war dependency will be taken. I have to admit that i
use a parameter
[useAllDependencies|http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/assemble-mojo.html#useAllDependencies]
which has been introduced into appassembler plugin release 1.2.1. If you want
to see a working example take a look on the [github
example|https://github.com/khmarbaise/javaee] which have enhanced. If you have
further suggestions for enhancements or if this does not work as you like just
give me more details about it. It would also be nice to give a feedback if it
had worked.
> war file dependencies not included since version 1.0-alpha-2
> ------------------------------------------------------------
>
> Key: MAPPASM-158
> URL: https://jira.codehaus.org/browse/MAPPASM-158
> Project: Mojo AppAssembler Plugin
> Issue Type: Bug
> Affects Versions: 1.2.1
> Environment: linux and windows, jdks 6 and 7. maven 3.
> Reporter: Eirik Maus
>
> Tried to update maven and plugins on and old project that uses appassembler
> and assembly-plugin to create a bundle containing jetty.jar some other stuff
> and a war-file with the web-app I want to run through jetty. I cannot make
> any other version of appassembler than 1.0-alpha-2 include the war file in
> the assembly, even if it is declared with scope 'runtime'.
> It seems like after 1.0-alpha-2, only jar files are included. If this is a
> deliberate feature, I want a switch to allow the inclusion of the war file
> again.
> In order to reproduce:
> # create a multi-module maven project.
> # create a war module inside that project.
> # create a "normal" module inside that project that uses appassembler and has
> dependency to the war module with dependency type:'war' and scope:'runtime'
> (and also some other jar dependencies).
> # run 'mvn clean install' on the whole thing and note that the war file is
> not present under the target/appassembler directory unless the appassembler
> version is set to 1.0-alpha-2.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email