servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r664054 - /servicemix/components/engines/engines-pom/trunk/pom.xml
Date Fri, 06 Jun 2008 17:42:26 GMT
Author: chirino
Date: Fri Jun  6 10:42:26 2008
New Revision: 664054

URL: http://svn.apache.org/viewvc?rev=664054&view=rev
Log:
inlined the servicemix parent pom.. next up inlining it's parent.


Modified:
    servicemix/components/engines/engines-pom/trunk/pom.xml

Modified: servicemix/components/engines/engines-pom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/components/engines/engines-pom/trunk/pom.xml?rev=664054&r1=664053&r2=664054&view=diff
==============================================================================
--- servicemix/components/engines/engines-pom/trunk/pom.xml (original)
+++ servicemix/components/engines/engines-pom/trunk/pom.xml Fri Jun  6 10:42:26 2008
@@ -23,7 +23,7 @@
 
   <parent>
     <groupId>org.apache.servicemix</groupId>
-    <artifactId>parent</artifactId>
+    <artifactId>servicemix</artifactId>
     <version>3.3-SNAPSHOT</version>
   </parent>
 
@@ -51,6 +51,176 @@
         </executions>
       </plugin>
     </plugins>
+
+    <plugins>
+      <plugin>
+          <artifactId>maven-remote-resources-plugin</artifactId>
+          <version>1.0</version>
+          <dependencies>
+              <dependency>
+                  <groupId>org.apache.servicemix</groupId>
+                  <artifactId>build</artifactId>
+                  <version>${project.version}</version>
+              </dependency>
+          </dependencies>
+          <executions>
+              <execution>
+                  <goals>
+                     <goal>process</goal>
+                  </goals>
+                  <configuration>
+                      <resourceBundles>
+                          <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+                      </resourceBundles>
+                      <supplementalModels>
+                          <supplementalModel>notice-supplements.xml</supplementalModel>
+                      </supplementalModels>
+                      <properties>
+                          <projectName>Apache ServiceMix</projectName>
+                      </properties>
+                  </configuration>
+              </execution>
+          </executions>
+      </plugin>
+    </plugins>
   </build>
 
+  <profiles>
+    <profile>
+        <id>fastinstall</id>
+        <properties>
+            <maven.test.skip>true</maven.test.skip>
+        </properties>
+    </profile>
+    <profile>
+        <id>nochecks</id>
+    </profile>
+
+    <profile>
+        <!-- default profile enables checkstyle and Xlint stuff -->
+        <id>sourcecheck</id>
+        <activation>
+            <activeByDefault>true</activeByDefault>
+        </activation>
+        <build>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-checkstyle-plugin</artifactId>
+              <dependencies>
+                <dependency>
+                  <groupId>org.apache.servicemix</groupId>
+                  <artifactId>build</artifactId>
+                  <version>${project.version}</version>
+                </dependency>
+              </dependencies>
+              <executions>
+                <execution>
+                  <id>validate</id>
+                  <phase>validate</phase>
+                  <configuration>
+                    <configLocation>smx-checkstyle.xml</configLocation>
+                    <consoleOutput>true</consoleOutput>
+                    <failsOnError>true</failsOnError>
+                    <linkXRef>false</linkXRef>
+                    <suppressionsLocation>smx-checkstyle-suppressions.xml</suppressionsLocation>
+                    <sourceDirectory>${basedir}/src</sourceDirectory>
+                    <headerLocation>smx-checkstyle-header.txt</headerLocation>
+                  </configuration>
+                  <goals>
+                    <goal>checkstyle</goal>
+                  </goals>
+                </execution>
+              </executions>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-pmd-plugin</artifactId>
+              <dependencies>
+                <dependency>
+                  <groupId>org.apache.servicemix</groupId>
+                  <artifactId>build</artifactId>
+                  <version>${project.version}</version>
+                </dependency>
+              </dependencies>
+              <configuration>
+                <rulesets>
+                  <ruleset>smx-pmd-ruleset.xml</ruleset>
+                </rulesets>
+                <targetJdk>1.5</targetJdk>
+                <linkXRef>false</linkXRef>
+                <includeTests>true</includeTests>
+                <verbose>true</verbose>
+                <excludeRoots>
+                  <excludeRoot>${basedir}/src/main/generated</excludeRoot>
+                </excludeRoots>
+              </configuration>
+              <executions>
+                <execution>
+                  <id>validate</id>
+                  <phase>validate</phase>
+                  <goals>
+                    <goal>check</goal>
+                  </goals>
+                </execution>
+              </executions>
+            </plugin>
+          </plugins>
+        </build>
+      </profile>
+
+      <profile>
+          <id>setup.eclipse</id>
+          <build>
+              <defaultGoal>process-test-sources</defaultGoal>
+              <plugins>
+                  <plugin>
+                      <groupId>org.apache.maven.plugins</groupId>
+                      <artifactId>maven-eclipse-plugin</artifactId>
+                      <executions>
+                          <execution>
+                              <id>setup.eclipse.project</id>
+                              <phase>process-test-sources</phase>
+                              <goals>
+                                  <goal>eclipse</goal>
+                              </goals>
+                          </execution>
+                      </executions>
+                  </plugin>
+                  <plugin>
+                      <groupId>org.apache.maven.plugins</groupId>
+                      <artifactId>maven-antrun-plugin</artifactId>
+                      <dependencies>
+                          <dependency>
+                              <groupId>org.apache.servicemix</groupId>
+                              <artifactId>build</artifactId>
+                              <version>${project.version}</version>
+                          </dependency>
+                      </dependencies>
+                      <executions>
+                          <execution>
+                              <id>setup.workspace</id>
+                              <phase>validate</phase>
+                              <configuration>
+                                  <tasks>
+                                      <whichresource resource="/smx-eclipse-pmd" property="pmd.url"
/>
+                                      <whichresource resource="/smx-pmd-ruleset.xml" property="pmdruleset.url"
/>
+                                      <whichresource resource="/smx-eclipse-checkstyle"
property="eclipse.checkstyle.url" />
+
+                                      <get src="${pmdruleset.url}" dest=".ruleset" />
+                                      <get src="${pmd.url}" dest=".pmd" />
+                                      <get src="${eclipse.checkstyle.url}" dest=".checkstyle"
/>
+
+                                  </tasks>
+                              </configuration>
+                              <goals>
+                                  <goal>run</goal>
+                              </goals>
+                          </execution>
+                      </executions>
+                  </plugin>
+              </plugins>
+          </build>
+      </profile>
+    </profiles>
 </project>



Mime
View raw message