4 Replies Latest reply on Apr 9, 2008 7:33 PM by vaidya

    1.4.2 tooling and maven

    vaidya

      Hi,

       

              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

      Scanning for projects...

      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

      RuntimeInstance initializing.

      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

      Created: 20 parsers.

      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) artifactId = wsdlFirst

         (f) basedir = C:\Users\Vaidya\FUSE\wsdlFirst

         (f) groupId = com.mycompany

         (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

         (f) version = 1.0-SNAPSHOT

      -- end configuration --

      archetype:create

      Defaulting package to group ID: com.mycompany

      We are using command line specified remote repositories: http://repo.open.iona.com/maven2

      Trying repository id0

      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

      -


      BUILD SUCCESSFUL

      -


      Total time: 2 second

      Finished at: Sun Apr 06 19:37:09 EDT 2008

      Memory 3M/8M

      -


      Error for project: Maven Default Project (during org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create)

      -


      Failed to resolve artifact.

       

      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

      BUILD ERRORS

      -


      Total time: 2 seconds

      Finished at: Sun Apr 06 19:37:09 EDT 2008

      Final Memory: 5M/9M

      -


      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)

        • 1. Re: 1.4.2 tooling and maven
          bsnyder

           

          ...

          ERROR mojo-execute : archetype:create

          Diagnosis: Error creating from archetype

          FATAL ERROR: Error executing Maven for a project

          ERROR 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

          ...

           

           

          From the error above, I can see that you're experiencing a documented problem with the maven-archetype-plugin version 2.0. Please see the following URL on the forums explaining the problem and offering some workarounds:

           

          http://open.iona.com/forums/thread.jspa?threadID=164&tstart=0

           

          Also, this week we're releasing an updated version of the FUSE Eclipse Tooling that works around this problem.

           

          Bruce

          • 2. Re: 1.4.2 tooling and maven
            vaidya

            Hi Bruce,

             

             

                     Thanks for your help. I am not sure how my question got blanked out   Anyways I followed the suggestions to make it work with eclipse so I can debug etc. It looks like the archteype->create is progressing now. I apologize in advance if the error is not related to fuse tooling etc.Here is what happens now :

             

             

             

            Thanks

            Vaidya

             

            ******Error Log ******

            DEBUG Found 0 components to load on start

            DEBUG Building Maven user-level plugin registry from: 'C:\Documents and Settings\f350077\.m2\plugin-registry.xml'

            settings.getPluginGroups().size() = 0

            INFO Scanning for projects...

            DEBUG 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.

            DEBUG 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.

            DEBUG Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.archetype:maven-archetype-parent:pom:2 from the repository.

            DEBUG Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository.

            DEBUG Found 0 components to load on start

            INFO -


            INFO Building Maven Default Project

            INFO task-segment: org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create (aggregator-style)

            INFO -


            DEBUG org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-7:runtime (selected for runtime)

            DEBUG 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.

            DEBUG 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.

            DEBUG Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.archetype:maven-archetype-parent:pom:2 from the repository.

            DEBUG Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository.

            DEBUG org.apache.maven.archetype:maven-archetype-core:jar:1.0-alpha-7:runtime (selected for runtime)

            DEBUG Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: null:plexus-utils:jar:1.1 from the repository.

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for runtime)

            DEBUG dom4j:dom4j:jar:1.6.1:runtime (selected for runtime)

            DEBUG xml-apis:xml-apis:jar:1.0.b2:runtime (selected for runtime)

            DEBUG 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.

            DEBUG Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: org.codehaus.plexus:plexus-containers:pom:1.0.3 from the repository.

            DEBUG org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)

            DEBUG junit:junit:jar:3.8.1:runtime (selected for runtime)

            DEBUG Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-model:jar:2.0 from the repository.

            DEBUG org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG org.codehaus.plexus:plexus-velocity:jar:1.1.2:runtime (selected for runtime)

            DEBUG 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.

            DEBUG Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: plexus:plexus-containers:pom:1.0.2 from the repository.

            DEBUG org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-7:runtime (removed - nearer found: 1.0-alpha-9)

            DEBUG commons-logging:commons-logging-api:jar:1.0.4:runtime (selected for runtime)

            DEBUG commons-collections:commons-collections:jar:2.0:runtime (selected for runtime)

            DEBUG velocity:velocity:jar:1.4:runtime (selected for runtime)

            DEBUG velocity:velocity-dep:jar:1.4:runtime (selected for runtime)

            DEBUG Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: plexus:plexus-utils:jar:1.0.2 from the repository.

            DEBUG plexus:plexus-utils:jar:1.0.2:runtime (selected for runtime)

            DEBUG 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.

            DEBUG Retrieving parent-POM: org.apache.maven:maven-parent::4 for project: org.apache.maven.shared:maven-shared-components:pom:4 from the repository.

            DEBUG Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:4 from the repository.

            DEBUG org.apache.maven.shared:maven-downloader:jar:1.0:runtime (selected for runtime)

            DEBUG Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-artifact-manager:jar:2.0 from the repository.

            DEBUG org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9)

            DEBUG Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-artifact:jar:2.0 from the repository.

            DEBUG org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-repository-metadata:jar:2.0 from the repository.

            DEBUG org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG Retrieving parent-POM: org.apache.maven:maven::2.0 for project: null:maven-project:jar:2.0 from the repository.

            DEBUG org.apache.maven:maven-project:jar:2.0:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9)

            DEBUG org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG org.apache.maven:maven-artifact-manager:jar:2.0:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9)

            DEBUG org.apache.maven:maven-repository-metadata:jar:2.0:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG Retrieving parent-POM: org.apache.maven:maven::2.0 for project: null:maven-profile:jar:2.0 from the repository.

            DEBUG org.apache.maven:maven-profile:jar:2.0:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            DEBUG org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9)

            DEBUG Retrieving parent-POM: org.apache.maven.archetype:maven-archetype::1.0-alpha-7 for project: null:maven-archetype-creator:jar:null from the repository.

            DEBUG 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.

            DEBUG Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.archetype:maven-archetype-parent:pom:2 from the repository.

            DEBUG Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository.

            DEBUG org.apache.maven.archetype:maven-archetype-creator:jar:1.0-alpha-7:runtime (selected for runtime)

            DEBUG Retrieving parent-POM: org.apache.maven.archetype:maven-archetype::1.0-alpha-7 for project: null:maven-archetype-model:jar:null from the repository.

            DEBUG 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.

            DEBUG Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.archetype:maven-archetype-parent:pom:2 from the repository.

            DEBUG Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository.

            DEBUG org.apache.maven.archetype:maven-archetype-model:jar:1.0-alpha-7:runtime (selected for runtime)

            DEBUG oro:oro:jar:2.0.8:runtime (selected for runtime)

            DEBUG Retrieving parent-POM: org.codehaus.plexus:plexus-components::1.1.4 for project: null:plexus-archiver:jar:1.0-alpha-5 from the repository.

            DEBUG Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for project: org.codehaus.plexus:plexus-components:pom:1.1.4 from the repository.

            DEBUG org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-5:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime (removed - nearer found: 1.0-alpha-9)

            DEBUG Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-plugin-api:jar:2.0 from the repository.

            DEBUG org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime)

            DEBUG org.apache.maven:maven-artifact:jar:2.0:runtime (selected for runtime)

            DEBUG org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.1)

            INFO Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.

            INFO Setting property: velocimacro.messages.on => 'false'.

            INFO Setting property: resource.loader => 'classpath'.

            INFO Setting property: resource.manager.logwhenfound => 'false'.

            INFO **************************************************************

            INFO Starting Jakarta Velocity v1.4

            INFO RuntimeInstance initializing.

            INFO Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties

            INFO Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)

            INFO Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader

            INFO ClasspathResourceLoader : initialization starting.

            INFO ClasspathResourceLoader : initialization complete.

            INFO ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)

            INFO Default ResourceManager initialization complete.

            INFO Loaded System Directive: org.apache.velocity.runtime.directive.Literal

            INFO Loaded System Directive: org.apache.velocity.runtime.directive.Macro

            INFO Loaded System Directive: org.apache.velocity.runtime.directive.Parse

            INFO Loaded System Directive: org.apache.velocity.runtime.directive.Include

            INFO Loaded System Directive: org.apache.velocity.runtime.directive.Foreach

            INFO Created: 20 parsers.

            INFO Velocimacro : initialization starting.

            INFO Velocimacro : adding VMs from VM library template : VM_global_library.vm

            ERROR ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.

            INFO Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'

            INFO Velocimacro : VM library template macro registration complete.

            INFO Velocimacro : allowInline = true : VMs can be defined inline in templates

            INFO Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions

            INFO Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.

            INFO Velocimacro : initialization complete.

            INFO Velocity successfully started.

            DEBUG Configuring mojo 'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create' -->

            DEBUG (f) archetypeArtifactId = servicemix-ftp-poller-service-unit

            DEBUG (f) archetypeGroupId = org.apache.servicemix.tooling

            DEBUG (f) archetypeVersion = 3.3.0.9-fuse

            DEBUG (f) artifactId = ftpPoller

            DEBUG (f) basedir = C:\Users\Vaidya\FUSE\ftpPoller

            DEBUG (f) groupId = com.freddiemac

            DEBUG (f) localRepository = local -> file://C:\Documents and Settings\f350077\.m2\repository

            DEBUG (f) pomRemoteRepositories = -> http://repo1.maven.org/maven2--

            DEBUG (f) project = org.apache.maven.project.MavenProject@4d607a92

            DEBUG (f) remoteRepositories = http://repo.open.iona.com/maven2

            DEBUG (f) version = 1.0-SNAPSHOT

            DEBUG -- end configuration --

            INFO archetype:create

            INFO Defaulting package to group ID: com.freddiemac

            INFO We are using command line specified remote repositories: http://repo.open.iona.com/maven2

            DEBUG Trying repository id0

            WARN Unable to get resource from repository id0 (http://repo.open.iona.com/maven2)

            ERROR mojo-execute : archetype:create

            Diagnosis: Error creating from archetype

            FATAL ERROR: Error executing Maven for a project

            ERROR 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

            INFO -


            INFO BUILD SUCCESSFUL

            INFO -


            INFO Total time: 2 second

            INFO Finished at: Mon Apr 07 09:56:59 EDT 2008

            INFO Memory 2M/7M

            INFO -


            INFO Error for project: Maven Default Project (during org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create)

            INFO -


            INFO Failed to resolve artifact.

             

            GroupId: org.apache.servicemix.tooling

            ArtifactId: servicemix-ftp-poller-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:

             

             

            from the specified remote repositories:

             

             

            INFO

             

            -


            DEBUG Trace Error creating from archetype

            INFO -


            ERROR reactor-execute : C:\Users\Vaidya\FUSE\ftpPoller

            FATAL ERROR: Error executing Maven for a project

            INFO BUILD ERRORS

            INFO -


            INFO Total time: 2 seconds

            INFO Finished at: Mon Apr 07 09:56:59 EDT 2008

            INFO Final Memory: 5M/9M

            INFO -


            org.apache.maven.reactor.MavenExecutionException: Some builds failed

             

            Edited by: vaidya on Apr 7, 2008 1:28 PM

            • 3. Re: 1.4.2 tooling and maven
              vaidya

              Hi Bruce,

               

               

              Hopefully this message will be visible as I pasted it from notepad Thanks to your help the build seems to progress. Unfortunately the project is still not created and fails at another stage. Please look at the error message posted above. Since this is my first week of trying to use Fuse as well as maven - I don't have an idea about how far it went...

               

               

              Thanks

              Vaidya

               

              Edited by: vaidya on Apr 8, 2008 9:55 AM

               

              Edited by: vaidya on Apr 8, 2008 9:55 AM

              • 4. Re: 1.4.2 tooling and maven
                vaidya

                Thanks to a suggestion from Jack Britton, FUSE team, project creation works successfully after removing all previous versions i.e com.logicblaze* , com.iona* from the eclipse plugin folder.

                 

                Thanks

                Vaidya