You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Ignacio Silva-Lepe <is...@gmail.com> on 2007/02/14 16:34:36 UTC

core-samples module

Quick question, should core-samples be buildable?

I am getting the following error:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.tuscany.sca:tuscany-itest-plugin' does not
exist o
r no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Feb 14 10:27:18 EST 2007
[INFO] Final Memory: 5M/11M
[INFO]
------------------------------------------------------------------------

I see a tuscany-itest-plugin-1.0-incubator-SNAPSHOT.jar in my local repo,
but standalone/calculator/pom.xml does not have a version for it; so, to try
something I added <version>1.0-incubator-SNAPSHOT</version> to said
pom.xml, and now I get:

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

GroupId: org.apache.tuscany.sca
ArtifactId: tuscany-itest-plugin
Version: 1.0-incubator-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.apache.tuscany.sca:tuscany-itest-plugin:pom:1.0-incubator-SNAPSHOT

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

I am probably missing something really simple, but just in case.

Thanks

Re: core-samples module

Posted by Ignacio Silva-Lepe <is...@gmail.com>.
Yeah, not sure I needed to do that (hoping not to). But when I
try mvn clean I get:



[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check
that t
he goal name is correct: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.tuscany.sca-DartifactId=tusca
ny-itest-plugin \
        -Dversion=1.0-incubator-SNAPSHOT -Dpackaging=maven-plugin
-Dfile=/path/t
o/file



org.apache.tuscany.sca:tuscany-itest-plugin:maven-plugin:1.0-incubator-SNAPSHO
T

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


org.apache.tuscany.sca:tuscany-itest-plugin:maven-plugin:1.0-incubator-SNAPSHO
T

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.incubator (http://people.apache.org/repo/m2-incubating-repository),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus-snapshot (http://snapshots.repository.codehaus.org)
which seems to also depend on the plugin. So then I try
to build the plugin in isolation, in runtime/itest/plugin, and I get
a slew of compilation errors, starting with:


[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

C:\Devt\eclipse-311\eclipse\workspace\trunk\sca\runtime\itest\plugin\src\main\ja
va\org\apache\tuscany\sca\plugin\itest\MavenMonitorFactory.java:[36,7]
cannot ac
cess org.apache.tuscany.host.MonitorFactory
file org\apache\tuscany\host\MonitorFactory.class not found
public class MavenMonitorFactory extends ProxyMonitorFactory {

C:\Devt\eclipse-311\eclipse\workspace\trunk\sca\runtime\itest\plugin\src\main\ja
va\org\apache\tuscany\sca\plugin\itest\implementation\junit\JUnitComponentTypeLo
ader.java:[30,32] package org.osoa.sca.annotations does not exist

C:\Devt\eclipse-311\eclipse\workspace\trunk\sca\runtime\itest\plugin\src\main\ja
va\org\apache\tuscany\sca\plugin\itest\implementation\junit\JUnitComponentTypeLo
ader.java:[32,41] package org.apache.tuscany.spi.annotation does not exist

C:\Devt\eclipse-311\eclipse\workspace\trunk\sca\runtime\itest\plugin\src\main\ja
va\org\apache\tuscany\sca\plugin\itest\implementation\junit\JUnitComponentTypeLo
ader.java:[33,40] package org.apache.tuscany.spi.component does not exist

C:\Devt\eclipse-311\eclipse\workspace\trunk\sca\runtime\itest\plugin\src\main\ja
va\org\apache\tuscany\sca\plugin\itest\implementation\junit\JUnitComponentTypeLo
ader.java:[34,39] package org.apache.tuscany.spi.deployer does not exist

C:\Devt\eclipse-311\eclipse\workspace\trunk\sca\runtime\itest\plugin\src\main\ja
va\org\apache\tuscany\sca\plugin\itest\implementation\junit\JUnitComponentTypeLo
ader.java:[35,40] package org.apache.tuscany.spi.extension does not exist

C:\Devt\eclipse-311\eclipse\workspace\trunk\sca\runtime\itest\plugin\src\main\ja
va\org\apache\tuscany\sca\plugin\itest\implementation\junit\JUnitComponentTypeLo
ader.java:[36,50] package org.apache.tuscany.spi.implementation.java does
not ex
ist

...

Any ideas?

On 2/14/07, Raymond Feng <en...@gmail.com> wrote:
>
> I think you need to build the itest plugin (under java/sca/runtime/itest)
> first.
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: "Ignacio Silva-Lepe" <is...@gmail.com>
> To: "Tuscany Dev List" < tuscany-dev@ws.apache.org>
> Sent: Wednesday, February 14, 2007 7:34 AM
> Subject: core-samples module
>
>
> > Quick question, should core-samples be buildable?
> >
> > I am getting the following error:
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
>
> > [INFO] The plugin 'org.apache.tuscany.sca:tuscany-itest-plugin' does not
> > exist o
> > r no valid version could be found
> > [INFO]
> > ------------------------------------------------------------------------
>
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 3 seconds
> > [INFO] Finished at: Wed Feb 14 10:27:18 EST 2007
> > [INFO] Final Memory: 5M/11M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > I see a tuscany-itest-plugin-1.0-incubator-SNAPSHOT.jar in my local
> repo,
> > but standalone/calculator/pom.xml does not have a version for it; so, to
> > try
> > something I added <version>1.0-incubator-SNAPSHOT</version> to said
> > pom.xml, and now I get:
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.tuscany.sca
> > ArtifactId: tuscany-itest-plugin
> > Version: 1.0-incubator-SNAPSHOT
> >
> > Reason: Unable to download the artifact from any repository
> >
> >  org.apache.tuscany.sca:tuscany-itest-plugin:pom:1.0-incubator-SNAPSHOT
> >
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2 ),
> >  sateh (http://maven.sateh.com/maven2//),
> >  apache.incubator
> > (http://people.apache.org/repo/m2-incubating-repository ),
> >  apache.ws.m1.snapshots (http://ws.zones.apache.org/repository),
> >  apache.snapshots ( http://people.apache.org/repo/m2-snapshot-repository
> ),
> >  codehaus-snapshot (http://snapshots.repository.codehaus.org)
> >
> > I am probably missing something really simple, but just in case.
> >
> > Thanks
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Re: core-samples module

Posted by Ignacio Silva-Lepe <is...@gmail.com>.
So, how should I get the SNAPSHOT of the plugin? Trying to build the
sample can't seem to find it and adding a version to the pom does not
help, as I mentioned earlier. I have been able to build the kernel with
no problem.


On 2/14/07, Jeremy Boynes <jb...@apache.org> wrote:
>
> I deployed a SNAPSHOT of the plugin so you should no longer need to
> build that.
> The plugin depends on kernel from trunk and I have not deployed that
> so you will need a current local build.
>
> --
> Jeremy
>
> On Feb 14, 2007, at 7:57 AM, Raymond Feng wrote:
>
> > I think you need to build the itest plugin (under java/sca/runtime/
> > itest) first.
> >
> > Thanks,
> > Raymond
> >
> > ----- Original Message ----- From: "Ignacio Silva-Lepe"
> > <is...@gmail.com>
> > To: "Tuscany Dev List" <tu...@ws.apache.org>
> > Sent: Wednesday, February 14, 2007 7:34 AM
> > Subject: core-samples module
> >
> >
> >> Quick question, should core-samples be buildable?
> >>
> >> I am getting the following error:
> >>
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [ERROR] BUILD ERROR
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [INFO] The plugin 'org.apache.tuscany.sca:tuscany-itest-plugin'
> >> does not
> >> exist o
> >> r no valid version could be found
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [INFO] For more information, run Maven with the -e switch
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [INFO] Total time: 3 seconds
> >> [INFO] Finished at: Wed Feb 14 10:27:18 EST 2007
> >> [INFO] Final Memory: 5M/11M
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >>
> >> I see a tuscany-itest-plugin-1.0-incubator-SNAPSHOT.jar in my
> >> local repo,
> >> but standalone/calculator/pom.xml does not have a version for it;
> >> so, to try
> >> something I added <version>1.0-incubator-SNAPSHOT</version> to said
> >> pom.xml, and now I get:
> >>
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [ERROR] BUILD ERROR
> >> [INFO]
> >> ---------------------------------------------------------------------
> >> ---
> >> [INFO] Failed to resolve artifact.
> >>
> >> GroupId: org.apache.tuscany.sca
> >> ArtifactId: tuscany-itest-plugin
> >> Version: 1.0-incubator-SNAPSHOT
> >>
> >> Reason: Unable to download the artifact from any repository
> >>
> >>  org.apache.tuscany.sca:tuscany-itest-plugin:pom:1.0-incubator-
> >> SNAPSHOT
> >>
> >> from the specified remote repositories:
> >>  central (http://repo1.maven.org/maven2),
> >>  sateh (http://maven.sateh.com/maven2//),
> >>  apache.incubator (http://people.apache.org/repo/m2-incubating-
> >> repository),
> >>  apache.ws.m1.snapshots (http://ws.zones.apache.org/repository),
> >>  apache.snapshots (http://people.apache.org/repo/m2-snapshot-
> >> repository),
> >>  codehaus-snapshot (http://snapshots.repository.codehaus.org)
> >>
> >> I am probably missing something really simple, but just in case.
> >>
> >> Thanks
> >
> >
> > ---------------------------------------------------------------------
> > 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: core-samples module

Posted by Jeremy Boynes <jb...@apache.org>.
I deployed a SNAPSHOT of the plugin so you should no longer need to  
build that.
The plugin depends on kernel from trunk and I have not deployed that  
so you will need a current local build.

--
Jeremy

On Feb 14, 2007, at 7:57 AM, Raymond Feng wrote:

> I think you need to build the itest plugin (under java/sca/runtime/ 
> itest) first.
>
> Thanks,
> Raymond
>
> ----- Original Message ----- From: "Ignacio Silva-Lepe"  
> <is...@gmail.com>
> To: "Tuscany Dev List" <tu...@ws.apache.org>
> Sent: Wednesday, February 14, 2007 7:34 AM
> Subject: core-samples module
>
>
>> Quick question, should core-samples be buildable?
>>
>> I am getting the following error:
>>
>> [INFO]
>> --------------------------------------------------------------------- 
>> ---
>> [ERROR] BUILD ERROR
>> [INFO]
>> --------------------------------------------------------------------- 
>> ---
>> [INFO] The plugin 'org.apache.tuscany.sca:tuscany-itest-plugin'  
>> does not
>> exist o
>> r no valid version could be found
>> [INFO]
>> --------------------------------------------------------------------- 
>> ---
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> --------------------------------------------------------------------- 
>> ---
>> [INFO] Total time: 3 seconds
>> [INFO] Finished at: Wed Feb 14 10:27:18 EST 2007
>> [INFO] Final Memory: 5M/11M
>> [INFO]
>> --------------------------------------------------------------------- 
>> ---
>>
>> I see a tuscany-itest-plugin-1.0-incubator-SNAPSHOT.jar in my  
>> local repo,
>> but standalone/calculator/pom.xml does not have a version for it;  
>> so, to try
>> something I added <version>1.0-incubator-SNAPSHOT</version> to said
>> pom.xml, and now I get:
>>
>> [INFO]
>> --------------------------------------------------------------------- 
>> ---
>> [ERROR] BUILD ERROR
>> [INFO]
>> --------------------------------------------------------------------- 
>> ---
>> [INFO] Failed to resolve artifact.
>>
>> GroupId: org.apache.tuscany.sca
>> ArtifactId: tuscany-itest-plugin
>> Version: 1.0-incubator-SNAPSHOT
>>
>> Reason: Unable to download the artifact from any repository
>>
>>  org.apache.tuscany.sca:tuscany-itest-plugin:pom:1.0-incubator- 
>> SNAPSHOT
>>
>> from the specified remote repositories:
>>  central (http://repo1.maven.org/maven2),
>>  sateh (http://maven.sateh.com/maven2//),
>>  apache.incubator (http://people.apache.org/repo/m2-incubating- 
>> repository),
>>  apache.ws.m1.snapshots (http://ws.zones.apache.org/repository),
>>  apache.snapshots (http://people.apache.org/repo/m2-snapshot- 
>> repository),
>>  codehaus-snapshot (http://snapshots.repository.codehaus.org)
>>
>> I am probably missing something really simple, but just in case.
>>
>> Thanks
>
>
> ---------------------------------------------------------------------
> 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: core-samples module

Posted by Raymond Feng <en...@gmail.com>.
I think you need to build the itest plugin (under java/sca/runtime/itest) 
first.

Thanks,
Raymond

----- Original Message ----- 
From: "Ignacio Silva-Lepe" <is...@gmail.com>
To: "Tuscany Dev List" <tu...@ws.apache.org>
Sent: Wednesday, February 14, 2007 7:34 AM
Subject: core-samples module


> Quick question, should core-samples be buildable?
>
> I am getting the following error:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.tuscany.sca:tuscany-itest-plugin' does not
> exist o
> r no valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Wed Feb 14 10:27:18 EST 2007
> [INFO] Final Memory: 5M/11M
> [INFO]
> ------------------------------------------------------------------------
>
> I see a tuscany-itest-plugin-1.0-incubator-SNAPSHOT.jar in my local repo,
> but standalone/calculator/pom.xml does not have a version for it; so, to 
> try
> something I added <version>1.0-incubator-SNAPSHOT</version> to said
> pom.xml, and now I get:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.tuscany.sca
> ArtifactId: tuscany-itest-plugin
> Version: 1.0-incubator-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
>  org.apache.tuscany.sca:tuscany-itest-plugin:pom:1.0-incubator-SNAPSHOT
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2),
>  sateh (http://maven.sateh.com/maven2//),
>  apache.incubator 
> (http://people.apache.org/repo/m2-incubating-repository),
>  apache.ws.m1.snapshots (http://ws.zones.apache.org/repository),
>  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>  codehaus-snapshot (http://snapshots.repository.codehaus.org)
>
> I am probably missing something really simple, but just in case.
>
> Thanks
> 


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