1.4.2 tooling and maven
vaidya Apr 6, 2008 7:52 PMHi,
I am trying to use the Fuse tooling and seem to run into different issues with the maven-archetype plugin, when I am trying to create a contract First or camel Route etc.( Eclipse -> File -> New -> Other-> JBI SU-> xyz )
1.4.2 tooling seems to use 1.0alpha-7 which I believe is the older maven archetype and errors out. ( Please see error log below )
1.4.1.1 tooling that was available seemed to use 2.0.alpha-2 which is the maven 2 version but seems to error out in different place. I cannot get to that version from my eclipse again somehow. Will try uninstalling 1.4.2 and try to get to the earlier version.
Can somebody please point me to what version of fuse tooling should be used and what version of maven ( if at all ) is needed. Is there a simple way to use a command to pull down *all* the necessary jars and have it available for the Fuse tooling to work?
Thanks much
Vaidya
************Error Log **********
Found 0 components to load on start
Building Maven user-level plugin registry from: 'C:\Documents and Settings\f350077\.m2\plugin-registry.xml'
settings.getPluginGroups().size() = 0
Retrieving parent-POM: org.apache.maven.archetype:maven-archetype::1.0-alpha-7 for project: org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:null from the repository.
Retrieving parent-POM: org.apache.maven.archetype:maven-archetype-parent::2 for project: org.apache.maven.archetype:maven-archetype:pom:1.0-alpha-7 from the repository.
Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.archetype:maven-archetype-parent:pom:2 from the repository.
Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository.
Found 0 components to load on start
Building Maven Default Project
task-segment: org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create (aggregator-style)
org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-7:runtime (selected for runtime)
Retrieving parent-POM: org.apache.maven.archetype:maven-archetype::1.0-alpha-7 for project: org.apache.maven.archetype:maven-archetype-core:jar:null from the repository.
Retrieving parent-POM: org.apache.maven.archetype:maven-archetype-parent::2 for project: org.apache.maven.archetype:maven-archetype:pom:1.0-alpha-7 from the repository.
Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.archetype:maven-archetype-parent:pom:2 from the repository.
Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository.
org.apache.maven.archetype:maven-archetype-core:jar:1.0-alpha-7:runtime (selected for runtime)
Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.
org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)
dom4j:dom4j:jar:1.6.1:runtime (selected for runtime)
xml-apis:xml-apis:jar:1.0.b2:runtime (selected for runtime)
Retrieving parent-POM: org.codehaus.plexus:plexus-containers::1.0.3 for project: null:plexus-container-default:jar:1.0-alpha-9 from the repository.
Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: org.codehaus.plexus:plexus-containers:pom:1.0.3 from the repository.
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
junit:junit:jar:3.8.1:runtime (selected for runtime)
Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-model:jar:2.0 from the repository.
org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
org.codehaus.plexus:plexus-velocity:jar:1.1.2:runtime (selected for runtime)
Retrieving parent-POM: plexus:plexus-containers::1.0.2 for project: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7 from the repository.
Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: plexus:plexus-containers:pom:1.0.2 from the repository.
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7:runtime (removed - nearer found: 1.0-alpha-9)
commons-logging:commons-logging-api:jar:1.0.4:runtime (selected for runtime)
commons-collections:commons-collections:jar:2.0:runtime (selected for runtime)
velocity:velocity:jar:1.4:runtime (selected for runtime)
velocity:velocity-dep:jar:1.4:runtime (selected for runtime)
Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: plexus:plexus-utils:jar:1.0.2 from the repository.
plexus:plexus-utils:jar:1.0.2:runtime (selected for runtime)
Retrieving parent-POM: org.apache.maven.shared:maven-shared-components::4 for project: org.apache.maven.shared:maven-downloader:jar:1.0 from the repository.
Retrieving parent-POM: org.apache.maven:maven-parent::4 for project: org.apache.maven.shared:maven-shared-components:pom:4 from the repository.
Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:4 from the repository.
org.apache.maven.shared:maven-downloader:jar:1.0:runtime (selected for runtime)
Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-artifact-manager:jar:2.0 from the repository.
org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9)
Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-artifact:jar:2.0 from the repository.
org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-repository-metadata:jar:2.0 from the repository.
org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
Retrieving parent-POM: org.apache.maven:maven::2.0 for project: null:maven-project:jar:2.0 from the repository.
org.apache.maven:maven-project:jar:2.0:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9)
org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9)
org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
Retrieving parent-POM: org.apache.maven:maven::2.0 for project: null:maven-profile:jar:2.0 from the repository.
org.apache.maven:maven-profile:jar:2.0:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9)
Retrieving parent-POM: org.apache.maven.archetype:maven-archetype::1.0-alpha-7 for project: null:maven-archetype-creator:jar:null from the repository.
Retrieving parent-POM: org.apache.maven.archetype:maven-archetype-parent::2 for project: org.apache.maven.archetype:maven-archetype:pom:1.0-alpha-7 from the repository.
Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.archetype:maven-archetype-parent:pom:2 from the repository.
Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository.
org.apache.maven.archetype:maven-archetype-creator:jar:1.0-alpha-7:runtime (selected for runtime)
Retrieving parent-POM: org.apache.maven.archetype:maven-archetype::1.0-alpha-7 for project: null:maven-archetype-model:jar:null from the repository.
Retrieving parent-POM: org.apache.maven.archetype:maven-archetype-parent::2 for project: org.apache.maven.archetype:maven-archetype:pom:1.0-alpha-7 from the repository.
Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.archetype:maven-archetype-parent:pom:2 from the repository.
Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository.
org.apache.maven.archetype:maven-archetype-model:jar:1.0-alpha-7:runtime (selected for runtime)
oro:oro:jar:2.0.8:runtime (selected for runtime)
Retrieving parent-POM: org.codehaus.plexus:plexus-components::1.1.4 for project: null:plexus-archiver:jar:1.0-alpha-5 from the repository.
Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: org.codehaus.plexus:plexus-components:pom:1.1.4 from the repository.
org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-5:runtime (selected for runtime)
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9)
Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-plugin-api:jar:2.0 from the repository.
org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime)
org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)
org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)
Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
Setting property: velocimacro.messages.on => 'false'.
Setting property: resource.loader => 'classpath'.
Setting property: resource.manager.logwhenfound => 'false'.
**************************************************************
Starting Jakarta Velocity v1.4
Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
ClasspathResourceLoader : initialization starting.
ClasspathResourceLoader : initialization complete.
ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
Default ResourceManager initialization complete.
Loaded System Directive: org.apache.velocity.runtime.directive.Literal
Loaded System Directive: org.apache.velocity.runtime.directive.Macro
Loaded System Directive: org.apache.velocity.runtime.directive.Parse
Loaded System Directive: org.apache.velocity.runtime.directive.Include
Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
Velocimacro : initialization starting.
Velocimacro : adding VMs from VM library template : VM_global_library.vm
ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
Velocimacro : VM library template macro registration complete.
Velocimacro : allowInline = true : VMs can be defined inline in templates
Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
Velocimacro : initialization complete.
Velocity successfully started.
Configuring mojo 'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create' -->
(f) archetypeArtifactId = servicemix-jsr181-wsdl-first-service-unit
(f) archetypeGroupId = org.apache.servicemix.tooling
(f) archetypeVersion = 3.3.0.9-fuse
(f) basedir = C:\Users\Vaidya\FUSE\wsdlFirst
(f) localRepository = -> file://C:\Documents and Settings\f350077\.m2\repository
(f) pomRemoteRepositories = [[central] -> http://repo1.maven.org/maven2]
(f) project = org.apache.maven.project.MavenProject@4d607a92
(f) remoteRepositories = http://repo.open.iona.com/maven2
Defaulting package to group ID: com.mycompany
We are using command line specified remote repositories: http://repo.open.iona.com/maven2
Unable to get resource from repository id0 (http://repo.open.iona.com/maven2)
mojo-execute : archetype:create
Diagnosis: Error creating from archetype
FATAL ERROR: Error executing Maven for a project
project-execute : org.apache.maven:super-pom:jar:2.0 ( task-segment: org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create (aggregator-style) )
Diagnosis: Error creating from archetype
FATAL ERROR: Error executing Maven for a project
Finished at: Sun Apr 06 19:37:09 EDT 2008
Error for project: Maven Default Project (during org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create)
GroupId: org.apache.servicemix.tooling
ArtifactId: servicemix-jsr181-wsdl-first-service-unit
Version: 3.3.0.9-fuse
Reason: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.servicemix.tooling -DartifactId=servicemix-jsr181-wsdl-first-service-unit \
-Dversion=3.3.0.9-fuse -Dpackaging=jar -Dfile=/path/to/file
org.apache.servicemix.tooling:servicemix-jsr181-wsdl-first-service-unit:jar:3.3.0.9-fuse
from the specified remote repositories:
id0 (http://repo.open.iona.com/maven2)
Trace Error creating from archetype
reactor-execute : C:\Users\Vaidya\FUSE\wsdlFirst
FATAL ERROR: Error executing Maven for a project
Finished at: Sun Apr 06 19:37:09 EDT 2008
org.apache.maven.reactor.MavenExecutionException: Some builds failed
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:210)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:690)
at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:112)