incubator-any23-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1231648 - in /incubator/any23/trunk: core/pom.xml plugins/basic-crawler/pom.xml plugins/html-scraper/pom.xml plugins/office-scraper/pom.xml service/pom.xml
Date Sun, 15 Jan 2012 10:42:10 GMT
Author: simonetripodi
Date: Sun Jan 15 10:42:09 2012
New Revision: 1231648

URL: http://svn.apache.org/viewvc?rev=1231648&view=rev
Log:
assembly invocation moved to the release profile - it doesn't solve [ANY23-34] but let Jenkins
work

Modified:
    incubator/any23/trunk/core/pom.xml
    incubator/any23/trunk/plugins/basic-crawler/pom.xml
    incubator/any23/trunk/plugins/html-scraper/pom.xml
    incubator/any23/trunk/plugins/office-scraper/pom.xml
    incubator/any23/trunk/service/pom.xml

Modified: incubator/any23/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/core/pom.xml?rev=1231648&r1=1231647&r2=1231648&view=diff
==============================================================================
--- incubator/any23/trunk/core/pom.xml (original)
+++ incubator/any23/trunk/core/pom.xml Sun Jan 15 10:42:09 2012
@@ -156,61 +156,68 @@
         </includes>
       </resource>
     </resources>
+  </build>
+
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <!-- generates the bin launchers -->
+          <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>
+                <configuration>
+                  <repositoryLayout>flat</repositoryLayout>
+                  <repositoryName>lib</repositoryName>
+                  <extraJvmArguments>-Xms500m -Xmx500m -XX:PermSize=128m -XX:-UseGCOverheadLimit</extraJvmArguments>
+                  <programs>
+                    <program>
+                      <mainClass>org.apache.any23.cli.Rover</mainClass>
+                      <name>any23</name>
+                    </program>
+                    <program>
+                      <mainClass>org.apache.any23.cli.ToolRunner</mainClass>
+                      <name>any23tools</name>
+                    </program>
+                  </programs>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
 
-    <plugins>
-      <!-- generates the bin launchers -->
-      <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>
+          <!-- Generates the distribution package -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>assembly</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</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.any23.cli.Rover</mainClass>
-                  <name>any23</name>
-                </program>
-                <program>
-                  <mainClass>org.apache.any23.cli.ToolRunner</mainClass>
-                  <name>any23tools</name>
-                </program>
-              </programs>
+              <attach>false</attach>
+              <tarLongFileMode>gnu</tarLongFileMode>
+              <finalName>apache-any23-${project.version}</finalName>
+              <descriptors>
+                <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
+              </descriptors>
             </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
-      <!-- Generates the distribution package -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>assembly</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <attach>false</attach>
-          <tarLongFileMode>gnu</tarLongFileMode>
-          <finalName>apache-any23-${project.version}</finalName>
-          <descriptors>
-            <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
-          </descriptors>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 
 </project>

Modified: incubator/any23/trunk/plugins/basic-crawler/pom.xml
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/plugins/basic-crawler/pom.xml?rev=1231648&r1=1231647&r2=1231648&view=diff
==============================================================================
--- incubator/any23/trunk/plugins/basic-crawler/pom.xml (original)
+++ incubator/any23/trunk/plugins/basic-crawler/pom.xml Sun Jan 15 10:42:09 2012
@@ -106,29 +106,38 @@
           <forkMode>always</forkMode>
         </configuration>
       </plugin>
-
-      <!-- Generates the distribution package -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>assembly</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <attach>false</attach>
-          <tarLongFileMode>gnu</tarLongFileMode>
-          <descriptors>
-            <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
-          </descriptors>
-        </configuration>
-      </plugin>
     </plugins>
   </build>
 
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <!-- Generates the distribution package -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>assembly</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <attach>false</attach>
+              <tarLongFileMode>gnu</tarLongFileMode>
+              <descriptors>
+                <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>

Modified: incubator/any23/trunk/plugins/html-scraper/pom.xml
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/plugins/html-scraper/pom.xml?rev=1231648&r1=1231647&r2=1231648&view=diff
==============================================================================
--- incubator/any23/trunk/plugins/html-scraper/pom.xml (original)
+++ incubator/any23/trunk/plugins/html-scraper/pom.xml Sun Jan 15 10:42:09 2012
@@ -86,30 +86,37 @@
         </includes>
       </resource>
     </resources>
-
-    <plugins>
-      <!-- Generates the distribution package -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>assembly</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <attach>false</attach>
-          <tarLongFileMode>gnu</tarLongFileMode>
-          <descriptors>
-            <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
-          </descriptors>
-        </configuration>
-      </plugin>
-    </plugins>
   </build>
 
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <!-- Generates the distribution package -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>assembly</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <attach>false</attach>
+              <tarLongFileMode>gnu</tarLongFileMode>
+              <descriptors>
+                <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>

Modified: incubator/any23/trunk/plugins/office-scraper/pom.xml
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/plugins/office-scraper/pom.xml?rev=1231648&r1=1231647&r2=1231648&view=diff
==============================================================================
--- incubator/any23/trunk/plugins/office-scraper/pom.xml (original)
+++ incubator/any23/trunk/plugins/office-scraper/pom.xml Sun Jan 15 10:42:09 2012
@@ -69,30 +69,37 @@
         </includes>
       </resource>
     </resources>
-
-    <plugins>
-      <!-- Generates the distribution package -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>assembly</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <attach>false</attach>
-          <tarLongFileMode>gnu</tarLongFileMode>
-          <descriptors>
-            <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
-          </descriptors>
-        </configuration>
-      </plugin>
-    </plugins>
   </build>
 
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <!-- Generates the distribution package -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>assembly</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <attach>false</attach>
+              <tarLongFileMode>gnu</tarLongFileMode>
+              <descriptors>
+                <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>

Modified: incubator/any23/trunk/service/pom.xml
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/service/pom.xml?rev=1231648&r1=1231647&r2=1231648&view=diff
==============================================================================
--- incubator/any23/trunk/service/pom.xml (original)
+++ incubator/any23/trunk/service/pom.xml Sun Jan 15 10:42:09 2012
@@ -106,33 +106,40 @@
           </webAppConfig>
         </configuration>
       </plugin>
-
-      <!-- Generates the distribution package -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>assembly</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <attach>false</attach>
-          <tarLongFileMode>gnu</tarLongFileMode>
-          <descriptors>
-            <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
-          </descriptors>
-        </configuration>
-      </plugin>
     </plugins>
   </build>
 
   <profiles>
     <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <!-- Generates the distribution package -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>assembly</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <attach>false</attach>
+              <tarLongFileMode>gnu</tarLongFileMode>
+              <descriptors>
+                <descriptor>${basedir}/src/main/assembly/bin.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+    <profile>
       <id>self-contained-war</id>
       <activation>
         <activeByDefault>true</activeByDefault>



Mime
View raw message