Hola guys,

To get rid of eclipse errors the following additions to poms worked for me:

for CXF's generated classes the following helped:

in fcrepo-common/pom.xml i added the following as stated in the SO 
question at 
http://stackoverflow.com/questions/7160006/m2e-and-having-maven-generated-source-folders-as-eclipse-source-folders

<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>${project.build.directory}/generated-sources/cxf/</source>
     </sources>
    </configuration>
   </execution>
  </executions>
</plugin>



for the lifecycle mapping errors changing fcrepo-server/pom.xml 
according to this: 
http://wiki.eclipse.org/M2E_plugin_execution_not_covered#ignore_plugin_goal
did the trick

<pluginManagement>
  <plugins>
   <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.0.0,)</versionRange>
         <goals>
          <goal>java</goal>
         </goals>
        </pluginExecutionFilter>
        <action>
         <ignore />
        </action>
       </pluginExecution>
      </pluginExecutions>
     </lifecycleMappingMetadata>
    </configuration>
   </plugin>
  </plugins>
</pluginManagement>


hope this helps

Frank


-- 
*frank asseg*
softwareentwicklung
feichtmayrstrasse 37
76646 bruchsal
tel.: ++49-7251-322-6073
fax.: ++49-7251-322-6078
mail: frank.as...@congrace.de
web: http://www.congrace.de/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fedora-commons-developers mailing list
Fedora-commons-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to