cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r617785 - /cayenne/main/trunk/build-tools/maven-cayenne-build-plugin/src/main/java/org/apache/cayenne/maven/plugin/aggregator/AbstractAggregatorMojo.java
Date Sat, 02 Feb 2008 12:23:42 GMT
Author: aadamchik
Date: Sat Feb  2 04:23:38 2008
New Revision: 617785

URL: http://svn.apache.org/viewvc?rev=617785&view=rev
Log:
fixing the aggregation plugin to exclude generated sources incorrectly placed in the root
of the source folder

Modified:
    cayenne/main/trunk/build-tools/maven-cayenne-build-plugin/src/main/java/org/apache/cayenne/maven/plugin/aggregator/AbstractAggregatorMojo.java

Modified: cayenne/main/trunk/build-tools/maven-cayenne-build-plugin/src/main/java/org/apache/cayenne/maven/plugin/aggregator/AbstractAggregatorMojo.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/build-tools/maven-cayenne-build-plugin/src/main/java/org/apache/cayenne/maven/plugin/aggregator/AbstractAggregatorMojo.java?rev=617785&r1=617784&r2=617785&view=diff
==============================================================================
--- cayenne/main/trunk/build-tools/maven-cayenne-build-plugin/src/main/java/org/apache/cayenne/maven/plugin/aggregator/AbstractAggregatorMojo.java
(original)
+++ cayenne/main/trunk/build-tools/maven-cayenne-build-plugin/src/main/java/org/apache/cayenne/maven/plugin/aggregator/AbstractAggregatorMojo.java
Sat Feb  2 04:23:38 2008
@@ -52,9 +52,11 @@
  */
 public abstract class AbstractAggregatorMojo extends AbstractMojo {
 
-    // by default exclude maven entries from other jars and overlapping manifests
+    // by default exclude maven entries from other jars and overlapping manifests.
+    // note that excludes for the top package Java files and jj artifacts is done as a
+    // hack to remove generated JJTree parser classes placed in the wrong location
     static final String[] DEFAULT_EXCLUDES = new String[] {
-            "META-INF/maven/**", "META-INF/MANIFEST.MF"
+            "META-INF/maven/**", "META-INF/MANIFEST.MF", "**/.svn/**", "*.java", "*.jj"
     };
 
     /**



Mime
View raw message