You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by cmalonzo <cr...@simulalabs.com> on 2006/11/03 08:24:36 UTC

Re: Problem: running examples

Hi Bernie, 

Are you running the Basic Example from the Binary or Source distribution?

If you have the source distribution, I think it's best to install the entire
application first before running the examples. With this, all of the
dependencies will be downloaded to your local repository and thus, you'll
not have dependency-related problems when running the examples.

However, if you have the binary distribution, you'll notice that the pom.xml
inside examples/basic doesn't have a list of repositories where it can get
the dependencies that the application needs. As a workaround, you can add
this in pom.xml: (got this from the parent pom.xml included in the source)

    <repositories>
        <!-- keep the central repo so that it is first tried -->
        <repository>
            <id>central</id>
            <url>http://www.ibiblio.org/maven2</url>
        </repository>
        <!-- Dependencies not on central repo -->
        <repository>
            <id>servicemix-m2-repo</id>
            <name>Servicemix Maven2 Repository</name>
            <url>http://servicemix.org/m2-repo</url>
        </repository>
        <!-- AMQ 4 release -->
        <repository>
            <id>activemq-tmp-repo</id>
            <name>ActiveMQ Maven2 Temp Repository</name>
           
<url>http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven2</url>
        </repository>
        <repository>
            <id>apache-repo</id>
            <name>Apache Repository</name>
           
<url>http://people.apache.org/repo/m2-incubating-repository</url>
        </repository>
    </repositories>
    <pluginRepositories>       
	<pluginRepository>
            <id>apache-repo2</id>
            <name>Apache Repository2</name>
           
<url>http://people.apache.org/repo/m2-incubating-repository</url>
        </pluginRepository>
    </pluginRepositories>

This will enable maven to download the dependencies from different repo if
it cannot download from the central/default maven remote repository.

And also, people.apache was down for a time few weeks back, you may want to
try and run that example now that it is up and running again. =)

Cheers,
Cristina Malonzo


bernulfiskus wrote:
> 
> Hi!
> 
> I'm new with Servicemix and Maven. If i run the basic example I got the
> following error (ServiceMix is already started):
> 
> C:\workspaces\servicemix\examples\basic>mvn jbi:embeddedServicemix
> [INFO] Scanning for projects...
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/s
> ervicemix/samples/3.0-incubating/samples-3.0-incubating.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> 
> 
> Project ID: org.apache.servicemix.samples:basic:jar:null
> 
> Reason: Cannot find parent: org.apache.servicemix:samples for project:
> org.apach
> e.servicemix.samples:basic:jar:null
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> org.apache
> .servicemix:samples for project:
> org.apache.servicemix.samples:basic:jar:null
>         at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> 
> Some idea?
> 
> Bernie
> 

-- 
View this message in context: http://www.nabble.com/Problem%3A-running-examples-tf2500173.html#a7152928
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem: running examples

Posted by Guillaume Nodet <gn...@gmail.com>.
You should trash your maven repository.
This is a common solution to maven problems.
And eventually reinstall maven (but there's not much in the
distribution).

On 11/3/06, bernulfiskus <be...@stiwa.com> wrote:
>
> Hi!
>
> This entries are already in the pom.xml
>
> It seems to be a general problem of my maven-installationen. I tried to
> compile a simple maven-project and I got the same nullpointer-exception
> (org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292)...
>
> Bernie
>
>
>
> cmalonzo wrote:
> >
> > Hi,
> >
> > If I'm not mistaken, I think I encountered an error similar to that a
> > while ago when I was reproducing your error. Anyway, adding the
> >
> >     <pluginRepositories>
> >       <pluginRepository>
> >             <id>apache-repo2</id>
> >             <name>Apache Repository2</name>
> >
> > <url>http://people.apache.org/repo/m2-incubating-repository</url>
> >         </pluginRepository>
> >     </pluginRepositories>
> >
> > in pom.xml (inside examples/basic) solved my problem. Maven is trying to
> > download from the central repository, adding this will let Maven get the
> > stuff that it needs from a different repository, in this case, from
> > people.apache.org. =)
> >
> > Let me know if this helps.
> >
> > Cheers,
> > Cristina Malonzo
> >
> >
> > bernulfiskus wrote:
> >>
> >> Hi!
> >>
> >> Thank you for your answer. I'm using the binary distribution.
> >> I've solved the problem with the POM-building, but now I'm have a problem
> >> with the maven-jbi-plugin...
> >> -> http://www.nabble.com/jbi-maven-plugin-not-found-t2538569.html
> >>
> >> Bernie
> >>
> >>
> >>
> >> cmalonzo wrote:
> >>>
> >>> Hi Bernie,
> >>>
> >>> Are you running the Basic Example from the Binary or Source
> >>> distribution?
> >>>
> >>> If you have the source distribution, I think it's best to install the
> >>> entire application first before running the examples. With this, all of
> >>> the dependencies will be downloaded to your local repository and thus,
> >>> you'll not have dependency-related problems when running the examples.
> >>>
> >>> However, if you have the binary distribution, you'll notice that the
> >>> pom.xml inside examples/basic doesn't have a list of repositories where
> >>> it can get the dependencies that the application needs. As a workaround,
> >>> you can add this in pom.xml: (got this from the parent pom.xml included
> >>> in the source)
> >>>
> >>>     <repositories>
> >>>         <!-- keep the central repo so that it is first tried -->
> >>>         <repository>
> >>>             <id>central</id>
> >>>             <url>http://www.ibiblio.org/maven2</url>
> >>>         </repository>
> >>>         <!-- Dependencies not on central repo -->
> >>>         <repository>
> >>>             <id>servicemix-m2-repo</id>
> >>>             <name>Servicemix Maven2 Repository</name>
> >>>             <url>http://servicemix.org/m2-repo</url>
> >>>         </repository>
> >>>         <!-- AMQ 4 release -->
> >>>         <repository>
> >>>             <id>activemq-tmp-repo</id>
> >>>             <name>ActiveMQ Maven2 Temp Repository</name>
> >>>
> >>> <url>http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven2</url>
> >>>         </repository>
> >>>         <repository>
> >>>             <id>apache-repo</id>
> >>>             <name>Apache Repository</name>
> >>>
> >>> <url>http://people.apache.org/repo/m2-incubating-repository</url>
> >>>         </repository>
> >>>     </repositories>
> >>>     <pluginRepositories>
> >>>     <pluginRepository>
> >>>             <id>apache-repo2</id>
> >>>             <name>Apache Repository2</name>
> >>>
> >>> <url>http://people.apache.org/repo/m2-incubating-repository</url>
> >>>         </pluginRepository>
> >>>     </pluginRepositories>
> >>>
> >>> This will enable maven to download the dependencies from different repo
> >>> if it cannot download from the central/default maven remote repository.
> >>>
> >>> And also, people.apache was down for a time few weeks back, you may want
> >>> to try and run that example now that it is up and running again. =)
> >>>
> >>> Cheers,
> >>> Cristina Malonzo
> >>>
> >>>
> >>> bernulfiskus wrote:
> >>>>
> >>>> Hi!
> >>>>
> >>>> I'm new with Servicemix and Maven. If i run the basic example I got the
> >>>> following error (ServiceMix is already started):
> >>>>
> >>>> C:\workspaces\servicemix\examples\basic>mvn jbi:embeddedServicemix
> >>>> [INFO] Scanning for projects...
> >>>> Downloading:
> >>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/s
> >>>> ervicemix/samples/3.0-incubating/samples-3.0-incubating.pom
> >>>> [INFO]
> >>>> ------------------------------------------------------------------------
> >>>> [ERROR] FATAL ERROR
> >>>> [INFO]
> >>>> ------------------------------------------------------------------------
> >>>> [INFO] Error building POM (may not be this project's POM).
> >>>>
> >>>>
> >>>> Project ID: org.apache.servicemix.samples:basic:jar:null
> >>>>
> >>>> Reason: Cannot find parent: org.apache.servicemix:samples for project:
> >>>> org.apach
> >>>> e.servicemix.samples:basic:jar:null
> >>>>
> >>>>
> >>>> [INFO]
> >>>> ------------------------------------------------------------------------
> >>>> [INFO] Trace
> >>>> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> >>>> org.apache
> >>>> .servicemix:samples for project:
> >>>> org.apache.servicemix.samples:basic:jar:null
> >>>>         at
> >>>> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
> >>>>         at
> >>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
> >>>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> >>>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> >>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>>         at
> >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> >>>> java:39)
> >>>>
> >>>> Some idea?
> >>>>
> >>>> Bernie
> >>>>
> >>>
> >>>
> >>
> >>
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Problem%3A-running-examples-tf2500173s12049.html#a7156205
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet

Re: Problem: running examples

Posted by bernulfiskus <be...@stiwa.com>.
Hi!

This entries are already in the pom.xml

It seems to be a general problem of my maven-installationen. I tried to
compile a simple maven-project and I got the same nullpointer-exception
(org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292)...

Bernie



cmalonzo wrote:
> 
> Hi,
> 
> If I'm not mistaken, I think I encountered an error similar to that a
> while ago when I was reproducing your error. Anyway, adding the
> 
>     <pluginRepositories>       
> 	<pluginRepository>
>             <id>apache-repo2</id>
>             <name>Apache Repository2</name>
>            
> <url>http://people.apache.org/repo/m2-incubating-repository</url>
>         </pluginRepository>
>     </pluginRepositories>
> 
> in pom.xml (inside examples/basic) solved my problem. Maven is trying to
> download from the central repository, adding this will let Maven get the
> stuff that it needs from a different repository, in this case, from
> people.apache.org. =)
> 
> Let me know if this helps. 
> 
> Cheers,
> Cristina Malonzo
> 
> 
> bernulfiskus wrote:
>> 
>> Hi!
>> 
>> Thank you for your answer. I'm using the binary distribution.
>> I've solved the problem with the POM-building, but now I'm have a problem
>> with the maven-jbi-plugin... 
>> -> http://www.nabble.com/jbi-maven-plugin-not-found-t2538569.html
>> 
>> Bernie
>> 
>> 
>> 
>> cmalonzo wrote:
>>> 
>>> Hi Bernie, 
>>> 
>>> Are you running the Basic Example from the Binary or Source
>>> distribution?
>>> 
>>> If you have the source distribution, I think it's best to install the
>>> entire application first before running the examples. With this, all of
>>> the dependencies will be downloaded to your local repository and thus,
>>> you'll not have dependency-related problems when running the examples.
>>> 
>>> However, if you have the binary distribution, you'll notice that the
>>> pom.xml inside examples/basic doesn't have a list of repositories where
>>> it can get the dependencies that the application needs. As a workaround,
>>> you can add this in pom.xml: (got this from the parent pom.xml included
>>> in the source)
>>> 
>>>     <repositories>
>>>         <!-- keep the central repo so that it is first tried -->
>>>         <repository>
>>>             <id>central</id>
>>>             <url>http://www.ibiblio.org/maven2</url>
>>>         </repository>
>>>         <!-- Dependencies not on central repo -->
>>>         <repository>
>>>             <id>servicemix-m2-repo</id>
>>>             <name>Servicemix Maven2 Repository</name>
>>>             <url>http://servicemix.org/m2-repo</url>
>>>         </repository>
>>>         <!-- AMQ 4 release -->
>>>         <repository>
>>>             <id>activemq-tmp-repo</id>
>>>             <name>ActiveMQ Maven2 Temp Repository</name>
>>>            
>>> <url>http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven2</url>
>>>         </repository>
>>>         <repository>
>>>             <id>apache-repo</id>
>>>             <name>Apache Repository</name>
>>>            
>>> <url>http://people.apache.org/repo/m2-incubating-repository</url>
>>>         </repository>
>>>     </repositories>
>>>     <pluginRepositories>       
>>> 	<pluginRepository>
>>>             <id>apache-repo2</id>
>>>             <name>Apache Repository2</name>
>>>            
>>> <url>http://people.apache.org/repo/m2-incubating-repository</url>
>>>         </pluginRepository>
>>>     </pluginRepositories>
>>> 
>>> This will enable maven to download the dependencies from different repo
>>> if it cannot download from the central/default maven remote repository.
>>> 
>>> And also, people.apache was down for a time few weeks back, you may want
>>> to try and run that example now that it is up and running again. =)
>>> 
>>> Cheers,
>>> Cristina Malonzo
>>> 
>>> 
>>> bernulfiskus wrote:
>>>> 
>>>> Hi!
>>>> 
>>>> I'm new with Servicemix and Maven. If i run the basic example I got the
>>>> following error (ServiceMix is already started):
>>>> 
>>>> C:\workspaces\servicemix\examples\basic>mvn jbi:embeddedServicemix
>>>> [INFO] Scanning for projects...
>>>> Downloading:
>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/s
>>>> ervicemix/samples/3.0-incubating/samples-3.0-incubating.pom
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] FATAL ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Error building POM (may not be this project's POM).
>>>> 
>>>> 
>>>> Project ID: org.apache.servicemix.samples:basic:jar:null
>>>> 
>>>> Reason: Cannot find parent: org.apache.servicemix:samples for project:
>>>> org.apach
>>>> e.servicemix.samples:basic:jar:null
>>>> 
>>>> 
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Trace
>>>> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
>>>> org.apache
>>>> .servicemix:samples for project:
>>>> org.apache.servicemix.samples:basic:jar:null
>>>>         at
>>>> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>>>>         at
>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
>>>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>>>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>         at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>>> java:39)
>>>> 
>>>> Some idea?
>>>> 
>>>> Bernie
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem%3A-running-examples-tf2500173s12049.html#a7156205
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem: running examples

Posted by cmalonzo <cr...@simulalabs.com>.
Hi,

If I'm not mistaken, I think I encountered an error similar to that a while
ago when I was reproducing your error. Anyway, adding the

    <pluginRepositories>       
	<pluginRepository>
            <id>apache-repo2</id>
            <name>Apache Repository2</name>
           
<url>http://people.apache.org/repo/m2-incubating-repository</url>
        </pluginRepository>
    </pluginRepositories>

in pom.xml (inside examples/basic) solved my problem. Maven is trying to
download from the central repository, adding this will let Maven get the
stuff that it needs from a different repository, in this case, from
people.apache.org. =)

Let me know if this helps. 

Cheers,
Cristina Malonzo


bernulfiskus wrote:
> 
> Hi!
> 
> Thank you for your answer. I'm using the binary distribution.
> I've solved the problem with the POM-building, but now I'm have a problem
> with the maven-jbi-plugin... 
> -> http://www.nabble.com/jbi-maven-plugin-not-found-t2538569.html
> 
> Bernie
> 
> 
> 
> cmalonzo wrote:
>> 
>> Hi Bernie, 
>> 
>> Are you running the Basic Example from the Binary or Source distribution?
>> 
>> If you have the source distribution, I think it's best to install the
>> entire application first before running the examples. With this, all of
>> the dependencies will be downloaded to your local repository and thus,
>> you'll not have dependency-related problems when running the examples.
>> 
>> However, if you have the binary distribution, you'll notice that the
>> pom.xml inside examples/basic doesn't have a list of repositories where
>> it can get the dependencies that the application needs. As a workaround,
>> you can add this in pom.xml: (got this from the parent pom.xml included
>> in the source)
>> 
>>     <repositories>
>>         <!-- keep the central repo so that it is first tried -->
>>         <repository>
>>             <id>central</id>
>>             <url>http://www.ibiblio.org/maven2</url>
>>         </repository>
>>         <!-- Dependencies not on central repo -->
>>         <repository>
>>             <id>servicemix-m2-repo</id>
>>             <name>Servicemix Maven2 Repository</name>
>>             <url>http://servicemix.org/m2-repo</url>
>>         </repository>
>>         <!-- AMQ 4 release -->
>>         <repository>
>>             <id>activemq-tmp-repo</id>
>>             <name>ActiveMQ Maven2 Temp Repository</name>
>>            
>> <url>http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven2</url>
>>         </repository>
>>         <repository>
>>             <id>apache-repo</id>
>>             <name>Apache Repository</name>
>>            
>> <url>http://people.apache.org/repo/m2-incubating-repository</url>
>>         </repository>
>>     </repositories>
>>     <pluginRepositories>       
>> 	<pluginRepository>
>>             <id>apache-repo2</id>
>>             <name>Apache Repository2</name>
>>            
>> <url>http://people.apache.org/repo/m2-incubating-repository</url>
>>         </pluginRepository>
>>     </pluginRepositories>
>> 
>> This will enable maven to download the dependencies from different repo
>> if it cannot download from the central/default maven remote repository.
>> 
>> And also, people.apache was down for a time few weeks back, you may want
>> to try and run that example now that it is up and running again. =)
>> 
>> Cheers,
>> Cristina Malonzo
>> 
>> 
>> bernulfiskus wrote:
>>> 
>>> Hi!
>>> 
>>> I'm new with Servicemix and Maven. If i run the basic example I got the
>>> following error (ServiceMix is already started):
>>> 
>>> C:\workspaces\servicemix\examples\basic>mvn jbi:embeddedServicemix
>>> [INFO] Scanning for projects...
>>> Downloading:
>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/s
>>> ervicemix/samples/3.0-incubating/samples-3.0-incubating.pom
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] FATAL ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Error building POM (may not be this project's POM).
>>> 
>>> 
>>> Project ID: org.apache.servicemix.samples:basic:jar:null
>>> 
>>> Reason: Cannot find parent: org.apache.servicemix:samples for project:
>>> org.apach
>>> e.servicemix.samples:basic:jar:null
>>> 
>>> 
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Trace
>>> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
>>> org.apache
>>> .servicemix:samples for project:
>>> org.apache.servicemix.samples:basic:jar:null
>>>         at
>>> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>>>         at
>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
>>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>         at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>> java:39)
>>> 
>>> Some idea?
>>> 
>>> Bernie
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem%3A-running-examples-tf2500173.html#a7154617
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem: running examples

Posted by bernulfiskus <be...@stiwa.com>.
Hi!

Thank you for your answer. I'm using the binary distribution.
I've solved the problem with the POM-building, but now I'm have a problem
with the maven-jbi-plugin... 
-> http://www.nabble.com/jbi-maven-plugin-not-found-t2538569.html

Bernie



cmalonzo wrote:
> 
> Hi Bernie, 
> 
> Are you running the Basic Example from the Binary or Source distribution?
> 
> If you have the source distribution, I think it's best to install the
> entire application first before running the examples. With this, all of
> the dependencies will be downloaded to your local repository and thus,
> you'll not have dependency-related problems when running the examples.
> 
> However, if you have the binary distribution, you'll notice that the
> pom.xml inside examples/basic doesn't have a list of repositories where it
> can get the dependencies that the application needs. As a workaround, you
> can add this in pom.xml: (got this from the parent pom.xml included in the
> source)
> 
>     <repositories>
>         <!-- keep the central repo so that it is first tried -->
>         <repository>
>             <id>central</id>
>             <url>http://www.ibiblio.org/maven2</url>
>         </repository>
>         <!-- Dependencies not on central repo -->
>         <repository>
>             <id>servicemix-m2-repo</id>
>             <name>Servicemix Maven2 Repository</name>
>             <url>http://servicemix.org/m2-repo</url>
>         </repository>
>         <!-- AMQ 4 release -->
>         <repository>
>             <id>activemq-tmp-repo</id>
>             <name>ActiveMQ Maven2 Temp Repository</name>
>            
> <url>http://people.apache.org/~chirino/incubator-activemq-4.0.2-RC3/maven2</url>
>         </repository>
>         <repository>
>             <id>apache-repo</id>
>             <name>Apache Repository</name>
>            
> <url>http://people.apache.org/repo/m2-incubating-repository</url>
>         </repository>
>     </repositories>
>     <pluginRepositories>       
> 	<pluginRepository>
>             <id>apache-repo2</id>
>             <name>Apache Repository2</name>
>            
> <url>http://people.apache.org/repo/m2-incubating-repository</url>
>         </pluginRepository>
>     </pluginRepositories>
> 
> This will enable maven to download the dependencies from different repo if
> it cannot download from the central/default maven remote repository.
> 
> And also, people.apache was down for a time few weeks back, you may want
> to try and run that example now that it is up and running again. =)
> 
> Cheers,
> Cristina Malonzo
> 
> 
> bernulfiskus wrote:
>> 
>> Hi!
>> 
>> I'm new with Servicemix and Maven. If i run the basic example I got the
>> following error (ServiceMix is already started):
>> 
>> C:\workspaces\servicemix\examples\basic>mvn jbi:embeddedServicemix
>> [INFO] Scanning for projects...
>> Downloading:
>> http://people.apache.org/repo/m2-incubating-repository/org/apache/s
>> ervicemix/samples/3.0-incubating/samples-3.0-incubating.pom
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error building POM (may not be this project's POM).
>> 
>> 
>> Project ID: org.apache.servicemix.samples:basic:jar:null
>> 
>> Reason: Cannot find parent: org.apache.servicemix:samples for project:
>> org.apach
>> e.servicemix.samples:basic:jar:null
>> 
>> 
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
>> org.apache
>> .servicemix:samples for project:
>> org.apache.servicemix.samples:basic:jar:null
>>         at
>> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>> 
>> Some idea?
>> 
>> Bernie
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem%3A-running-examples-tf2500173.html#a7153245
Sent from the ServiceMix - User mailing list archive at Nabble.com.