You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Raymond Feng <en...@gmail.com> on 2007/01/25 17:35:07 UTC

Fail to build pre-spec-changes branch

Hi,

I ran into a build error with the "pre-spec-changes" branch using a clean local maven repo. It seems that we don't have "org.apache.tuscany:commonj-api_r1.1:jar:1.0-incubator-SNAPSHOT" published. What will happen for the spec-related modules? 

Thanks,
Raymond

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.tuscany:commonj-api_r1.1:jar:1.0-incubator-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.tuscany -DartifactId=commonj
-api_r1.1 \
          -Dversion=1.0-incubator-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.tuscany.sca.kernel:core:jar:0.1-pre-spec-SNAPSHOT
        2) org.apache.tuscany:commonj-api_r1.1:jar:1.0-incubator-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
  org.apache.tuscany.sca.kernel:core:jar:0.1-pre-spec-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  sateh (http://maven.sateh.com/maven2//),
  apache.ws.m1.snapshots (http://ws.zones.apache.org/repository),
  central (http://repo1.maven.org/maven2),
  apache.incubator (http://people.apache.org/repo/m2-incubating-repository/)

Re: pre-spec-changes branch builds successfully now, was: Fail to build pre-spec-changes branch

Posted by Jean-Sebastien Delfino <js...@apache.org>.
[snip]
Raymond Feng wrote:
> Hi, Jeremy.
>
> With your change, I can now build the pre-spec-changes branch 
> successfully from scratch (empty local maven repo).
>
> Thanks,
> Raymond
>

I thought it would be useful to get a list of the published JARs 
representing the stable level that people who want to build extensions 
can work with, and pointers to the corresponding source code.

pre-spec-changes snapshot jars:
under http://people.apache.org/repo/m2-snapshot-repository/
/org/apache/tuscany/sca/kernel/tuscany-api/0.1-pre-spec-SNAPSHOT/tuscany-api-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/kernel/tuscany-host-api/0.1-pre-spec-SNAPSHOT/tuscany-host-api-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/kernel/tuscany-spi/0.1-pre-spec-SNAPSHOT/tuscany-spi-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/kernel/core/0.1-pre-spec-SNAPSHOT/core-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/test/0.1-pre-spec-SNAPSHOT/test-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/services/maven/0.1-pre-spec-SNAPSHOT/maven-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/services/management/management-jmx/0.1-pre-spec-SNAPSHOT/management-jmx-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/runtime/webapp/webapp-api/0.1-pre-spec-SNAPSHOT/webapp-api-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/runtime/webapp/webapp-host/0.1-pre-spec-SNAPSHOT/webapp-host-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/runtime/webapp/tuscany-war-plugin/0.1-pre-spec-SNAPSHOT/tuscany-war-plugin-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/runtime/standalone/standalone-api/0.1-pre-spec-SNAPSHOT/standalone-api-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/runtime/standalone/launcher/0.1-pre-spec-SNAPSHOT/launcher-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/runtime/standalone/standalone-host/0.1-pre-spec-SNAPSHOT/standalone-host-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/runtime/standalone/server.start/0.1-pre-spec-SNAPSHOT/server.start-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/runtime/standalone/server.shutdown/0.1-pre-spec-SNAPSHOT/server.shutdown-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/runtime/standalone/tuscany-standalone-plugin/0.1-pre-spec-SNAPSHOT/tuscany-standalone-plugin-0.1-pre-spec-20070123.232742-1.jar
/org/apache/tuscany/sca/runtime/standalone/smoketest/0.1-pre-spec-SNAPSHOT/smoketest-0.1-pre-spec-20070123.232742-1.jar

corresponding source in our SVN under branches/pre-spec-changes/

sca-api-r95 snapshot jars
under http://people.apache.org/repo/m2-snapshot-repository/
/org/osoa/sca-api-r0.95/1.0-incubator-SNAPSHOT/sca-api-r0.95-1.0-incubator-20070118.000845-2.jar

corresponding source in our SVN under java/spec/sca/ revision r497187
I am assuming that we will change the artifact id or version number if 
we make changes and republish it.

work manager api jar from M2
under http://people.apache.org/repo/m2-incubating-repository/
/org/apache/tuscany/commonj-api_r1.1/1.0-incubator-M2/commonj-api_r1.1-1.0-incubator-M2.jar

corresponding source in our SVN under branches/sca-java-M2.

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


pre-spec-changes branch builds successfully now, was: Fail to build pre-spec-changes branch

Posted by Raymond Feng <en...@gmail.com>.
Hi, Jeremy.

With your change, I can now build the pre-spec-changes branch successfully 
from scratch (empty local maven repo).

Thanks,
Raymond

----- Original Message ----- 
From: "Jeremy Boynes" <jb...@apache.org>
To: <tu...@ws.apache.org>
Sent: Thursday, January 25, 2007 11:50 AM
Subject: Re: Fail to build pre-spec-changes branch


> Re commonj, that isn't something that should be changing so we should 
> just change this to rely on the M2 version. I'll do that.
>
> Re the sca spec, there are likely to be API changes for 1.0 so we 
> probably want to keep the samples using 0.95 until those stablize.
>
> --
> Jeremy
>
> On Jan 25, 2007, at 8:35 AM, Raymond Feng wrote:
>
>> Hi,
>>
>> I ran into a build error with the "pre-spec-changes" branch using a 
>> clean local maven repo. It seems that we don't have 
>> "org.apache.tuscany:commonj-api_r1.1:jar:1.0-incubator-SNAPSHOT" 
>> published. What will happen for the spec-related modules?
>>
>> Thanks,
>> Raymond
>>
>> 
>> INFO]  ----------------------------------------------------------------------
>> --
>> [ERROR] BUILD ERROR
>> 
>> INFO]  ----------------------------------------------------------------------
>> --
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) org.apache.tuscany:commonj-api_r1.1:jar:1.0-incubator-SNAPSHOT
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>       mvn install:install-file -DgroupId=org.apache.tuscany - 
>> DartifactId=commonj
>> -api_r1.1 \
>>           -Dversion=1.0-incubator-SNAPSHOT -Dpackaging=jar -Dfile=/ 
>> path/to/file
>>
>>   Path to dependency:
>>         1) org.apache.tuscany.sca.kernel:core:jar:0.1-pre-spec- SNAPSHOT
>>         2) org.apache.tuscany:commonj-api_r1.1:jar:1.0-incubator- 
>> SNAPSHOT
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Fail to build pre-spec-changes branch

Posted by Jeremy Boynes <jb...@apache.org>.
Re commonj, that isn't something that should be changing so we should  
just change this to rely on the M2 version. I'll do that.

Re the sca spec, there are likely to be API changes for 1.0 so we  
probably want to keep the samples using 0.95 until those stablize.

--
Jeremy

On Jan 25, 2007, at 8:35 AM, Raymond Feng wrote:

> Hi,
>
> I ran into a build error with the "pre-spec-changes" branch using a  
> clean local maven repo. It seems that we don't have  
> "org.apache.tuscany:commonj-api_r1.1:jar:1.0-incubator-SNAPSHOT"  
> published. What will happen for the spec-related modules?
>
> Thanks,
> Raymond
>
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD ERROR
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.tuscany:commonj-api_r1.1:jar:1.0-incubator-SNAPSHOT
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.tuscany - 
> DartifactId=commonj
> -api_r1.1 \
>           -Dversion=1.0-incubator-SNAPSHOT -Dpackaging=jar -Dfile=/ 
> path/to/file
>
>   Path to dependency:
>         1) org.apache.tuscany.sca.kernel:core:jar:0.1-pre-spec- 
> SNAPSHOT
>         2) org.apache.tuscany:commonj-api_r1.1:jar:1.0-incubator- 
> SNAPSHOT

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Fail to build pre-spec-changes branch

Posted by Jean-Sebastien Delfino <js...@apache.org>.
Raymond Feng wrote:
> Hi,
>
> I ran into a build error with the "pre-spec-changes" branch using a clean local maven repo. It seems that we don't have "org.apache.tuscany:commonj-api_r1.1:jar:1.0-incubator-SNAPSHOT" published. What will happen for the spec-related modules? 
>
> Thanks,
> Raymond
>
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.tuscany:commonj-api_r1.1:jar:1.0-incubator-SNAPSHOT
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.tuscany -DartifactId=commonj
> -api_r1.1 \
>           -Dversion=1.0-incubator-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency:
>         1) org.apache.tuscany.sca.kernel:core:jar:0.1-pre-spec-SNAPSHOT
>         2) org.apache.tuscany:commonj-api_r1.1:jar:1.0-incubator-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>   org.apache.tuscany.sca.kernel:core:jar:0.1-pre-spec-SNAPSHOT
>
> from the specified remote repositories:
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   sateh (http://maven.sateh.com/maven2//),
>   apache.ws.m1.snapshots (http://ws.zones.apache.org/repository),
>   central (http://repo1.maven.org/maven2),
>   apache.incubator (http://people.apache.org/repo/m2-incubating-repository/)
>   

It looks like the kernel  in the pre-spec branch  depends on  sca-api 
0.95 1.0-incubator-snapshot and commonj-api_r1.1 1.0-incubator-snapshot.

If we are expecting changes in the spec APIs (and I think we are) 
shouldn't we include them in the pre-spec branch as well and publish 
corresponding pre-spec snapshots?

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org