documentation and build scripts points to not existing directories in 
repository 
---------------------------------------------------------------------------------

                 Key: SM-838
                 URL: https://issues.apache.org/activemq/browse/SM-838
             Project: ServiceMix
          Issue Type: Bug
    Affects Versions: 3.0
            Reporter: Kinga Dziembowski


I downloaded Servicemix 3.0. I am using the user guide instructions to achieve 
different goals. I am finding that scripts references nonexisting directory 
http://repo1.maven.org/maven2/org/apache/servicemix. 

There are many scripts which have this path. It will be really good to 
synchronize scripts with the real repository structure it will restore the  
value of the tutorials and other important instructions.. 
Example 1: go to http://incubator.apache.org/servicemix/servicemix-web.html  - 
and execute "mvn jetty6:run" you will get error for this reason.

Example 2: go to 
http://incubator.apache.org/servicemix/creating-a-standard-jbi-component.html 
and follow the instructions in "Using the maven2 archetype" - you will get 
build error . Partial log is below.
*******************************************************************************
[INFO] [archetype:create]
[INFO] Defaulting package to group ID: org.apache.servicemix.xslt
Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/tooling/service
mix-service-engine/3.0-incubating/servicemix-service-engine-3.0-incubating.jar
[WARNING] Unable to get resource from repository central (http://repo1.maven.org
/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.servicemix.tooling
ArtifactId: servicemix-service-engine
Version: 3.0-incubating

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 -DartifactI
d=servicemix-service-engine \
        -Dversion=3.0-incubating -Dpackaging=jar -Dfile=/path/to/file


  org.apache.servicemix.tooling:servicemix-service-engine:jar:3.0-incubating

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Feb 09 13:01:01 EST 2007
[INFO] Final Memory: 4M/8M
[INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to