No, I haven't.  Could you explain how to do this?

thanks.


Adrian Co wrote:
> 
> Have you tried building the archetypes from source? AFAIK, they're not 
> built by default, when you do a build from the root.
> 
> CharlesP wrote:
>> I actually did both of those.  Changing the maven configuration seemed to
>> help me on some examples, but not this particular example.  I am running
>> from a directory created by the source install called
>> apache-servicemix/target/apache-servicemix-3.0.1-incubating/examples/hello-world-smx
>>
>> The directory starts out empty.
>>
>> thanks.
>>
>>
>>
>> gnodet wrote:
>>   
>>> You need to build servicemix 3.1 from sources
>>> or configure your maven2 to add the needed repositories
>>> as explained at
>>> http://servicemix.org/site/4-examples.html#4.Examples-Mavenconfiguration
>>> but with the following xml:
>>>
>>>   <pluginRepositories>
>>>     <pluginRepository>
>>>       <id>apache.incubating</id>
>>>       <name>Apache Incubating Repository</name>
>>>       <url>http://people.apache.org/repo/m2-incubating-repository</url>
>>>       <snapshots>
>>>         <enabled>false</enabled>
>>>       </snapshots>
>>>       <releases>
>>>          <enabled>true</enabled>
>>>       </releases>
>>>     </pluginRepository>
>>>     <pluginRepository>
>>>       <id>apache.snapshots</id>
>>>       <name>Apache Snapshots Repository</name>
>>>       <url>http://people.apache.org/repo/m2-snapshot-repository</url>
>>>       <snapshots>
>>>         <enabled>true</enabled>
>>>       </snapshots>
>>>       <releases>
>>>          <enabled>false</enabled>
>>>       </releases>
>>>     </pluginRepository>
>>>   </pluginRepositories>
>>>   <repositories>
>>>     <repository>
>>>       <id>apache.incubating</id>
>>>       <name>Apache Incubating Repository</name>
>>>       <url>http://people.apache.org/repo/m2-incubating-repository</url>
>>>       <snapshots>
>>>         <enabled>false</enabled>
>>>       </snapshots>
>>>       <releases>
>>>          <enabled>true</enabled>
>>>       </releases>
>>>     </repository>
>>>     <repository>
>>>       <id>apache.snapshots</id>
>>>       <name>Apache Snapshots Repository</name>
>>>       <url>http://people.apache.org/repo/m2-snapshot-repository</url>
>>>       <snapshots>
>>>         <enabled>true</enabled>
>>>       </snapshots>
>>>       <releases>
>>>          <enabled>false</enabled>
>>>       </releases>
>>>     </repository>
>>>   </repositories>
>>>
>>>
>>> On 1/10/07, CharlesP <[EMAIL PROTECTED]> wrote:
>>>     
>>>> I am trying to run the hello world example at
>>>> http://servicemix.org/site/hello-world-se.html.
>>>>
>>>> There appears to be a bad path.  org.apache.servicemix doesn't even
>>>> exist
>>>> from what I can tell.  This is the command I am running:
>>>>
>>>> mvn archetype:create \
>>>> -DarchetypeGroupId=org.apache.servicemix.tooling \
>>>> -DarchetypeArtifactId=servicemix-service-engine \
>>>> -DarchetypeVersion=3.1-incubating-SNAPSHOT \
>>>> -DgroupId=org.apache.servicemix.samples.helloworld \
>>>> -DartifactId=hello-world-su
>>>>
>>>> Here is the error:
>>>>
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Failed to resolve artifact.
>>>> GroupId: org.apache.servicemix.tooling
>>>> ArtifactId: servicemix-service-engine
>>>> Version: 3.1-incubating-SNAPSHOT
>>>>
>>>> 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-service-engine \
>>>>         -Dversion=3.1-incubating-SNAPSHOT -Dpackaging=jar
>>>> -Dfile=/path/to/file
>>>>
>>>>
>>>>
>>>> org.apache.servicemix.tooling:servicemix-service-engine:jar:3.1-incubating-SNAPSHOT
>>>>
>>>> from the specified remote repositories:
>>>>   central (http://repo1.maven.org/maven2)
>>>>
>>>> //End Error
>>>>
>>>> Any advice on what the correct path or repository should be?
>>>>
>>>> thanks
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Hello-World-Example-tf2954489s12049.html#a8264050
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>>       
>>> -- 
>>> Cheers,
>>> Guillaume Nodet
>>> ------------------------
>>> Architect, LogicBlaze (http://www.logicblaze.com/)
>>> Blog: http://gnodet.blogspot.com/
>>>
>>>
>>>     
>>
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Hello-World-Example-tf2954489s12049.html#a8278019
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to