Why importing fuse quickStarts expose maven compilation errors in JBDS ?
Issue
- When inmporting the FUSE-QS (fuse quickstarts) into DevStudio(8.1.0). The Studio complains with the following error/warning:
Description Resource Path Location Type
Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.5-redhat-1:resources failed: A required class was missing while executing org.apache.maven.plugins:maven-resources-plugin:2.5-redhat-1:resources: org/codehaus/plexus/util/Scanner
-----------------------------------------------------
realm = plugin>org.apache.maven.plugins:maven-resources-plugin:2.5-redhat-1
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/PATH/TO/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/2.5-redhat-1/maven-resources-plugin-2.5-redhat-1.jar
urls[1] = file:/PATH/TO/.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[project>org.jboss.quickstarts.fuse:cbr:6.1.1.redhat-412, parent: ClassRealm[maven.api, parent: null]]]
(org.apache.maven.plugins:maven-resources-plugin:2.5-redhat-1:resources:default-resources:process-resources) pom.xml /cbr line 27 Maven Build Problem
Description Resource Path Location Type
Plugin execution not covered by lifecycle configuration: org.apache.cxf:cxf-java2wadl-plugin:2.7.0.redhat-611412:java2wadl (execution: process-classes, phase: process-classes) pom.xml /rest line 247 Maven Project Build Lifecycle Mapping Problem
- I can run
mvn clean installfrom shell and inside Developers Studio using "run as", but still these warning exists. I did"maven->update all projects", but i still have the errors. Is there any changes needed in the maven"settings.xml".
Environment
- Red Hat JBoss Fuse
- 6.1.0
- Red Hat JBoss Developers Studio (JBDS)
- 8.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
