From: <mar...@us...> - 2017-02-01 10:46:20
|
Revision: 20047 http://sourceforge.net/p/gate/code/20047 Author: markagreenwood Date: 2017-02-01 10:46:18 +0000 (Wed, 01 Feb 2017) Log Message: ----------- updated the pom.xml so as well as populating the lib folder during the build it deletes it on a clean so jars don't get left in there and confuse the hell out of me when the dependencies change Modified Paths: -------------- gate/branches/sawdust2/gate-core/pom.xml Property Changed: ---------------- gate/branches/sawdust2/gate-core/ Index: gate/branches/sawdust2/gate-core =================================================================== --- gate/branches/sawdust2/gate-core 2017-02-01 10:10:20 UTC (rev 20046) +++ gate/branches/sawdust2/gate-core 2017-02-01 10:46:18 UTC (rev 20047) Property changes on: gate/branches/sawdust2/gate-core ___________________________________________________________________ Modified: svn:ignore ## -1 +1,2 ## target +lib Modified: gate/branches/sawdust2/gate-core/pom.xml =================================================================== --- gate/branches/sawdust2/gate-core/pom.xml 2017-02-01 10:10:20 UTC (rev 20046) +++ gate/branches/sawdust2/gate-core/pom.xml 2017-02-01 10:46:18 UTC (rev 20047) @@ -145,16 +145,12 @@ <scope>compile</scope> </dependency> - <!-- - If this is omitted, we somehow get a ClassNotFoundException for - - org.codehaus.plexus.util.xml.pull.EntityReplacementMap despite the - dependency + <!-- - If this is omitted, we somehow get a ClassNotFoundException for + - org.codehaus.plexus.util.xml.pull.EntityReplacementMap despite the - dependency appearing with scope compile in the dependency hierarchy... --> - <!-- <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - <version>3.0.22</version> - <scope>compile</scope> - </dependency> --> - + <!-- <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> + <version>3.0.22</version> <scope>compile</scope> </dependency> --> + <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings-builder</artifactId> @@ -476,10 +472,22 @@ </dependencies> - <build> <plugins> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-clean-plugin</artifactId> + <version>3.0.0</version> + <configuration> + <followSymLinks>false</followSymLinks> + <filesets> + <fileset> + <directory>${basedir}/lib</directory> + </fileset> + </filesets> + </configuration> + </plugin> + <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.6.201602180812</version> @@ -513,14 +521,14 @@ <configuration> <outputDirectory>${project.basedir}/lib</outputDirectory> <overWriteReleases>false</overWriteReleases> - <overWriteSnapshots>false</overWriteSnapshots> + <overWriteSnapshots>true</overWriteSnapshots> <overWriteIfNewer>true</overWriteIfNewer> </configuration> </execution> </executions> </plugin> </plugins> - + <resources> <!-- this adds the version number into the right file in the jar --> <resource> @@ -551,18 +559,18 @@ <version>2.19.1</version> </plugin> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <version>2.4</version> - </plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.4</version> + </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>3.0.3</version> <configuration> <findbugsXmlOutput>true</findbugsXmlOutput> - <findbugsXmlWithMessages>true</findbugsXmlWithMessages> - <excludeFilterFile>findbugs-excluded.xml</excludeFilterFile> + <findbugsXmlWithMessages>true</findbugsXmlWithMessages> + <excludeFilterFile>findbugs-excluded.xml</excludeFilterFile> <xmlOutput>true</xmlOutput> <effort>Max</effort> <threshold>Low</threshold> @@ -597,8 +605,8 @@ <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <configuration> - <!-- in theory we should only need one of these and it would be nice to get - rid of them alltogether but that's for another day --> + <!-- in theory we should only need one of these and it would be nice + to get rid of them alltogether but that's for another day --> <failOnError>false</failOnError> <additionalparam>-Xdoclint:none</additionalparam> </configuration> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |