[ANN] Maven WAR Plugin 3.4.0 released

2023-06-15 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven WAR Plugin version 3.4.0. https://maven.apache.org/plugins/maven-war-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-war-plugin 3.4.0 Release

RE: maven-war-plugin packagingExcludes not working

2022-07-12 Thread Jean Pierre URKENS
Yes, this worked! Thanks. -Original Message- From: Scott Kurz Sent: maandag 11 juli 2022 19:10 To: Maven Users List Subject: Re: maven-war-plugin packagingExcludes not working I tried this which seems to work: WEB-INF/classes/db/** though without tracking down the source

Re: maven-war-plugin packagingExcludes not working

2022-07-11 Thread Scott Kurz
I tried this which seems to work: WEB-INF/classes/db/** though without tracking down the source or doc to understand why.Maybe that helps though. On Mon, Jul 11, 2022 at 9:56 AM Jean Pierre URKENS wrote: > Dear all, > > > > I am trying to exclude the resources under ‘src/main/r

maven-war-plugin packagingExcludes not working

2022-07-11 Thread Jean Pierre URKENS
Dear all, I am trying to exclude the resources under ‘src/main/resource/db/*’ from being included in my war file any possible configuration of the ‘packagingExcludes ‘ config parameter seems to be ignored: My plugin-configuration as reported during the run with debug option is: [DEBUG] -

Maven WAR Plugin, version 3.3.2

2021-09-11 Thread Hervé Boutemy
The Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.3.2 This plugin builds a Web Application Archive (WAR) file from the project output and its dependencies. https://maven.apache.org/plugins/maven-war-plugin/ You should specify the version in your

[ANN] Apache Maven WAR Plugin 3.3.1 Released

2020-07-13 Thread Hervé Boutemy
The Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.3.1 This plugin builds a Web Application Archive (WAR) file from the project output and its dependencies. https://maven.apache.org/plugins/maven-war-plugin/ You should specify the version in your

Re: [ANN] Apache Maven WAR Plugin 3.3.0 Released

2020-06-11 Thread Maxim Solodovnik
rds, > > Hervé > > Le mercredi 10 juin 2020, 10:15:07 CEST Maxim Solodovnik a écrit : > > Hello, > > > > I just have switched from 3.2.3 to this new version and it seems > > > https://maven.apache.org/plugins/maven-war-plugin/exploded-mojo.html#archive

Re: [ANN] Apache Maven WAR Plugin 3.3.0 Released

2020-06-10 Thread Hervé BOUTEMY
rsion and it seems > https://maven.apache.org/plugins/maven-war-plugin/exploded-mojo.html#archive > Classes Is not working anymore :( > > Is it intended? > > On Tue, 9 Jun 2020 at 18:43, Hervé Boutemy wrote: > > The Maven team is pleased to announce the release of the Apa

Re: [ANN] Apache Maven WAR Plugin 3.3.0 Released

2020-06-10 Thread Maxim Solodovnik
Hello, I just have switched from 3.2.3 to this new version and it seems https://maven.apache.org/plugins/maven-war-plugin/exploded-mojo.html#archiveClasses Is not working anymore :( Is it intended? On Tue, 9 Jun 2020 at 18:43, Hervé Boutemy wrote: > The Maven team is pleased to announce

[ANN] Apache Maven WAR Plugin 3.3.0 Released

2020-06-09 Thread Hervé Boutemy
The Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.3.0 This plugin builds a Web Application Archive (WAR) file from the project output and its dependencies. https://maven.apache.org/plugins/maven-war-plugin/ You should specify the version in your

[ANN] Apache Maven WAR Plugin Version 3.2.2 Released

2018-06-10 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.2.2. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. https

[ANN] Apache Maven WAR Plugin Version 3.2.1 Released

2018-05-13 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.2.1. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org

Re: maven-war-plugin addClasspath useless, because it cannot add absolute paths

2018-01-25 Thread Mark Prins
> > Optional dependencies are not required at runtime and should not be expected to be part of the war > ... > > org.apache.maven.plugins > maven-war-plugin > > > >

Re: maven-war-plugin addClasspath useless, because it cannot add absolute paths

2018-01-25 Thread Robert Patrick
.0 > system > /C:/1/ccc.jar > true > > > >... > >org.apache.maven.plugins >maven-war-plugin > > > > true > >

maven-war-plugin addClasspath useless, because it cannot add absolute paths

2018-01-25 Thread Basin Ilya
system /C:/1/ccc.jar true ... org.apache.maven.plugins maven-war-plugin true The Class-Path was indeed added to

[ANN] Apache Maven WAR Plugin Version 3.2.0 Released

2017-10-08 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.2.0. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org

Re: Issue with maven-war-plugin

2017-05-20 Thread Maxim Solodovnik
this? >> > >> > On Fri, May 19, 2017 at 10:45 AM, Maxim Solodovnik < >> solomax...@gmail.com> >> > wrote: >> > >> > > Hello All, >> > > >> > > Recently I have updated maven-war-plugin version to be 3.1.0 and found >> > &

Re: Issue with maven-war-plugin

2017-05-19 Thread Maxim Solodovnik
this? > > Should I create quick-start application demonstrating this? > > > > On Fri, May 19, 2017 at 10:45 AM, Maxim Solodovnik > > > wrote: > > > > > Hello All, > > > > > > Recently I have updated maven-war-plugin version to be 3.1.0 a

Re: Issue with maven-war-plugin

2017-05-19 Thread Anders Hammar
ote: > > > Hello All, > > > > Recently I have updated maven-war-plugin version to be 3.1.0 and found > > out filteringDeploymentDescriptors behaviour was changed. > > Instead of filtering deployment descriptors only (web.xml) it is not > > filtering ALL files in webapp fo

Re: Issue with maven-war-plugin

2017-05-19 Thread Maxim Solodovnik
Can someone please confirm this? Should I create quick-start application demonstrating this? On Fri, May 19, 2017 at 10:45 AM, Maxim Solodovnik wrote: > Hello All, > > Recently I have updated maven-war-plugin version to be 3.1.0 and found > out filteringDeploymentDescriptors b

Issue with maven-war-plugin

2017-05-18 Thread Maxim Solodovnik
Hello All, Recently I have updated maven-war-plugin version to be 3.1.0 and found out filteringDeploymentDescriptors behaviour was changed. Instead of filtering deployment descriptors only (web.xml) it is not filtering ALL files in webapp folder including binary (*.ico, *.mp3, etc) Since 3.0.0

[ANN] Apache Maven WAR Plugin Version 3.1.0 Released

2017-04-30 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.1.0. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org

Re: maven-war-plugin issues report

2017-01-22 Thread Karl Heinz Marbaise
Hi, can you tell why are you using maven-war-plugin 2.4 ? and not the most recent version ? Furthermore can you show the pom files you are using ? May be it is better to create a new issue which links those you've mentioned... Are you using the most recent version of m2e ? Which Ec

maven-war-plugin issues report

2017-01-22 Thread Andy Wu
problem(can't package jar project in eclipse workspace) and we debugged maven-war-plugin plugin and it shows that this issue ( https://issues.apache.org/jira/browse/MWAR-128) make such regression. may some one can help about this ? If it is fixed soon , it will be much helpful. thanks in advance.

Re: [ANN] Apache Maven WAR Plugin Version 3.0.0 Released

2016-10-07 Thread Maxim Solodovnik
with maven-war-plugin:2.6 and fails with maven-war-plugin:3.0.0 On Mon, Aug 29, 2016 at 10:58 PM, Karl Heinz Marbaise wrote: > Hi, > > do you have an example project which shows the behaviour ? > > May be you create it on github ? Or create a JIRA and attach the example > proje

Re: [ANN] Apache Maven WAR Plugin Version 3.0.0 Released

2016-08-29 Thread Karl Heinz Marbaise
g 28, 2016 at 5:54 PM, Karl Heinz Marbaise wrote: The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.0.0. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into

Re: [ANN] Apache Maven WAR Plugin Version 3.0.0 Released

2016-08-29 Thread Maxim Solodovnik
ed to be changed to fix the issue? Thanks in advance On Sun, Aug 28, 2016 at 5:54 PM, Karl Heinz Marbaise wrote: > The Apache Maven team is pleased to announce the release of the > Apache Maven WAR Plugin, version 3.0.0. > > The WAR Plugin is responsible for collecting all artifact depen

[ANN] Apache Maven WAR Plugin Version 3.0.0 Released

2016-08-28 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 3.0.0. The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org

Accessing resources located within WEB-INF folder of a web application generated by Maven WAR plugin

2016-06-12 Thread Chiranga Alwis
Hi all, I have posted the following question in stackoverflow forum with regards to Maven War Plugin usages. Any help will be highly appreciated. http://stackoverflow.com/questions/37768891/accessing-resources-located-within-web-inf-folder

Re: Issue with Maven WAR Plugin?

2015-01-25 Thread Ron Wheeler
coming from. Ron On 22/01/2015 4:36 PM, Rahul Mishra wrote: Hi, I am an encountering an issue when trying to create a WAR. When i am using the Maven WAR plugin to create a WAR, different versions of the same JAR are being included. For example, if i put an explicit dependency on A.jar version

Re: Issue with Maven WAR Plugin?

2015-01-25 Thread Vincent Latombe
; -D > > On Thu, Jan 22, 2015 at 1:36 PM, Rahul Mishra > wrote: > > > Hi, > > > > I am an encountering an issue when trying to create a WAR. When i am > using > > the Maven WAR plugin to create a WAR, different versions of the same JAR > > are bein

Re: Issue with Maven WAR Plugin?

2015-01-24 Thread Dan Tran
It does not sound right. Do you have a mini maven project to produce this? Thanks -D On Thu, Jan 22, 2015 at 1:36 PM, Rahul Mishra wrote: > Hi, > > I am an encountering an issue when trying to create a WAR. When i am using > the Maven WAR plugin to create a WAR, different ver

Issue with Maven WAR Plugin?

2015-01-24 Thread Rahul Mishra
Hi, I am an encountering an issue when trying to create a WAR. When i am using the Maven WAR plugin to create a WAR, different versions of the same JAR are being included. For example, if i put an explicit dependency on A.jar version 1.0.1 My WAR includes A-1.0.1.jar A-1.0.2.jar A-1.0.2

Re: [ANN] Apache Maven WAR Plugin Version 2.6 Released

2015-01-13 Thread Karl Heinz Marbaise
Mon, Jan 12, 2015 at 9:59 PM, Karl Heinz Marbaise wrote: The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 2.6 The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them in

Re: [ANN] Apache Maven WAR Plugin Version 2.6 Released

2015-01-13 Thread Andrei Ivanov
The release notes link points to the EAR plugin :) On Mon, Jan 12, 2015 at 9:59 PM, Karl Heinz Marbaise wrote: > The Apache Maven team is pleased to announce the release of the > Apache Maven WAR Plugin, version 2.6 > > The WAR Plugin is responsible for collecting all artifact

[ANN] Apache Maven WAR Plugin Version 2.6 Released

2015-01-12 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 2.6 The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org

[ANN] Apache Maven WAR Plugin Version 2.5 Released

2014-10-12 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven WAR Plugin, version 2.5 The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org

Re: [ANN] Apache Maven War Plugin 2.4 Released

2013-07-10 Thread Thomas Vandahl
Hi Olivier, On 09.07.2013 14:27, Olivier Lamy wrote:> * [MWAR-267] - Maven WAR plugin does not copy dependencies of type > "bundle" into WEB-INF/lib Thanks for fixing this. It's a great help. Bye, Thomas. ---

RE: [ANN] Apache Maven War Plugin 2.4 Released

2013-07-09 Thread Richard Sand
Mobile: +1 267 984 3651 -Original Message- From: Olivier Lamy [mailto:ol...@apache.org] Sent: Tuesday, July 09, 2013 8:27 AM To: Maven Users List; annou...@maven.apache.org Cc: Maven Developers List Subject: [ANN] Apache Maven War Plugin 2.4 Released The Apache Maven team is pleased to an

[ANN] Apache Maven War Plugin 2.4 Released

2013-07-09 Thread Olivier Lamy
The Apache Maven team is pleased to announce the release of the Apache Maven War Plugin, version 2.4 The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org

web.xml path issue in maven-war-plugin

2013-01-21 Thread anjibman
Hi All, I am using /jspc-maven-plugin/ with /maven-war-plugin/ to pre-compile the JSPs and adding only JSP class files to the WAR. As per documentation http://mojo.codehaus.org/jspc/jspc-maven-plugin/usage.html <http://mojo.codehaus.org/jspc/jspc-maven-plugin/usage.html> I gave new w

Re: Please note changed behaviour of maven-war-plugin and maven-assembly-plugin

2013-01-09 Thread Kristian Rosenvold
The original message reads a whole lot better the subject is changed to "please note". The original message was informational, it describes a change that has already been made. Kristian - To unsubscribe, e-mail: users-unsubscr..

Please changed behaviour of maven-war-plugin and maven-assembly-plugin

2013-01-09 Thread Kristian Rosenvold
war-plugin 2.3 and assembly-plugin 2.4 both learned the "recompressZippedFiles" flag, which has a default value of "false". When this value is "false", both plugins will sniff filers being added for the 4 byte ZIP header and avoid recompressing files that are already zipped. Selecting "false" as

Re: Should maven-war-plugin accept null includes?

2012-11-04 Thread Dennis Lundberg
Hi Daniel, Could you please try the latest version, 2.3, of Maven WAR Plugin and see if it has the same behavior? If it work the same way, then please file an issue in JIRA at https://jira.codehaus.org/browse/MWAR On 2012-11-02 22:16, Winsor, Daniel wrote: > Hi, > > I ran into the

Should maven-war-plugin accept null includes?

2012-11-02 Thread Winsor, Daniel
Hi, I ran into the use case where I'd like to have an overlay that will either include a file or not, depending on a property. EG file1 file2 ${some.property} Where Unfortunately this results in an exception being thrown during the build, since the file is null -> Failed to e

Re: maven-war-plugin: How to exclude src/main/webapp/WEB-INF/web.xml?

2012-11-01 Thread Barrie Treloar
On Fri, Nov 2, 2012 at 2:28 AM, Jeff wrote: > I found that **/web.xml does work to > exclude the src/main/webapp/WEB-INF/web.xml file so I've been using that. > > I guess I missed the nuance between warSourceExcludes and packagingExcludes. Thanks for posting back what you did to get it working. T

Re: maven-war-plugin: How to exclude src/main/webapp/WEB-INF/web.xml?

2012-11-01 Thread Jeff
ince I need the web.xml for Netbeans to correctly detect my JavaEE version, I also included all my customization settings in that file and tell enunciate to merge it thus killing 2 birds w/ one xml file. I just needed a way to tell maven-war-plugin to not use it. I found that **/web.xml does work

Re: maven-war-plugin: How to exclude src/main/webapp/WEB-INF/web.xml?

2012-10-30 Thread Barrie Treloar
since >> it seems the enunciate-generated file gets overwritten by the >> maven-war-plugin. >> > Have you also looked at http://enunciate.codehaus.org/user_guide.html and configured it correctly? If enunciate is generating a file, why are you providing on in src/main/webapp/WEB-INF/web.xml?

Re: maven-war-plugin: How to exclude src/main/webapp/WEB-INF/web.xml?

2012-10-30 Thread Barrie Treloar
On Wed, Oct 31, 2012 at 3:55 PM, Jeff wrote: > I'm using Enunciate to do some awesome wizardry with my web services, but I > have a problem when src/main/webapp/WEB-INF/web.xml is in my project since > it seems the enunciate-generated file gets overwritten by the > maven-war-pl

[ANN] Maven WAR Plugin 2.3 Released

2012-10-01 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven WAR Plugin, version 2.3 Builds a Web Application Archive (WAR) file from the project output and its dependencies. http://maven.apache.org/plugins/maven-war-plugin You should specify the version in your project's p

Re: Maven War Plugin - Optional Web Resources

2012-03-27 Thread Wayne Fay
> Some of those structures are optional though - they may be in the > project, they may not.  And at the moment my maven build is failing > when one of them is missing. > > Is there a way to configure the section > to tell the maven war plugin that that resource is optional

Maven War Plugin - Optional Web Resources

2012-03-26 Thread paul.warren
Hi Folks, I am using maven-war-plugin 2.1.1 and I have a webresources section that copies additional folders structures into my war file. Some of those structures are optional though - they may be in the project, they may not. And at the moment my maven build is failing when one of them is

Re: Maven-war-plugin: setting up manifest class-path properly

2012-02-13 Thread Patrick Garner
modules to not be isolated, but such a means is JBoss-specific. According to the spec. the only way to configure access between sub deployments is an explicit Class-Path entry in the MANIFEST.MF, and this is what I want to do. I configured the poms such that maven-war plugin added the EJB module

Re: Maven-war-plugin: setting up manifest class-path properly

2012-02-12 Thread Stephen Coy
You may want to read <https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7>. On 11/02/2012, at 2:22 PM, Patrick Garner wrote: > I've used the maven-ear-plugin with the maven-war-plugin and > maven-ejb-plugin to successfully deploy and run an application packaged

Maven-war-plugin: setting up manifest class-path properly

2012-02-12 Thread Patrick Garner
I've used the maven-ear-plugin with the maven-war-plugin and maven-ejb-plugin to successfully deploy and run an application packaged as EAR to Jboss AS7. . |-- META-INF | |-- application.xml | |-- MANIFEST.MF | `-- maven | `-- com.p

Maven-war-plugin: setting up manifest class-path properly

2012-02-10 Thread Patrick Garner
I've used the maven-ear-plugin with the maven-war-plugin and maven-ejb-plugin to successfully deploy and run an application packaged as EAR to Jboss AS7. . |-- META-INF | |-- application.xml | |-- MANIFEST.MF | `-- maven | `-- com.p

Re: maven-war-plugin 2.2 snapshot suddenly throws ClassDefError Plexus

2012-02-07 Thread Jörg Schaible
Hi, mschipperheyn wrote: > ahh the code got lost in html execution > %regex[.*(?%regex[.*log4j.*],**/overrideweb.xml Have you declared any additional dependencies for the war plugin itself or any global extensions? The NCDFError indicates such a dependency to a special version of the plexus ar

Re: maven-war-plugin 2.2 snapshot suddenly throws ClassDefError Plexus

2012-02-06 Thread mschipperheyn
ahh the code got lost in html execution %regex[.*(?http://maven.40175.n5.nabble.com/maven-war-plugin-2-2-snapshot-suddenly-throws-ClassDefError-Plexus-tp5454020p5461040.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: maven-war-plugin 2.2 snapshot suddenly throws ClassDefError Plexus

2012-02-06 Thread mschipperheyn
Hmm, strange. I use worked very nice for me in the snapshot but not in 2.2 -- View this message in context: http://maven.40175.n5.nabble.com/maven-war-plugin-2-2-snapshot-suddenly-throws-ClassDefError-Plexus-tp5454020p5461037.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: maven-war-plugin 2.2 snapshot suddenly throws ClassDefError Plexus

2012-02-06 Thread Jörg Schaible
mschipperheyn wrote: > Yeah, but regular expressions in packagingExcludes don't work there. Makes > my life a little harder Works for me also in 2.2. - Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For addi

Re: maven-war-plugin 2.2 snapshot suddenly throws ClassDefError Plexus

2012-02-05 Thread mschipperheyn
Yeah, but regular expressions in packagingExcludes don't work there. Makes my life a little harder -- View this message in context: http://maven.40175.n5.nabble.com/maven-war-plugin-2-2-snapshot-suddenly-throws-ClassDefError-Plexus-tp5454020p5458882.html Sent from the Maven - Users mailing

Re: maven-war-plugin 2.2 snapshot suddenly throws ClassDefError Plexus

2012-02-05 Thread Kristian Rosenvold
.loadClass(ClassLoader.java:307) >        at > org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassL > oader.java:195) > > -- > View this message in context: > http://maven.40175.n5.nabble.com/maven-war-plugin-2-2-snapshot-suddenly-throws-ClassDefError-Plexus-tp54

[ANN] Maven WAR Plugin 2.2 Released

2012-02-05 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven WAR Plugin, version 2.2 The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org/plugins/maven-war

maven-war-plugin 2.2 snapshot suddenly throws ClassDefError Plexus

2012-02-03 Thread mschipperheyn
lassL oader.java:195) -- View this message in context: http://maven.40175.n5.nabble.com/maven-war-plugin-2-2-snapshot-suddenly-throws-ClassDefError-Plexus-tp5454020p5454020.html Sent from the Maven - Users mailing list archive at Nabbl

maven-war-plugin Dojo Build file being overwritten by the war plugin

2011-11-21 Thread Donald Smith (Contractor)
${project.build.directory}\${project.build.finalName}\js so that they will replace the unbuilt src files. I added an exclusion for the src/js directory in the profile as well, but the maven war plugin seems to ignore this. At package time the built files get overwritten. Is there a better way

Problems with maven war plugin

2011-06-27 Thread Manuel Ramirez Velasco
Hello!!! I have a problem with the generation of wars with maven. The problem is when I have no changes in java files or resources on my war, the war is being built again. This is the normal behavior?. I'm doing an automatic deployment to the application server and do not want to make this depl

Re: A maven-war-plugin question

2011-05-20 Thread Russ Tremain
== pom.xml 4.0.0 com.foo foo war 1.0 ${project.build.sourceDirectory} maven-war-plugin 2.1

Re: A maven-war-plugin question

2011-05-19 Thread Anders Hammar
Put the META-INF folder structure in src/main/webapp. Not in src/main/resources. You should then be able to remove all your special configuration, which is a clear sign of being on the right track. /Anders On Fri, May 20, 2011 at 02:02, dpaily wrote: > I'm using maven-war-plugin i

A maven-war-plugin question

2011-05-19 Thread dpaily
I'm using maven-war-plugin in my pom. Here is my code org.apache.maven.plugins maven-war-plugin 2.1-beta-1 target/${webapp

Re: [maven-war-plugin] Exclude files/folders in webapp

2011-03-21 Thread Yegor Bugayenko
iles that I use > locally > and I don't want put them in the release :D > > and as you said, warSourceExcludes works :x > > maven-war-plugin >2.1.1 > >**/client/*.* > >

Re: [maven-war-plugin] Exclude files/folders in webapp

2011-03-21 Thread Nguyen Tien Luong
Thanks Yegor, The reason is in client's folder, there are only some files that I use locally and I don't want put them in the release :D and as you said, warSourceExcludes works :x maven-war-plugin 2.1.1

Re: [maven-war-plugin] Exclude files/folders in webapp

2011-03-21 Thread Yegor Bugayenko
How about warSourceExcludes options [1]? Btw, why these files are there if you don't want them to appear in WAR? 1. http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#warSourceExcludes — Yegor Bugayenko On Mon, Mar 21, 2011 at 10:28 AM, Nguyen Tien Luong wrote: > Hi mav

[maven-war-plugin] Exclude files/folders in webapp

2011-03-21 Thread Nguyen Tien Luong
Hi maven'users, Can we, in using maven-war-plugin, exclude files/folders in webapp? Here my exemple: webapp ++ admin index.jsp admin.jsp ++ client index.jsp account.jsp META-INF WEB-INF Anf I don't want that the client's folder appear in my final WAR. Thanks, Luong

maven-war-plugin overlay versus just plain using the dependency plugin

2010-12-23 Thread Benson Margulies
I confess that I've got myself somewhat turned around about the war plugin and overlays versus unpacked wars. I have some tests that run against the the 'unpacked' war, so I need the things that would come through overlay to be there. The overlay things are NOT wars at all, they are just miscellan

Re: maven war plugin - generated WAR file missing WEB-INF and jsp pages (only in the uploaded deploy and release)

2010-12-12 Thread Stephen Connolly
By any chance do you use an active by default profile to pull in your content that is missing on release? - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 12 Dec 2010 04:12,

maven war plugin - generated WAR file missing WEB-INF and jsp pages (only in the uploaded deploy and release)

2010-12-11 Thread hanasaki
The build runs fine, tests fine and the WAR created in the target folder is correct. For some reason the WAR uploaded to the maven repository on "deploy" or "release" is missing most everything. All it has is META-INF and the compile resources and the class files for the servlets and .java fi

[ANN] Maven WAR Plugin 2.1.1 Released

2010-11-03 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven WAR Plugin, version 2.1.1 The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org/plugins/maven

Re: Problem with maven-war-plugin

2010-10-28 Thread Vincent Latombe
Marcin Trościańczyk > > > Hi, > > > > I have a problem with maven-war-plugin version 2.1. Below, I paste build > > section fragment from my pom.xml: > > > > > > > > > >org.apache.maven.plugins > &

Re: Problem with maven-war-plugin

2010-10-28 Thread John Singleton
It appears this was fixed in version 2.2 of m-w-p, try updating. http://jira.codehaus.org/browse/MWAR-235 Cheers, John 2010/10/28 Marcin Trościańczyk > Hi, > > I have a problem with maven-war-plugin version 2.1. Below, I paste build > section fragment fro

Re: Problem with maven-war-plugin

2010-10-28 Thread Antonio Petrelli
2010/10/28 Marcin Trościańczyk : > Unfotunetly, generated artifact (war) contains two web.xml. When I use > maven-war-plugin version 2.0.1 all works fine (generated war archive > contains one web.xml). How can I solve this problem. This is strange, do you see two WEB-INF/web.xml entri

Problem with maven-war-plugin

2010-10-28 Thread Marcin Trościańczyk
Hi, I have a problem with maven-war-plugin version 2.1. Below, I paste build section fragment from my pom.xml: org.apache.maven.plugins maven-compiler-plugin 1.6 1.6 org.apache.maven.plugins

Re: Maven WAR Plugin - Modify/Rename files before WAR

2010-10-07 Thread Olivier Lamy
Hi, You can have a look at http://jira.codehaus.org/browse/MWAR-238. I'm just an it test before pushing the patch. So you can test it too :-) 2010/10/7 Lukas Bradley : > I'm looking to rename a couple of files before the actual WAR package > is created.  For example, if I have a Javascript file

Re: Maven WAR Plugin - Modify/Rename files before WAR

2010-10-07 Thread Vincent Latombe
Hello, war:war is called during package phase, so at prepare-package phase you have nothing available. I think the war-plugin should be updated to take that into account. A possible workaround is to bind an execution of war:exploded during the prepare-phase, then you do your stuff with antrun, an

Re: Maven WAR Plugin - Modify/Rename files before WAR

2010-10-07 Thread Jesse Farinacci
Hi Lukas, On Thu, Oct 7, 2010 at 8:59 AM, Lukas Bradley wrote: > > I would love to use the maven-antrun-plugin, but it doesn't look like > there is a stage where the war plugin would cede control, or allow > something to pre-process the files that have been copied to the target > directory. The

Maven WAR Plugin - Modify/Rename files before WAR

2010-10-07 Thread Lukas Bradley
I'm looking to rename a couple of files before the actual WAR package is created. For example, if I have a Javascript file named "my.js", I want to rename it to "my-20100106.js" then do a search and replace on all references to "my.js" and have them reference the new file. I would love to use the

maven-war-plugin dependentWarExcludes not working when build/outputDirectory specified

2010-10-05 Thread Hrotkó Gábor
org.apache.maven.plugins maven-war-plugin 2.1-beta-1 war WEB

Maven war plugin adds some dependencies with unique timestamp.

2010-09-22 Thread Michael Delaney
problem. Anyone know how I can fix this? [ Version Information ] $ mvn -version Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400) Java version: 1.6.0_21 Java home: C:\Program Files\Java\jdk1.6.0_21\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7" version: "

[ANN] Maven WAR Plugin 2.1 Released

2010-08-18 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven WAR Plugin, version 2.1 The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org/plugins/maven-war

Re : Issue with Maven WAR plugin and overlay when using war:inplace

2010-07-22 Thread Julien HENRY
- Message d'origine > De : Kumar Ampani > À : Maven Users List > Envoyé le : Jeu 22 juillet 2010, 0h 11min 51s > Objet : Re: Issue with Maven WAR plugin and overlay when using war:inplace > > Use overlay tags in war plugin configuration to control the order. > >

Re: Issue with Maven WAR plugin and overlay when using war:inplace

2010-07-21 Thread Kumar Ampani
on contains the file src/main/webapp/WEB-INF/web.xml > > dependent war contain a nearly empty file dependentWar.war!WEB-INF/web.xml > > When I run mvn war:inplace I can read in the log: > > [INFO] --- maven-war-plugin:2.1-beta-1:inplace (default-cli) @ myWebApp --- > ... > [

Re : Issue with Maven WAR plugin and overlay when using war:inplace

2010-07-21 Thread Julien HENRY
I have created an issue in JIRA with an attached it: http://jira.codehaus.org/browse/MWAR-229 Regards, Julien - Message d'origine > De : Julien HENRY > À : users@maven.apache.org > Envoyé le : Mer 21 juillet 2010, 12h 17min 00s > Objet : Issue with Maven WAR plugin

Issue with Maven WAR plugin and overlay when using war:inplace

2010-07-21 Thread Julien HENRY
log: [INFO] --- maven-war-plugin:2.1-beta-1:inplace (default-cli) @ myWebApp --- ... [INFO] Processing war project [INFO] Processing overlay[ id com.mycompany:dependentWar] ... [INFO] File[WEB-INF/web.xml] belonged to overlay[currentBuild] so it will be overwritten. As a result the src/main

Re: maven-war-plugin and maven-assembly-plugin. Change file mode and line ending

2010-06-02 Thread jid1jid1
reinventing the wheel. In any case thanks for the reply -- View this message in context: http://old.nabble.com/maven-war-plugin-and-maven-assembly-plugin.-Change-file-mode-and-line-ending-tp28755057p28756099.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: maven-war-plugin and maven-assembly-plugin. Change file mode and line ending

2010-06-02 Thread Karl Heinz Marbaise
> When I try to join this war using the assembly plugin I end up with two > wars and (only one installed).There might be a possibility by using the > Overlay thing in the maven-war-plugin http://maven.apache.org/plugins/maven-war-plugin/overlays.html jid1jid1 wrote: > Is there a ho

maven-war-plugin and maven-assembly-plugin. Change file mode and line ending

2010-06-02 Thread jid1jid1
hanks -- View this message in context: http://old.nabble.com/maven-war-plugin-and-maven-assembly-plugin.-Change-file-mode-and-line-ending-tp28755057p28755057.html Sent from the Maven - Users mailing list archive at Nabble.com. ---

Re: Question about maven-war-plugin

2010-05-08 Thread Dennis Lundberg
Have you configured this in build/plugins in the top level POM by any chance? If so you should move it to build/pluginManagement. On 2010-05-08 17:26, John Ament wrote: > Hey all > > I recently converted an ant build we had into a maven build. > > There's a top level aggregator with sub project

Question about maven-war-plugin

2010-05-08 Thread John Ament
Hey all I recently converted an ant build we had into a maven build. There's a top level aggregator with sub projects that have various parts of the application - the end result is an EAR file. Within the ear file are several EJB and WAR modules. I noticed with the WAR modules, when I define the

Re: not able to get maven war plugin to filter out unwanted resources from my .war file.

2010-02-19 Thread buildlackey
) on this topic, here is the trick i used: findFiles org.apache.maven.plugins maven-war-plugin 2.1-beta-1 **/*.jsp i'm attachin

Re: not able to get maven war plugin to filter out unwanted resources from my .war file.

2010-02-19 Thread Wayne Fay
> for production .war's i strip out my environmental properties  and deploy > them separately, or let the server administrator deal with setting the > properties...     so some stuff has to be present on the classpath during > dev, but not production. If you used multiple war modules and war overl

Re: not able to get maven war plugin to filter out unwanted resources from my .war file.

2010-02-19 Thread Stephen Connolly
; > Well... an obvious workaround would be to simply move the files to a >> > directory not being packaged by Maven, or just delete them. I am >> > guessing this is not acceptable for some reason. >> > >> > Wayne >> > >> >

  1   2   3   4   >