You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Simon Laws <si...@googlemail.com> on 2008/08/21 12:53:18 UTC
Re: Error running mvn in sca\itest\osgi-tuscany
On Thu, Aug 21, 2008 at 11:32 AM, <Da...@empolis.com> wrote:
> Hi all,
>
> I just checked out Tuscany from trunk. I want to build the Tuscany OSGi
> bundles.
> When executing mvn in sca\itest\osgi-tuscany I get the following error:
>
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.tuscany.sca
> ArtifactId: tuscany-maven-bundle-plugin
> Version: 1.4-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> org.apache.tuscany.sca:tuscany-maven-bundle-plugin:pom:1.4-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> apache.incubator
> (http://people.apache.org/repo/m2-incubating-repository),
> apache.ws.zone (http://ws.zones.apache.org/repository2),
> apache.snapshots
> (http://people.apache.org/repo/m2-snapshot-repository),
> osuosl.org (http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2),
> codehaus-snapshot (http://snapshots.repository.codehaus.org),
> apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
> indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/)
>
> Bye,
> Daniel
>
Hi Daniel
Yeah, that a new plugin and it doesn't look like we've published a snapshot
yet. While we sort that out can you build it locally. Not sure how many of
the tools you have to build. Try it on it's own to start with.
cd sca/tools/maven/maven-tuscany-bundle-plugin
mvn
Regards
Simon
AW: Error running mvn in sca\itest\osgi-tuscany
Posted by Da...@empolis.com.
Thanks Rajini,
by downgrading to maven 2.0.7 I could create all Tuscany bundles.
Re-integrating Tuscany to our application will take some time, but I
will let you know about it as soon as possible.
Bye,
Daniel
Von: Rajini Sivaram [mailto:rajinisivaram@googlemail.com]
Gesendet: Freitag, 22. August 2008 20:45
An: user@tuscany.apache.org
Betreff: Re: Error running mvn in sca\itest\osgi-tuscany
Daniel,
There is a problem with the jruby pom file and maven-2.0.9. You should
be able to build itest/osgi-tuscany with an earlier version of maven.
You will need the latest copy of tuscany. The bundles generated by
itest/osgi-tuscany are versioned - I would be interested to know if they
work with your application, and whether the versioning helps with the
classloading issues that you were running into earlier.
On 8/22/08, Daniel.Stucky@empolis.com <Da...@empolis.com> wrote:
Hi Simon,
well, in the Tuscany incubator the OSGi bundles were created by running
maven in itest/osgi-tuscany.
I just want to create Tuscany bundles to work with Tuscany in OSGi.
That's all J
Bye,
Daniel
Hi Daniel
I've tried this myself and it doesn't work for me either. Although I get
test failures rather than the jruby funny you're seeing.
I know Raymond has been reorganizing the OSGi support but I haven't
caught up with the changes he has been making yet, e.g. this maven
plugin we had to compile is not in the build yet. osgi-tuscany is not
running in the build either and I think the plan is to replace it with
node-launcher-osgi and an associated maven profile. AFAIK we don't yet
have the profile done though to run all the tuscany tests in OSGi mode.
What were you trying to achive?
Regards
Simon
--
Thank you...
Regards,
Rajini
Re: Error running mvn in sca\itest\osgi-tuscany
Posted by Rajini Sivaram <ra...@googlemail.com>.
Daniel,
There is a problem with the jruby pom file and maven-2.0.9. You should be
able to build itest/osgi-tuscany with an earlier version of maven. You will
need the latest copy of tuscany. The bundles generated by itest/osgi-tuscany
are versioned - I would be interested to know if they work with your
application, and whether the versioning helps with the classloading issues
that you were running into earlier.
On 8/22/08, Daniel.Stucky@empolis.com <Da...@empolis.com> wrote:
>
> Hi Simon,
>
>
>
> well, in the Tuscany incubator the OSGi bundles were created by running
> maven in itest/osgi-tuscany.
>
> I just want to create Tuscany bundles to work with Tuscany in OSGi. That's
> all J
>
>
>
> Bye,
>
> Daniel
>
>
>
>
>
>
>
>
> Hi Daniel
>
> I've tried this myself and it doesn't work for me either. Although I get
> test failures rather than the jruby funny you're seeing.
>
> I know Raymond has been reorganizing the OSGi support but I haven't caught
> up with the changes he has been making yet, e.g. this maven plugin we had to
> compile is not in the build yet. osgi-tuscany is not running in the build
> either and I think the plan is to replace it with node-launcher-osgi and an
> associated maven profile. AFAIK we don't yet have the profile done though to
> run all the tuscany tests in OSGi mode.
>
> What were you trying to achive?
>
> Regards
>
> Simon
>
>
--
Thank you...
Regards,
Rajini
AW: Error running mvn in sca\itest\osgi-tuscany
Posted by Da...@empolis.com.
Hi Simon,
well, in the Tuscany incubator the OSGi bundles were created by running
maven in itest/osgi-tuscany.
I just want to create Tuscany bundles to work with Tuscany in OSGi.
That's all J
Bye,
Daniel
Hi Daniel
I've tried this myself and it doesn't work for me either. Although I get
test failures rather than the jruby funny you're seeing.
I know Raymond has been reorganizing the OSGi support but I haven't
caught up with the changes he has been making yet, e.g. this maven
plugin we had to compile is not in the build yet. osgi-tuscany is not
running in the build either and I think the plan is to replace it with
node-launcher-osgi and an associated maven profile. AFAIK we don't yet
have the profile done though to run all the tuscany tests in OSGi mode.
What were you trying to achive?
Regards
Simon
Re: Error running mvn in sca\itest\osgi-tuscany
Posted by Simon Laws <si...@googlemail.com>.
On Thu, Aug 21, 2008 at 12:52 PM, <Da...@empolis.com> wrote:
> Thanks Simon,
>
>
>
> building the missing plugin locally works.
>
>
>
> However, running mvn in sca\itest\osgi-tuscany again now leads to the
> following problem:
>
>
>
> [WARNING] Attempting to build MavenProject instance for Artifact
> (org.jruby:jruby-complete:1.0) of type: jar; constructing POM artifact
> instead.
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD ERROR
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Error building POM (may not be this project's POM).
>
>
>
>
>
> Project ID: org.jruby:jruby-complete
>
> POM Location: Artifact [org.jruby:jruby-complete:jar:1.0:compile]
>
>
>
> Reason: The POM expression: ${java.specification.version} could not be
> evaluated. Reason: Expression
>
> value '${java.specification.version}' references itself in
> 'org.jruby:jruby-complete:jar:1.0'. for
>
> project org.jruby:jruby-complete at Artifact
> [org.jruby:jruby-complete:jar:1.0:compile]
>
>
>
>
>
> In my local maven repository there is a jruby-complete-1.0.jar
>
>
>
> Bye,
>
> Daniel
>
>
>
>
>
> *Von:* Simon Laws [mailto:simonslaws@googlemail.com]
> *Gesendet:* Donnerstag, 21. August 2008 12:53
> *An:* user@tuscany.apache.org
> *Betreff:* Re: Error running mvn in sca\itest\osgi-tuscany
>
>
>
>
>
> On Thu, Aug 21, 2008 at 11:32 AM, <Da...@empolis.com> wrote:
>
> Hi all,
>
> I just checked out Tuscany from trunk. I want to build the Tuscany OSGi
> bundles.
> When executing mvn in sca\itest\osgi-tuscany I get the following error:
>
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.tuscany.sca
> ArtifactId: tuscany-maven-bundle-plugin
> Version: 1.4-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> org.apache.tuscany.sca:tuscany-maven-bundle-plugin:pom:1.4-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> apache.incubator
> (http://people.apache.org/repo/m2-incubating-repository),
> apache.ws.zone (http://ws.zones.apache.org/repository2),
> apache.snapshots
> (http://people.apache.org/repo/m2-snapshot-repository),
> osuosl.org (http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2),
> codehaus-snapshot (http://snapshots.repository.codehaus.org),
> apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
> indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/)
>
> Bye,
> Daniel
>
>
> Hi Daniel
>
> Yeah, that a new plugin and it doesn't look like we've published a snapshot
> yet. While we sort that out can you build it locally. Not sure how many of
> the tools you have to build. Try it on it's own to start with.
>
> cd sca/tools/maven/maven-tuscany-bundle-plugin
> mvn
>
> Regards
>
> Simon
>
Hi Daniel
I've tried this myself and it doesn't work for me either. Although I get
test failures rather than the jruby funny you're seeing.
I know Raymond has been reorganizing the OSGi support but I haven't caught
up with the changes he has been making yet, e.g. this maven plugin we had to
compile is not in the build yet. osgi-tuscany is not running in the build
either and I think the plan is to replace it with node-launcher-osgi and an
associated maven profile. AFAIK we don't yet have the profile done though to
run all the tuscany tests in OSGi mode.
What were you trying to achive?
Regards
Simon
AW: Error running mvn in sca\itest\osgi-tuscany
Posted by Da...@empolis.com.
Thanks Simon,
building the missing plugin locally works.
However, running mvn in sca\itest\osgi-tuscany again now leads to the
following problem:
[WARNING] Attempting to build MavenProject instance for Artifact
(org.jruby:jruby-complete:1.0) of type: jar; constructing POM artifact
instead.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.jruby:jruby-complete
POM Location: Artifact [org.jruby:jruby-complete:jar:1.0:compile]
Reason: The POM expression: ${java.specification.version} could not be
evaluated. Reason: Expression
value '${java.specification.version}' references itself in
'org.jruby:jruby-complete:jar:1.0'. for
project org.jruby:jruby-complete at Artifact
[org.jruby:jruby-complete:jar:1.0:compile]
In my local maven repository there is a jruby-complete-1.0.jar
Bye,
Daniel
Von: Simon Laws [mailto:simonslaws@googlemail.com]
Gesendet: Donnerstag, 21. August 2008 12:53
An: user@tuscany.apache.org
Betreff: Re: Error running mvn in sca\itest\osgi-tuscany
On Thu, Aug 21, 2008 at 11:32 AM, <Da...@empolis.com> wrote:
Hi all,
I just checked out Tuscany from trunk. I want to build the Tuscany OSGi
bundles.
When executing mvn in sca\itest\osgi-tuscany I get the following error:
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.tuscany.sca
ArtifactId: tuscany-maven-bundle-plugin
Version: 1.4-SNAPSHOT
Reason: Unable to download the artifact from any repository
org.apache.tuscany.sca:tuscany-maven-bundle-plugin:pom:1.4-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.incubator
(http://people.apache.org/repo/m2-incubating-repository),
apache.ws.zone (http://ws.zones.apache.org/repository2),
apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository),
osuosl.org (http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/)
Bye,
Daniel
Hi Daniel
Yeah, that a new plugin and it doesn't look like we've published a
snapshot yet. While we sort that out can you build it locally. Not sure
how many of the tools you have to build. Try it on it's own to start
with.
cd sca/tools/maven/maven-tuscany-bundle-plugin
mvn
Regards
Simon