Thanks Karolis for your message.

However, I would like to run servicemix embedded like in this example:
http://jee-bpel-soa.blogspot.com/2009/12/servicemix-problems-with-embedded-tests.html

Does anyone know why the archetype presented there (presented also on the
servicemix official website
http://servicemix.apache.org/maven-jbi-plugin.html) is not working and what
a workaround could look like?

Thanks

On Mon, Jan 10, 2011 at 6:32 PM, Karolis Petrauskas
<[email protected]>wrote:

> Hi,
>
>    I'm using servicemix to run unit tests. Altrough I am using it in
> the build that is made using apache ant and apache ivy. The servicemix
> is lounched in a testng testcase using spring context, that is very
> similar to the servicemix.xml file. I'm not using embedded=false,
> because in this case classloading is different, than in the
> non-embedded case.
>
> On Mon, Jan 10, 2011 at 12:39 PM, Laurentiu Trica
> <[email protected]> wrote:
> > Hello again,
> >
> > Anyone knows how could I use servicemix embedded? The details from the
> > official website are not working.
> >
> > Thanks.
> >
> > On Fri, Jan 7, 2011 at 5:25 PM, Laurentiu Trica <
> > [email protected]> wrote:
> >
> >> Hi,
> >>
> >> I want to run servicemix embedded for testing purposes.
> >> The archetype command provided on [1] servicemix website gives this
> command
> >>
> >> mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling
> >> -DarchetypeArtifactId=servicemix-embedded-simple
> >> -DarchetypeVersion=1.0-incubating-SNAPSHOT
> >> -DgroupId=org.apache.servicemix.samples.embedded
> >> -DartifactId=servicemix-embedded-example
> >>
> >> I get this error:
> >>
> >> [ERROR] BUILD ERROR
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Error creating from archetype
> >>
> >> Embedded error:
> >> org.apache.maven.archetype.downloader.DownloadNotFoundException:
> Requested
> >>
> org.apache.servicemix.tooling:servicemix-embedded-simple:jar:1.0-incubating-SNAPSHOT
> >> download does not exist.
> >> Unable to download the artifact from any repository
> >>
> >> Is there something wrong I am doing? Is there any best practices when it
> >> comes to testing service units / service assemblies?
> >>
> >> Thank you in advance.
> >>
> >> [1] http://servicemix.apache.org/maven-jbi-plugin.html
> >>
> >> --
> >> Laurentiu Trica
> >>
> >
> >
> >
> > --
> > Laurentiu Trica
> > Software Developer             Mobile: (+40) 722 329318
> > S.C MoreDevs S.R.L.          Email: [email protected]
> >
> > This message can contain privileged or confidential information and it is
> > intended only for addressee. Any unauthorized disclosure is strictly
> > prohibited.
> >
>
>
>
> --
> Karolis Petrauskas
>



-- 
Laurentiu Trica
Software Developer             Mobile: (+40) 722 329318
S.C MoreDevs S.R.L.          Email: [email protected]

This message can contain privileged or confidential information and it is
intended only for addressee. Any unauthorized disclosure is strictly
prohibited.

Reply via email to