Commit Graph
63 Commits
Author SHA1 Message Date
snicoll 428d590c78 MPWAR-61: Introduced war.target.filename dependency's property to customize the bundle filename. Note that this property should be used wit the war.target.path property
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@534142 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 16:09:07 +00:00
snicoll 28538aaa4b MPWAR-65: Added maven.war.expansion.excludes property to exclude files during a property expansion copy (Fixes corruption of binary files). Applied property expansion to web.xml handling for consistency. Introduced the maven.war.src.filtering property to control whether filtering is enabled or not when copying webapp resources.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@534128 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 15:44:49 +00:00
ltheussl 71590d91c0 Update license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@533617 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 07:41:05 +00:00
ltheussl f7d086b5bd PR: MPWAR-36
Only create tld and lib folders if corresponding dependencies are present.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@432339 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 19:00:49 +00:00
ltheussl 703e8b6c34 PR: MPWAR-45
Submitted by: Kim Dykeman
war:inplace should check for maven.war.src.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@432323 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 18:29:42 +00:00
ltheussl 8d660a2ace PR: MPWAR-62
Submitted by: Nicolas de Loof
Thanks to: Shinobu Kawai
Another patch that fixes missing resources.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@432314 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 18:15:49 +00:00
ltheussl 81a7880132 PR: MPWAR-62
Java sources are not compiled when used with maven-test-plugin-1.8 and maven.test.skip=true.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@425183 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 20:55:21 +00:00
snicoll 467fa6f39a MPWAR-58: Manifest file is now generated properly.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@412482 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 18:33:44 +00:00
snicoll 88c1fc983e MPWAR-47: Specification and Implementation attributes of the manifest are now defined as main attributes.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@412476 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 18:22:28 +00:00
snicoll 8bc43107a1 MPWAR-43: Aded the ability to customize the Class-Path entry of the manifest.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@412464 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 17:32:40 +00:00
snicoll 7943b8addb MPWAR-49: Added property maven.war.resources.overwrite to control is resources overwrites the ones in the generated webapp directory.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@412460 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 17:27:26 +00:00
ltheussl 337e3857b1 PR: MPWAR-37
Submitted by: Troy Poppe
Reviewed by: Stephane Nicoll
Added ability to expand properties when copying war resources.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@398659 13f79535-47bb-0310-9956-ffa450edef68
2006-05-01 18:08:53 +00:00
snicoll b2b8b70307 MPWAR-46: Now filtering when copying resources
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@396307 13f79535-47bb-0310-9956-ffa450edef68
2006-04-23 19:19:58 +00:00
snicoll 33951d7bd9 MPWAR-52: Added property maven.war.webxml.overwrite to control if the source web.xml overwrite the one in the generated webapp directory.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@396304 13f79535-47bb-0310-9956-ffa450edef68
2006-04-23 19:13:13 +00:00
snicoll e5033fc41b MPWAR-32: Fixed inclusion of LICENSE file in war
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@394695 13f79535-47bb-0310-9956-ffa450edef68
2006-04-17 15:22:05 +00:00
brett 3d30fc319d suppress warning about caller plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@291034 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 23:19:32 +00:00
aheritier 9006fe7219 MPWAR-50 : Add support for EJB client code.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@290468 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 15:16:59 +00:00
felipeal 93e6ceaeb1 MPWAR-33: Removed attribute update=true from <ant:jar> call, so now a fresh WAR is created on each run.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116140 13f79535-47bb-0310-9956-ffa450edef68
2004-10-15 11:05:20 +00:00
vmassol f60288f1f3 Made the <code>maven.war.final.name</code> property public as it is required by several other plugins and before this change the only way is for these plugins was to call the non-public <code>war:init</code> goal.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115826 13f79535-47bb-0310-9956-ffa450edef68
2004-07-15 09:28:56 +00:00
carlos 9547a8bf51 Splitted war:webapp in war:war-resources and war:webapp
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115811 13f79535-47bb-0310-9956-ffa450edef68
2004-07-14 08:52:20 +00:00
brett b5f0b13758 update a bunch of plugin dependency usages
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115672 13f79535-47bb-0310-9956-ffa450edef68
2004-07-06 12:37:18 +00:00
michal 59cd4d8c65 war:clean was depeneding on war:init which was changed and call to test:test goal was added there. This removes this problem. Change was dissussed @mailing list. I will duble check all my applications and usecases but i think it's OK like this.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115086 13f79535-47bb-0310-9956-ffa450edef68
2004-04-29 17:05:41 +00:00
brett 271947f8a3 PR: MPWAR-25
preserve last modified for source when copied to target directory


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115044 13f79535-47bb-0310-9956-ffa450edef68
2004-04-25 02:28:49 +00:00
brett 0c6166e9f3 PR: MPWAR-1
copy resources even if no sources present by running test:test


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115011 13f79535-47bb-0310-9956-ffa450edef68
2004-04-14 00:57:17 +00:00
dion eedbc141b9 Fix MPWAR-24: Remove extra call to java:compile.
I verified this removal with Vincent M.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114981 13f79535-47bb-0310-9956-ffa450edef68
2004-04-07 06:07:45 +00:00
dion cd21b97aca Fix for MPWAR-21; Allow generation of the Class-Path manifest entry from dependencies like
the ejb and jar plugins.
Add test for new feature


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114961 13f79535-47bb-0310-9956-ffa450edef68
2004-03-31 06:35:23 +00:00
dion c9f3ef25d4 Allow customizing of MANIFEST.MF.
Add test cases for the customization


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114957 13f79535-47bb-0310-9956-ffa450edef68
2004-03-31 04:35:30 +00:00
evenisse 85df922d35 Update to ASL v.2
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114795 13f79535-47bb-0310-9956-ffa450edef68
2004-03-04 18:40:25 +00:00
brett 2e65a4a7b9 add description of changes, add guard against cleaning source files
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114734 13f79535-47bb-0310-9956-ffa450edef68
2004-02-23 22:20:27 +00:00
brett 1bfc57a339 add version info to latest as well
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114732 13f79535-47bb-0310-9956-ffa450edef68
2004-02-23 00:45:52 +00:00
dion 71844f7100 make war:clean depend on war:init
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114642 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 03:27:33 +00:00
dion 6df1899ae5 Fix for MAVEN-986
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114286 13f79535-47bb-0310-9956-ffa450edef68
2003-11-09 23:24:34 +00:00
vmassol 851dfdd9c9 Use the new caller plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114122 13f79535-47bb-0310-9956-ffa450edef68
2003-09-29 15:14:19 +00:00
dion 9ed709c811 Only copy web.xml if it exists
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114091 13f79535-47bb-0310-9956-ffa450edef68
2003-09-24 05:34:50 +00:00
dion fd8e729962 Apply MAVEN-831
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114088 13f79535-47bb-0310-9956-ffa450edef68
2003-09-24 05:21:45 +00:00
evenisse 254cb9055e Added maven.war.index property.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113945 13f79535-47bb-0310-9956-ffa450edef68
2003-09-03 09:23:55 +00:00
evenisse 6f647f8831 MAVEN-764. Accept includes/excludes patterns over maven.war.src.
Thanks to Rafal Krzewski.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113940 13f79535-47bb-0310-9956-ffa450edef68
2003-09-02 13:37:03 +00:00
dion b623fe0dda Switch stable branch back to HEAD
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113855 13f79535-47bb-0310-9956-ffa450edef68
2003-08-19 04:45:08 +00:00
evenisse 7c52f2c6d5 Test if sources is present before copy classes in webapp.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113792 13f79535-47bb-0310-9956-ffa450edef68
2003-08-05 09:14:26 +00:00
michal 1110194bd6 war:clean goal was added
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113604 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 17:10:45 +00:00
michal 05be2a1f64 Destination directory for tlds files were created inside src area.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113574 13f79535-47bb-0310-9956-ffa450edef68
2003-07-02 12:21:00 +00:00
michal 508910ff0e war:war goal is simply packaging (using ant jar task) the directory created by war:webapp goal.
This change simplifies the customization of processing and removes code duplication.

Fix for Maven-481 - tlds deps can be bundled in wars


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113573 13f79535-47bb-0310-9956-ffa450edef68
2003-07-02 10:34:48 +00:00
michal b8ccb7170d Fixes for MAVEN-518.
Artifact processing in the plugin was slightly changed and now it supports jar overriding mechanism


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113565 13f79535-47bb-0310-9956-ffa450edef68
2003-07-01 14:58:52 +00:00
michal 6aa6f0da0d Iterating over artifacts not deps
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113556 13f79535-47bb-0310-9956-ffa450edef68
2003-07-01 08:43:51 +00:00
vmassol 9f51cc2e43 fix comment
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113521 13f79535-47bb-0310-9956-ffa450edef68
2003-06-19 14:01:51 +00:00
michal ca98f36ee9 war archive creted in target directory is unversioned
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113504 13f79535-47bb-0310-9956-ffa450edef68
2003-06-17 17:50:16 +00:00
michal 6e4245a3a1 Added deploy, install goals
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113497 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 14:40:25 +00:00
vmassol a7cf44dcd7 Fixed includes and excludes for classes files so that a comma-separated list works. Thanks to Konstantin Priblouda.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113495 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 10:06:47 +00:00
vmassol 39d24d840d Applied James CE Johnson's patch so that other plugins can get the "maven.war.final.name" property without having to execute the war:war goal...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113336 13f79535-47bb-0310-9956-ffa450edef68
2003-04-13 10:17:18 +00:00
dion f290e9b743 Allow the war to be updated. THanks to "Ben Hogan" for reporting it
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113331 13f79535-47bb-0310-9956-ffa450edef68
2003-04-13 02:30:10 +00:00