I am having issues with Isis and Eclipse 3.7. I am using the m2e maven plugin 
in eclipse.
The following error shows up in the Marker view in Eclipse.
Any ideas on how I can get around this issue?  I'm fairly new to maven and isis.


Execution default-resources of goal 
org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources failed: Unable 
to load the mojo 'resources' in the plugin 
'org.apache.maven.plugins:maven-resources-plugin:2.4.3'. A required class is 
missing: org/apache/maven/shared/filtering/MavenFilteringException
-----------------------------------------------------
realm =    plugin>org.apache.maven.plugins:maven-resources-plugin:2.4.3
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = 
file:/C:/softwaredistribution/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.jar
urls[1] = 
file:/C:/softwaredistribution/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------
(org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources:default-resources:process-resources)
      pom.xml                /isisnps-dom      line 19   Maven Build Problem


*******************************************
****** ISIS POM excerpt below.
*******************************************

                <!-- IDE support for Eclipse. (NetBeans 6.7+ and IDEA 7.0
                    have built-in support for Maven) Alternatively, use 
m2eclipse and import
                    POMs directly. -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-eclipse-plugin</artifactId>
                    <version>2.5.1</version> <!-- version 2.7 & 2.8 presently 
have a bug that prevents multiple-resources;
                        while 2.6 fails to use projectNameTemplate properly 
from being filtered -->
                    <configuration>
                        <downloadSources>true</downloadSources>
                        <downloadJavadocs>true</downloadJavadocs>
                        
<projectNameTemplate>[groupId].[artifactId]</projectNameTemplate>
                    </configuration>
                    <!-- use mvn eclipse:eclipse (no goals bound to phases) -->
                </plugin>

                <!-- Copies project resources to the output directory -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>2.4.3</version>
                    <!-- goal:resources binds to phase:process-resources -->
                    <!-- goal:testResources binds to 
phase:process-test-resources -->
                </plugin>


Jason Richardson
National Payments Service (NPS) Technical Lead
USDA/FSA/AFAO/SCADG
(Administrative and Financial Applications Office)
(Service Center Accounting & Debt Group)


Reply via email to