Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1492

smx-arch(.bat) uses wrong version for archetypes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3
    • None
    • None

    Description

      Archetype version was changed to 4.0-SNAPSHOT in the process of moving them out of SMX trunk

      c:\java\apache-servicemix-3.3-SNAPSHOT\bin>smx-arch su cxf-se
      [INFO] Scanning for projects...
      [INFO] Searching repository for plugin with prefix: 'archetype'.
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Maven Default Project
      [INFO]    task-segment: [archetype:create] (aggregator-style)
      [INFO] ------------------------------------------------------------------------
      [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] [archetype:create]
      [WARNING] This goal is deprecated. Please use mvn archetype:generate instead
      [INFO] Defaulting package to group ID: com.mycompany
      [INFO] We are using command line specified remote repositories: http://people.ap
      ache.org/repo/m2-incubating-repository
      [INFO] snapshot org.apache.servicemix.tooling:servicemix-cxf-se-service-unit:3.3
      -SNAPSHOT: checking for updates from id0
      Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/s
      ervicemix/tooling/servicemix-cxf-se-service-unit/3.3-SNAPSHOT/servicemix-cxf-se-
      service-unit-3.3-SNAPSHOT.jar
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error creating from archetype
      
      Embedded error: OldArchetype does not exist.
      Unable to download the artifact from any repository
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2 seconds
      [INFO] Finished at: Wed Jul 30 08:24:59 CEST 2008
      [INFO] Final Memory: 8M/14M
      [INFO] ------------------------------------------------------------------------ 
      

      Attachments

        Activity

          People

            gertvanthienen Gert Vanthienen
            gertvanthienen Gert Vanthienen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: