[ 
https://issues.apache.org/jira/browse/OODT-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ross Laidlaw updated OODT-640:
------------------------------

          Environment: 
Tested with Maven 2.2.1 and Maven 3.0.4.
(Mac OSX 10.8 and also Lubuntu 13.04)
(Latest Java 7 JDK)
    Affects Version/s:     (was: 0.7)
                       0.6
        Fix Version/s:     (was: 0.7)
                       0.6
    
> Build warnings for maven-war-plugin version number for CAS-Product POM
> ----------------------------------------------------------------------
>
>                 Key: OODT-640
>                 URL: https://issues.apache.org/jira/browse/OODT-640
>             Project: OODT
>          Issue Type: Bug
>          Components: product server
>    Affects Versions: 0.6
>         Environment: Tested with Maven 2.2.1 and Maven 3.0.4.
> (Mac OSX 10.8 and also Lubuntu 13.04)
> (Latest Java 7 JDK)
>            Reporter: Ross Laidlaw
>            Assignee: Ross Laidlaw
>            Priority: Trivial
>              Labels: build, maven, pom
>             Fix For: 0.6
>
>         Attachments: OODT-640.rlaidlaw.2013-06-22.patch.txt
>
>
> When building CAS-Product with Maven 3, Maven complains about a missing 
> version number for the maven-war-plugin.
> {panel}
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model 
> for org.apache.oodt:cas-product:war:0.6-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for 
> org.apache.maven.plugins:maven-war-plugin is missing. @ line 35, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they 
> threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support 
> building such malformed projects.
> [WARNING] 
> {panel}
> Later during the build it picks up the default version for the plugin:
> {panel}
> [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ cas-product ---
> {panel}
> Explicitly stating this version number for the plugin in the POM, as shown 
> below, clears the above warnings:
> {code:xml|title=pom.xml}
> <plugin>
>   <artifactId>maven-war-plugin</artifactId>
>   <version>2.1.1</version>
>   ...
> </plugin>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to