On Thu, Aug 21, 2008 at 12:52 PM, <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
> *Gesendet:* Donnerstag, 21. August 2008 12:53
> *An:* [email protected]
> *Betreff:* Re: Error running mvn in sca\itest\osgi-tuscany
>
>
>
>
>
> On Thu, Aug 21, 2008 at 11:32 AM, <[EMAIL PROTECTED]> 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