Commit in java/trunk/parent on MAIN
pom.xml+39-33402 -> 403
Better fix for lifecycle not covered error in Eclipse.  Reverts previous changes to default build targets and antrun goal.

java/trunk/parent
pom.xml 402 -> 403
--- java/trunk/parent/pom.xml	2014-03-27 20:01:17 UTC (rev 402)
+++ java/trunk/parent/pom.xml	2014-03-27 20:55:35 UTC (rev 403)
@@ -1,5 +1,5 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <prerequisites>
         <maven>3.0</maven>
     </prerequisites>
@@ -9,19 +9,16 @@
     <packaging>pom</packaging>
     <version>3.0.2-SNAPSHOT</version>
     <name>parent</name>
-
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <org.lcsim.cacheDir>${user.home}</org.lcsim.cacheDir>
         <lcsimVersion>3.0.4-SNAPSHOT</lcsimVersion>
     </properties>
-    
     <scm>
         <url>http://java.freehep.org/svn/repos/hps/list/java/trunk/parent/</url>
         <connection>scm:svn:svn://svn.freehep.org/hps/java/trunk/parent/</connection>
         <developerConnection>scm:svn:svn://svn.freehep.org/hps/java/trunk/parent/</developerConnection>
     </scm>
-
     <repositories>
         <repository>
             <id>freehep-repo-public</id>
@@ -45,7 +42,6 @@
             </releases>
         </repository>
     </repositories>
-
     <pluginRepositories>
         <pluginRepository>
             <id>freehep-maven-plugin-repo</id>
@@ -53,7 +49,6 @@
             <url>http://srs.slac.stanford.edu/nexus/content/groups/freehep-maven2-public/</url>
         </pluginRepository>
     </pluginRepositories>
-
     <distributionManagement>
         <repository>
             <id>lcsim-repo-releases</id>
@@ -70,7 +65,6 @@
             <url>dav:http://srs.slac.stanford.edu/nexus/content/sites/lcsim-site/hps/</url>
         </site>
     </distributionManagement>
-
     <dependencies>
         <dependency>
             <groupId>junit</groupId>
@@ -78,7 +72,6 @@
             <version>3.8.2</version>
         </dependency>
     </dependencies>
-
     <!-- DO NOT EDIT THESE DEPENDENCY VERSIONS MANUALLY. -->
     <dependencyManagement>
         <dependencies>
@@ -107,15 +100,8 @@
                 <artifactId>hps-conditions</artifactId>
                 <version>3.0.2-SNAPSHOT</version>
             </dependency>
-<!--            
             <dependency>
                 <groupId>org.hps</groupId>
-                <artifactId>hps-java</artifactId>
-                <version>3.0.2-SNAPSHOT</version>
-            </dependency>
--->            
-            <dependency>
-                <groupId>org.hps</groupId>
                 <artifactId>hps-ecal-recon</artifactId>
                 <version>3.0.2-SNAPSHOT</version>
             </dependency>
@@ -171,7 +157,6 @@
             </dependency>
         </dependencies>
     </dependencyManagement>
-
     <reporting>
         <plugins>
             <plugin>
@@ -202,10 +187,10 @@
                             <report>index</report>
                             <report>scm</report>
                             <report>summary</report>
-                        </reports> 
-                    </reportSet> 
-                </reportSets> 
-            </plugin> 
+                        </reports>
+                    </reportSet>
+                </reportSets>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-report-plugin</artifactId>
@@ -213,9 +198,8 @@
             </plugin>
         </plugins>
     </reporting>
-
     <build>
-        <defaultGoal>post-clean install</defaultGoal>
+        <defaultGoal>install</defaultGoal>
         <extensions>
             <extension>
                 <groupId>org.apache.maven.wagon</groupId>
@@ -233,6 +217,33 @@
                         <chmod>false</chmod>
                     </configuration>
                 </plugin>
+                <!-- This fixes the lifecycle not covered by plugin execution error in Eclipse. -->
+                <plugin>
+                    <groupId>org.eclipse.m2e</groupId>
+                    <artifactId>lifecycle-mapping</artifactId>
+                    <version>1.0.0</version>
+                    <configuration>
+                        <lifecycleMappingMetadata>
+                            <pluginExecutions>
+                                <pluginExecution>
+                                    <pluginExecutionFilter>
+                                        <groupId>org.apache.maven.plugins</groupId>
+                                        <artifactId>maven-antrun-plugin</artifactId>
+                                        <versionRange>[1.7,)</versionRange>
+                                        <goals>
+                                            <goal>run</goal>
+                                        </goals>
+                                    </pluginExecutionFilter>
+                                    <action>
+                                        <execute>
+                                            <runOnIncremental>false</runOnIncremental>
+                                        </execute>
+                                    </action>
+                                </pluginExecution>
+                            </pluginExecutions>
+                        </lifecycleMappingMetadata>
+                    </configuration>
+                </plugin>
             </plugins>
         </pluginManagement>
         <plugins>
@@ -280,11 +291,12 @@
                 </configuration>
             </plugin>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <version>1.7</version>
                 <executions>
                     <execution>
-                        <phase>post-clean</phase>
+                        <phase>generate-test-resources</phase>
                         <configuration>
                             <target>
                                 <!-- Create the directory for test output. -->
@@ -304,7 +316,6 @@
             </plugin>
         </plugins>
     </build>
-
     <developers>
         <developer>
             <name>Jeremy McCormick</name>
@@ -320,7 +331,7 @@
                 <aim>jeremyslac</aim>
             </properties>
         </developer>
-       <developer>
+        <developer>
             <name>Norman Graf</name>
             <email>[log in to unmask]</email>
             <organization>SLAC National Accelerator Laboratory</organization>
@@ -332,7 +343,7 @@
             <properties>
                 <aim>ngraf137</aim>
             </properties>
-        </developer>        
+        </developer>
         <developer>
             <name>Matthew Graham</name>
             <email>[log in to unmask]</email>
@@ -373,7 +384,6 @@
             <timezone>-8</timezone>
         </developer>
     </developers>
-
     <contributors>
         <contributor>
             <name>Sebouh Paul</name>
@@ -389,7 +399,6 @@
             </properties>
         </contributor>
     </contributors>
-
     <mailingLists>
         <mailingList>
             <name>hps-software</name>
@@ -399,15 +408,12 @@
             <archive>https://listserv.slac.stanford.edu/cgi-bin/wa?A0=HPS-SOFTWARE</archive>
         </mailingList>
     </mailingLists>
-
     <issueManagement>
         <system>JIRA</system>
         <url>https://jira.slac.stanford.edu/browse/HPSJAVA/</url>
     </issueManagement>
-
     <ciManagement>
         <system>Jenkins</system>
         <url>http://srs.slac.stanford.edu/hudson/view/HPS/</url>
     </ciManagement>
-
-</project>
+</project>
\ No newline at end of file
SVNspam 0.1