cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r796779 - in /cxf/trunk: parent/pom.xml rt/databinding/sdo/pom.xml
Date Wed, 22 Jul 2009 16:20:03 GMT
Author: dkulp
Date: Wed Jul 22 16:20:03 2009
New Revision: 796779

URL: http://svn.apache.org/viewvc?rev=796779&view=rev
Log:
Update poms to be able to turn off deprecation flags when they are known
to be an issue with generated code

Modified:
    cxf/trunk/parent/pom.xml
    cxf/trunk/rt/databinding/sdo/pom.xml

Modified: cxf/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/parent/pom.xml?rev=796779&r1=796778&r2=796779&view=diff
==============================================================================
--- cxf/trunk/parent/pom.xml (original)
+++ cxf/trunk/parent/pom.xml Wed Jul 22 16:20:03 2009
@@ -40,6 +40,8 @@
         <surefire.extra.sysprop.name1>None</surefire.extra.sysprop.name1>
         <surefire.extra.sysprop.value1>None</surefire.extra.sysprop.value1>
         <compile.flags>-Xlint:unchecked,deprecation,fallthrough,finally</compile.flags>
+        <compile.show.deprecation>true</compile.show.deprecation>
+
         <eclipse.outputDirectory>${basedir}/target/classes</eclipse.outputDirectory>
         <saaj.impl.groupId>com.sun.xml.messaging.saaj</saaj.impl.groupId>
         <saaj.impl.artifactId>saaj-impl</saaj.impl.artifactId>
@@ -1230,7 +1232,7 @@
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-compiler-plugin</artifactId>
                         <configuration>
-                            <showDeprecation>true</showDeprecation>
+                            <showDeprecation>${compile.show.deprecation}</showDeprecation>
                             <showWarnings>true</showWarnings>
                             <compilerArgument>${compile.flags}</compilerArgument>
                         </configuration>

Modified: cxf/trunk/rt/databinding/sdo/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/sdo/pom.xml?rev=796779&r1=796778&r2=796779&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/sdo/pom.xml (original)
+++ cxf/trunk/rt/databinding/sdo/pom.xml Wed Jul 22 16:20:03 2009
@@ -33,6 +33,7 @@
     <properties>
         <pmd.eclipse.ruleset>cxf-pmd-ruleset-generated.xml</pmd.eclipse.ruleset>
         <compile.flags>-Xlint:unchecked,fallthrough,finally</compile.flags>
+        <compile.show.deprecation>false</compile.show.deprecation>
     </properties>
 
     <dependencies>



Mime
View raw message