You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by si...@apache.org on 2011/09/16 16:09:45 UTC

svn commit: r1171574 - /cocoon/cocoon3/trunk/cocoon-cli/pom.xml

Author: simonetripodi
Date: Fri Sep 16 14:09:45 2011
New Revision: 1171574

URL: http://svn.apache.org/viewvc?rev=1171574&view=rev
Log:
dropped useless plugins (side effect of c'n'p) and plugged the appassembler plugin

Modified:
    cocoon/cocoon3/trunk/cocoon-cli/pom.xml

Modified: cocoon/cocoon3/trunk/cocoon-cli/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-cli/pom.xml?rev=1171574&r1=1171573&r2=1171574&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-cli/pom.xml (original)
+++ cocoon/cocoon3/trunk/cocoon-cli/pom.xml Fri Sep 16 14:09:45 2011
@@ -79,146 +79,30 @@
 
     <build>
         <plugins>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>javacc-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>javacc</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>javacc</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>build-helper-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>add-source</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>add-source</goal>
-                        </goals>
-                        <configuration>
-                            <sources>
-                                <source>target/generated-sources/javacc</source>
-                            </sources>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>test-compile</phase>
-                        <goals>
-                            <goal>exec</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <executable>java</executable>
-                    <classpathScope>test</classpathScope>
-                    <arguments>
-                        <argument>-classpath</argument>
-                        <classpath />
-                        <argument>org.apache.xalan.xsltc.cmdline.Compile</argument>
-                        <argument>-d</argument>
-                        <argument>target/test-classes</argument>
-                        <argument>-p</argument>
-                        <argument>org.apache.cocoon.sax</argument>
-                        <argument>-o</argument>
-                        <argument>CompiledXslt</argument>
-                        <argument>src/test/resources/test.xslt</argument>
-                    </arguments>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>rat-maven-plugin</artifactId>
-                <configuration>
-                    <excludes>
-                        <exclude>src/test/resources/META-INF/services/javax.xml.transform.TransformerFactory</exclude>
-                        <exclude>src/test/resources/just-text.txt</exclude>
-                    </excludes>
-                </configuration>
-            </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>appassembler-maven-plugin</artifactId>
+        <version>1.1.1</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>assemble</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <repositoryLayout>flat</repositoryLayout>
+          <repositoryName>lib</repositoryName>
+          <extraJvmArguments>-Xms500m -Xmx500m -XX:PermSize=128m -XX:-UseGCOverheadLimit</extraJvmArguments>
+          <programs>
+            <program>
+              <mainClass>org.apache.cocoon.cli.Main</mainClass>
+              <name>c3pipe</name>
+            </program>
+          </programs>
+        </configuration>
+      </plugin>
         </plugins>
-        <pluginManagement>
-            <plugins>
-        <!--This plugin's configuration is used to store Eclipse m2e settings 
-          only. It has no influence on the Maven build itself
-          (see http://wiki.eclipse.org/M2E_plugin_execution_not_covered). -->
-                <plugin>
-                    <groupId>org.eclipse.m2e</groupId>
-                    <artifactId>lifecycle-mapping</artifactId>
-                    <version>1.0.0</version>
-                    <configuration>
-                        <lifecycleMappingMetadata>
-                            <pluginExecutions>
-                                <pluginExecution>
-                                    <pluginExecutionFilter>
-                                        <groupId>org.codehaus.mojo</groupId>
-                                        <artifactId>exec-maven-plugin</artifactId>
-                                        <versionRange>[1.1,)</versionRange>
-                                        <goals>
-                                            <goal>exec</goal>
-                                        </goals>
-                                    </pluginExecutionFilter>
-                                    <action>
-                                        <ignore/>
-                                    </action>
-                                </pluginExecution>
-                                <pluginExecution>
-                                  <pluginExecutionFilter>
-                                    <groupId>org.codehaus.mojo</groupId>
-                                    <artifactId>
-                                      build-helper-maven-plugin
-                                    </artifactId>
-                                    <versionRange>[1.7,)</versionRange>
-                                    <goals>
-                                      <goal>add-source</goal>
-                                    </goals>
-                                  </pluginExecutionFilter>
-                                  <action>
-                                    <ignore></ignore>
-                                  </action>
-                                </pluginExecution>
-                                <pluginExecution>
-                                  <pluginExecutionFilter>
-                                    <groupId>org.codehaus.mojo</groupId>
-                                    <artifactId>
-                                      javacc-maven-plugin
-                                    </artifactId>
-                                    <versionRange>[2.6,)</versionRange>
-                                    <goals>
-                                      <goal>javacc</goal>
-                                    </goals>
-                                  </pluginExecutionFilter>
-                                  <action>
-                                    <ignore></ignore>
-                                  </action>
-                                </pluginExecution>
-                            </pluginExecutions>
-                        </lifecycleMappingMetadata>
-                    </configuration>
-                </plugin>
-            </plugins>
-        </pluginManagement>
     </build>
-
-    <reporting>
-        <plugins>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>javacc-maven-plugin</artifactId>
-                <version>2.6</version>
-            </plugin>
-        </plugins>
-    </reporting>
 </project>