You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Karl Heinz Marbaise <kh...@apache.org> on 2016/08/28 10:54:59 UTC

[ANN] Apache Maven WAR Plugin Version 3.0.0 Released

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/plugins/maven-war-plugin/

You should specify the version in your project's plugin configuration:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-war-plugin</artifactId>
  <version>3.0.0</version>
</plugin>

You can download the appropriate sources etc. from the download page:

https://maven.apache.org/plugins/maven-war-plugin/download.cgi

Important Note: 

 * Maven 3.X only
 * JDK 6 minimum requirement

Release Notes - Maven WAR Plugin - Version 3.0.0

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12318121&version=12331760

Bugs:

 * [MWAR-367] - Overlay removes /META-INF/context.xml
 * [MWAR-369] - Upgrade to XStream 1.4.9
 * [MWAR-379] - manifest goal violates general Maven principle and creates file into src/main/..

Documentation:

 * [MWAR-346] - Fix broken links

Improvements:

 * [MWAR-225] - Add support for customizing filtering delimiters like the resources plugin
 * [MWAR-262] - <failOnMissingWebXml> default value should be false for Servlet level > 2.5 projects
 * [MWAR-326] - Add LifecycleMapping and ArtifactHandler from maven-core to target packaging plugin
 * [MWAR-328] - Upgrade to Maven 3.0 compatiblity / JDK 6
 * [MWAR-347] - Upgrade plexus-io to 2.6
 * [MWAR-348] - Upgrade maven-invoker-plugin to 1.10
 * [MWAR-349] - Upgrade to fluido skin 1.4.0
 * [MWAR-361] - Removed unused dependencies in project
 * [MWAR-362] - Bump version to 3.0.0-SNAPSHOT
 * [MWAR-363] - Removed hard coded version for maven-invoker-plugin
 * [MWAR-364] - Upgrade plexus-utils to 3.0.22
 * [MWAR-365] - Upgrade plexus-archiver from 3.0.1 to 3.0.3
 * [MWAR-366] - Change package to org.apache.maven.plugins to prevent conflict with Maven Core
 * [MWAR-370] - Upgrade plexus-archiver 3.0.3 to 3.1.1
 * [MWAR-372] - Upgrade maven-archiver to 3.0.1
 * [MWAR-373] - Make finalName readonly parameter
 * [MWAR-376] - Remove param properties that doesn't make sense for CLI usage
 * [MWAR-380] - Filtered resources folder should be changed
 * [MWAR-381] - Upgrade maven-archiver to 3.0.2
 * [MWAR-382] - Upgrade plexus-utils to 3.0.24
 * [MWAR-383] - Upgrade plexus-archiver to 3.2 / commons-io to 2.5
 * [MWAR-385] - Upgrade maven-plugins to version 30
 * [MWAR-387] - Upgrade of 'plexus-archiver' to version 3.3.
 * [MWAR-388] - Upgrade maven-archiver to 3.1.0
 * [MWAR-389] - Upgrade maven-filtering to 3.1.1

New Feature:

 * [MWAR-350] - Add Skip Parameter to Skip the process
Task
 * [MWAR-391] - Upgrade of plexus-archiver to 3.4.
 * [MWAR-392] - Upgrade of plexus-interpolation to 1.22.
 * [MWAR-393] - Upgrade of maven-archiver to 3.1.1.

Enjoy,

-The Apache Maven team


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


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

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Karl,

sorry for the late response
I finally was able to find time and create quick-start for this issue:
https://github.com/solomax/multimodule-with-war

the following command
mvn -Dom.quick.build=true install -pl multimodule-with-war-web -pl
multimodule-with-war-server

works as expected 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 <kh...@gmx.de> 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
> project to it?
>
> Kind regards
> Karl Heinz Marbaise
>
>
> On 29/08/16 15:28, Maxim Solodovnik wrote:
>>
>> After switching to this version I got weird error on multi-module project:
>>
>> full build is OK
>> in case I'm building only some sub-projects using "-pl" option I got
>> build command is "mvn install -P quick,allModules,mysql -pl
>> openmeetings-web" (I'm not using install:install)
>>
>> Failed to execute goal
>> org.apache.maven.plugins:maven-install-plugin:2.5.2:install
>> (default-install) on project openmeetings-web: The packaging for this
>> project did not assign a file to the build artifact -> [Help 1]
>>
>> everything works as expected with 2.6
>>
>> Maybe you can suggest what need to be changed to fix the issue?
>>
>> Thanks in advance
>>
>>
>> On Sun, Aug 28, 2016 at 5:54 PM, Karl Heinz Marbaise
>> <kh...@apache.org>
>> 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 a web
>>> application
>>> archive.
>>>
>>> http://maven.apache.org/plugins/maven-war-plugin/
>>>
>>> You should specify the version in your project's plugin configuration:
>>>
>>> <plugin>
>>>   <groupId>org.apache.maven.plugins</groupId>
>>>   <artifactId>maven-war-plugin</artifactId>
>>>   <version>3.0.0</version>
>>> </plugin>
>>>
>>> You can download the appropriate sources etc. from the download page:
>>>
>>> https://maven.apache.org/plugins/maven-war-plugin/download.cgi
>>>
>>> Important Note:
>>>
>>>  * Maven 3.X only
>>>  * JDK 6 minimum requirement
>>>
>>> Release Notes - Maven WAR Plugin - Version 3.0.0
>>>
>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
>>> projectId=12318121&version=12331760
>>>
>>> Bugs:
>>>
>>>  * [MWAR-367] - Overlay removes /META-INF/context.xml
>>>  * [MWAR-369] - Upgrade to XStream 1.4.9
>>>  * [MWAR-379] - manifest goal violates general Maven principle and
>>> creates
>>> file into src/main/..
>>>
>>> Documentation:
>>>
>>>  * [MWAR-346] - Fix broken links
>>>
>>> Improvements:
>>>
>>>  * [MWAR-225] - Add support for customizing filtering delimiters like the
>>> resources plugin
>>>  * [MWAR-262] - <failOnMissingWebXml> default value should be false for
>>> Servlet level > 2.5 projects
>>>  * [MWAR-326] - Add LifecycleMapping and ArtifactHandler from maven-core
>>> to target packaging plugin
>>>  * [MWAR-328] - Upgrade to Maven 3.0 compatiblity / JDK 6
>>>  * [MWAR-347] - Upgrade plexus-io to 2.6
>>>  * [MWAR-348] - Upgrade maven-invoker-plugin to 1.10
>>>  * [MWAR-349] - Upgrade to fluido skin 1.4.0
>>>  * [MWAR-361] - Removed unused dependencies in project
>>>  * [MWAR-362] - Bump version to 3.0.0-SNAPSHOT
>>>  * [MWAR-363] - Removed hard coded version for maven-invoker-plugin
>>>  * [MWAR-364] - Upgrade plexus-utils to 3.0.22
>>>  * [MWAR-365] - Upgrade plexus-archiver from 3.0.1 to 3.0.3
>>>  * [MWAR-366] - Change package to org.apache.maven.plugins to prevent
>>> conflict with Maven Core
>>>  * [MWAR-370] - Upgrade plexus-archiver 3.0.3 to 3.1.1
>>>  * [MWAR-372] - Upgrade maven-archiver to 3.0.1
>>>  * [MWAR-373] - Make finalName readonly parameter
>>>  * [MWAR-376] - Remove param properties that doesn't make sense for CLI
>>> usage
>>>  * [MWAR-380] - Filtered resources folder should be changed
>>>  * [MWAR-381] - Upgrade maven-archiver to 3.0.2
>>>  * [MWAR-382] - Upgrade plexus-utils to 3.0.24
>>>  * [MWAR-383] - Upgrade plexus-archiver to 3.2 / commons-io to 2.5
>>>  * [MWAR-385] - Upgrade maven-plugins to version 30
>>>  * [MWAR-387] - Upgrade of 'plexus-archiver' to version 3.3.
>>>  * [MWAR-388] - Upgrade maven-archiver to 3.1.0
>>>  * [MWAR-389] - Upgrade maven-filtering to 3.1.1
>>>
>>> New Feature:
>>>
>>>  * [MWAR-350] - Add Skip Parameter to Skip the process
>>> Task
>>>  * [MWAR-391] - Upgrade of plexus-archiver to 3.4.
>>>  * [MWAR-392] - Upgrade of plexus-interpolation to 1.22.
>>>  * [MWAR-393] - Upgrade of maven-archiver to 3.1.1.
>>>
>>> Enjoy,
>>>
>>> -The Apache Maven team
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>



-- 
WBR
Maxim aka solomax

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


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

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
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 
project to it?

Kind regards
Karl Heinz Marbaise

On 29/08/16 15:28, Maxim Solodovnik wrote:
> After switching to this version I got weird error on multi-module project:
>
> full build is OK
> in case I'm building only some sub-projects using "-pl" option I got
> build command is "mvn install -P quick,allModules,mysql -pl
> openmeetings-web" (I'm not using install:install)
>
> Failed to execute goal
> org.apache.maven.plugins:maven-install-plugin:2.5.2:install
> (default-install) on project openmeetings-web: The packaging for this
> project did not assign a file to the build artifact -> [Help 1]
>
> everything works as expected with 2.6
>
> Maybe you can suggest what need to be changed to fix the issue?
>
> Thanks in advance
>
>
> On Sun, Aug 28, 2016 at 5:54 PM, Karl Heinz Marbaise <kh...@apache.org>
> 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 a web
>> application
>> archive.
>>
>> http://maven.apache.org/plugins/maven-war-plugin/
>>
>> You should specify the version in your project's plugin configuration:
>>
>> <plugin>
>>   <groupId>org.apache.maven.plugins</groupId>
>>   <artifactId>maven-war-plugin</artifactId>
>>   <version>3.0.0</version>
>> </plugin>
>>
>> You can download the appropriate sources etc. from the download page:
>>
>> https://maven.apache.org/plugins/maven-war-plugin/download.cgi
>>
>> Important Note:
>>
>>  * Maven 3.X only
>>  * JDK 6 minimum requirement
>>
>> Release Notes - Maven WAR Plugin - Version 3.0.0
>>
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
>> projectId=12318121&version=12331760
>>
>> Bugs:
>>
>>  * [MWAR-367] - Overlay removes /META-INF/context.xml
>>  * [MWAR-369] - Upgrade to XStream 1.4.9
>>  * [MWAR-379] - manifest goal violates general Maven principle and creates
>> file into src/main/..
>>
>> Documentation:
>>
>>  * [MWAR-346] - Fix broken links
>>
>> Improvements:
>>
>>  * [MWAR-225] - Add support for customizing filtering delimiters like the
>> resources plugin
>>  * [MWAR-262] - <failOnMissingWebXml> default value should be false for
>> Servlet level > 2.5 projects
>>  * [MWAR-326] - Add LifecycleMapping and ArtifactHandler from maven-core
>> to target packaging plugin
>>  * [MWAR-328] - Upgrade to Maven 3.0 compatiblity / JDK 6
>>  * [MWAR-347] - Upgrade plexus-io to 2.6
>>  * [MWAR-348] - Upgrade maven-invoker-plugin to 1.10
>>  * [MWAR-349] - Upgrade to fluido skin 1.4.0
>>  * [MWAR-361] - Removed unused dependencies in project
>>  * [MWAR-362] - Bump version to 3.0.0-SNAPSHOT
>>  * [MWAR-363] - Removed hard coded version for maven-invoker-plugin
>>  * [MWAR-364] - Upgrade plexus-utils to 3.0.22
>>  * [MWAR-365] - Upgrade plexus-archiver from 3.0.1 to 3.0.3
>>  * [MWAR-366] - Change package to org.apache.maven.plugins to prevent
>> conflict with Maven Core
>>  * [MWAR-370] - Upgrade plexus-archiver 3.0.3 to 3.1.1
>>  * [MWAR-372] - Upgrade maven-archiver to 3.0.1
>>  * [MWAR-373] - Make finalName readonly parameter
>>  * [MWAR-376] - Remove param properties that doesn't make sense for CLI
>> usage
>>  * [MWAR-380] - Filtered resources folder should be changed
>>  * [MWAR-381] - Upgrade maven-archiver to 3.0.2
>>  * [MWAR-382] - Upgrade plexus-utils to 3.0.24
>>  * [MWAR-383] - Upgrade plexus-archiver to 3.2 / commons-io to 2.5
>>  * [MWAR-385] - Upgrade maven-plugins to version 30
>>  * [MWAR-387] - Upgrade of 'plexus-archiver' to version 3.3.
>>  * [MWAR-388] - Upgrade maven-archiver to 3.1.0
>>  * [MWAR-389] - Upgrade maven-filtering to 3.1.1
>>
>> New Feature:
>>
>>  * [MWAR-350] - Add Skip Parameter to Skip the process
>> Task
>>  * [MWAR-391] - Upgrade of plexus-archiver to 3.4.
>>  * [MWAR-392] - Upgrade of plexus-interpolation to 1.22.
>>  * [MWAR-393] - Upgrade of maven-archiver to 3.1.1.
>>
>> Enjoy,
>>
>> -The Apache Maven team

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


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

Posted by Maxim Solodovnik <so...@gmail.com>.
After switching to this version I got weird error on multi-module project:

full build is OK
in case I'm building only some sub-projects using "-pl" option I got
build command is "mvn install -P quick,allModules,mysql -pl
openmeetings-web" (I'm not using install:install)

Failed to execute goal
org.apache.maven.plugins:maven-install-plugin:2.5.2:install
(default-install) on project openmeetings-web: The packaging for this
project did not assign a file to the build artifact -> [Help 1]

everything works as expected with 2.6

Maybe you can suggest what need to be changed to fix the issue?

Thanks in advance


On Sun, Aug 28, 2016 at 5:54 PM, Karl Heinz Marbaise <kh...@apache.org>
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 a web
> application
> archive.
>
> http://maven.apache.org/plugins/maven-war-plugin/
>
> You should specify the version in your project's plugin configuration:
>
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-war-plugin</artifactId>
>   <version>3.0.0</version>
> </plugin>
>
> You can download the appropriate sources etc. from the download page:
>
> https://maven.apache.org/plugins/maven-war-plugin/download.cgi
>
> Important Note:
>
>  * Maven 3.X only
>  * JDK 6 minimum requirement
>
> Release Notes - Maven WAR Plugin - Version 3.0.0
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?
> projectId=12318121&version=12331760
>
> Bugs:
>
>  * [MWAR-367] - Overlay removes /META-INF/context.xml
>  * [MWAR-369] - Upgrade to XStream 1.4.9
>  * [MWAR-379] - manifest goal violates general Maven principle and creates
> file into src/main/..
>
> Documentation:
>
>  * [MWAR-346] - Fix broken links
>
> Improvements:
>
>  * [MWAR-225] - Add support for customizing filtering delimiters like the
> resources plugin
>  * [MWAR-262] - <failOnMissingWebXml> default value should be false for
> Servlet level > 2.5 projects
>  * [MWAR-326] - Add LifecycleMapping and ArtifactHandler from maven-core
> to target packaging plugin
>  * [MWAR-328] - Upgrade to Maven 3.0 compatiblity / JDK 6
>  * [MWAR-347] - Upgrade plexus-io to 2.6
>  * [MWAR-348] - Upgrade maven-invoker-plugin to 1.10
>  * [MWAR-349] - Upgrade to fluido skin 1.4.0
>  * [MWAR-361] - Removed unused dependencies in project
>  * [MWAR-362] - Bump version to 3.0.0-SNAPSHOT
>  * [MWAR-363] - Removed hard coded version for maven-invoker-plugin
>  * [MWAR-364] - Upgrade plexus-utils to 3.0.22
>  * [MWAR-365] - Upgrade plexus-archiver from 3.0.1 to 3.0.3
>  * [MWAR-366] - Change package to org.apache.maven.plugins to prevent
> conflict with Maven Core
>  * [MWAR-370] - Upgrade plexus-archiver 3.0.3 to 3.1.1
>  * [MWAR-372] - Upgrade maven-archiver to 3.0.1
>  * [MWAR-373] - Make finalName readonly parameter
>  * [MWAR-376] - Remove param properties that doesn't make sense for CLI
> usage
>  * [MWAR-380] - Filtered resources folder should be changed
>  * [MWAR-381] - Upgrade maven-archiver to 3.0.2
>  * [MWAR-382] - Upgrade plexus-utils to 3.0.24
>  * [MWAR-383] - Upgrade plexus-archiver to 3.2 / commons-io to 2.5
>  * [MWAR-385] - Upgrade maven-plugins to version 30
>  * [MWAR-387] - Upgrade of 'plexus-archiver' to version 3.3.
>  * [MWAR-388] - Upgrade maven-archiver to 3.1.0
>  * [MWAR-389] - Upgrade maven-filtering to 3.1.1
>
> New Feature:
>
>  * [MWAR-350] - Add Skip Parameter to Skip the process
> Task
>  * [MWAR-391] - Upgrade of plexus-archiver to 3.4.
>  * [MWAR-392] - Upgrade of plexus-interpolation to 1.22.
>  * [MWAR-393] - Upgrade of maven-archiver to 3.1.1.
>
> Enjoy,
>
> -The Apache Maven team
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
WBR
Maxim aka solomax