You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Adriano Crestani <ad...@gmail.com> on 2007/02/15 07:15:23 UTC
mvn problem?
Hi, I cleaned up my tuscany java files of my computer, then I download the
java files from the repository again. OK, till there everything worked fine.
But when I try to execute mvn only it appears:
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] You must specify at least one goal. Try 'install'
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Feb 15 03:07:23 VET 2007
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
C:\Adriano\Faculdade\Tuscany>cd tuscany
C:\Adriano\Faculdade\Tuscany\tuscany>mvn
[INFO] Scanning for projects...
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Tuscany Project
[INFO] task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing C:\Adriano\Faculdade\Tuscany\tuscany\pom.xml to
C:\Documents a
nd
Settings\ADR\.m2\repository\org\apache\tuscany\tuscany-project\1.0-incubator-
SNAPSHOT\tuscany-project-1.0-incubator-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Feb 15 03:07:45 VET 2007
[INFO] Final Memory: 3M/7M
[INFO]
------------------------------------------------------------------------
I suppose it would download many dependencies before "BUILD SUCCESSFUL", but
no dependency was download :s
Am I missing something or it should work this way?
Thanks, Adriano Crestani
Re: mvn problem?
Posted by Adriano Crestani <ad...@gmail.com>.
OK, but the problem is I've already cleaned up all the tuscany files I had.
And then I downloaded everything again from
https://svn.apache.org/repos/asf/incubator/tuscany/java and the problem
continues yet :s. Is there any problem to use tortoise instead of svn?
Adriano Crestani
On 2/15/07, Yang ZHONG <le...@gmail.com> wrote:
>
> I saw similar errors once after I accidentally downloaded files including
> POMs into overlapped folder hierarchy.
> Downloading from scratch solved my problem.
>
>
> On 2/14/07, Adriano Crestani <ad...@gmail.com> wrote:
> >
> > Hi, I cleaned up my tuscany java files of my computer, then I download
> the
> > java files from the repository again. OK, till there everything worked
> > fine.
> > But when I try to execute mvn only it appears:
> >
> > [INFO] Scanning for projects...
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] You must specify at least one goal. Try 'install'
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: < 1 second
> > [INFO] Finished at: Thu Feb 15 03:07:23 VET 2007
> > [INFO] Final Memory: 1M/4M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > C:\Adriano\Faculdade\Tuscany>cd tuscany
> >
> > C:\Adriano\Faculdade\Tuscany\tuscany>mvn
> > [INFO] Scanning for projects...
> > [INFO]
> >
> -------------------------------------------------------------------------
> > ---
> > [INFO] Building Tuscany Project
> > [INFO] task-segment: [install]
> > [INFO]
> >
> -------------------------------------------------------------------------
> > ---
> > [INFO] [site:attach-descriptor]
> > [INFO] [install:install]
> > [INFO] Installing C:\Adriano\Faculdade\Tuscany\tuscany\pom.xml to
> > C:\Documents a
> > nd
> >
> >
> Settings\ADR\.m2\repository\org\apache\tuscany\tuscany-project\1.0-incubator-
> > SNAPSHOT\tuscany-project-1.0-incubator-SNAPSHOT.pom
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESSFUL
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 2 seconds
> > [INFO] Finished at: Thu Feb 15 03:07:45 VET 2007
> > [INFO] Final Memory: 3M/7M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > I suppose it would download many dependencies before "BUILD SUCCESSFUL",
> > but
> > no dependency was download :s
> >
> > Am I missing something or it should work this way?
> >
> > Thanks, Adriano Crestani
> >
>
>
>
> --
>
> Yang ZHONG
>
Re: mvn problem?
Posted by Yang ZHONG <le...@gmail.com>.
I saw similar errors once after I accidentally downloaded files including
POMs into overlapped folder hierarchy.
Downloading from scratch solved my problem.
On 2/14/07, Adriano Crestani <ad...@gmail.com> wrote:
>
> Hi, I cleaned up my tuscany java files of my computer, then I download the
> java files from the repository again. OK, till there everything worked
> fine.
> But when I try to execute mvn only it appears:
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] You must specify at least one goal. Try 'install'
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Feb 15 03:07:23 VET 2007
> [INFO] Final Memory: 1M/4M
> [INFO]
> ------------------------------------------------------------------------
>
> C:\Adriano\Faculdade\Tuscany>cd tuscany
>
> C:\Adriano\Faculdade\Tuscany\tuscany>mvn
> [INFO] Scanning for projects...
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] Building Tuscany Project
> [INFO] task-segment: [install]
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing C:\Adriano\Faculdade\Tuscany\tuscany\pom.xml to
> C:\Documents a
> nd
>
> Settings\ADR\.m2\repository\org\apache\tuscany\tuscany-project\1.0-incubator-
> SNAPSHOT\tuscany-project-1.0-incubator-SNAPSHOT.pom
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu Feb 15 03:07:45 VET 2007
> [INFO] Final Memory: 3M/7M
> [INFO]
> ------------------------------------------------------------------------
>
> I suppose it would download many dependencies before "BUILD SUCCESSFUL",
> but
> no dependency was download :s
>
> Am I missing something or it should work this way?
>
> Thanks, Adriano Crestani
>
--
Yang ZHONG
Re: mvn problem?
Posted by Adriano Crestani <ad...@gmail.com>.
I cleaned up:
- C:\Documents and Settings\ADR\.m2\repository
- all the files downloaded with tortoiseSVN
Then:
- I executed svn co
https://svn.apache.org/repos/asf/incubator/tuscany/java/
- inside the java folder I executed mvn and many files were downloaded
- also inside the java folder I executed mvn -Peclipse eclipse:eclipse and
many other files were downloaded
So I searched for the files discussed on this thread:
http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg13886.html. The
config files that are auto generated by mvn. But I couldn't find them.
And again I tried:
- I executed mvn inside java folder and I got this:
C:\Adriano\Faculdade\Tuscany\tuscany\java>mvn
[INFO] Scanning for projects...
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Tuscany Project
[INFO] task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing C:\Adriano\Faculdade\Tuscany\tuscany\java\pom.xml to
C:\Docume
nts and
Settings\ADR\.m2\repository\org\apache\tuscany\tuscany-project\1.0-incub
ator-SNAPSHOT\tuscany-project-1.0-incubator-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Fri Feb 16 02:03:17 VET 2007
[INFO] Final Memory: 3M/7M
[INFO]
------------------------------------------------------------------------
- And executed mvn inside java\das folder:
C:\Adriano\Faculdade\Tuscany\tuscany\java>cd das
C:\Adriano\Faculdade\Tuscany\tuscany\java\das>mvn
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Tuscany DAS
[INFO] Tuscany DAS for Relational Databases
[INFO] Tuscany DAS Samples
[INFO] Tuscany DAS Company Sample
[INFO] Tuscany DAS J2SE Customer Sample
[INFO] Tuscany DAS Distribution
[INFO] Tuscany DAS Samples Distribution
[INFO] Tuscany DAS JavaDoc Distribution
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Tuscany DAS
[INFO] task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.maven.plugins:maven-site-plugin
Reason: Error getting POM for 'org.apache.maven.plugins:maven-site-plugin'
from
the repository: Failed to resolve artifact, possibly due to a repository
list th
at is not appropriately equipped for this artifact's metadata.
org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Feb 16 02:04:10 VET 2007
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
- I created C:\Documents and Settings\ADR\.m2\repository\settings.xml as
Luciano suggested, and tried mvn again, and I got the same :s.
Adriano Crestani
On 2/15/07, Luciano Resende <lu...@gmail.com> wrote:
>
> I just want to make sure you have done the following steps :
>
> 1.Rename or delete your maven repository :
> - e.g C:\Documents and Settings\lresende\.m2\repository
>
> 2.Add mirrors to your maven (this is usefull if you are having problems
> downloading artifacts from a specific repository)
>
> - use the following as a sample
> -
> https://svn.apache.org/repos/asf/incubator/tuscany/java/etc/settings.xml
> - copy the mirros element to a settings.xml file on your maven
> repository
> directory
> - e.g C:\Documents and
> Settings\lresende\.m2\repository\settings.xml
>
> 3.If you are cleaning up java files, meaning code, then try a clean
> chackout
> - svn co https://svn.apache.org/repos/asf/incubator/tuscany/java/
>
> After that, do you still see issues ? I started from a clean maven repo
> and
> things are working fine for me.
>
> --
> Luciano Resende
> http://people.apache.org/~lresende <http://people.apache.org/%7Elresende>
>
> On 2/15/07, Adriano Crestani < adrianocrestani@gmail.com> wrote:
> >
> > OK, the problem probably is on my computer then. But thanks anyway
> for
> > try to help me ; )
> >
> > Adriano Crestani
> >
> > On 2/15/07, Jeremy Boynes < jboynes@apache.org> wrote:
> > >
> > > On Feb 15, 2007, at 7:34 AM, Adriano Crestani wrote:
> > >
> > > > I deactivated my firewall, but it's still not working : (. I got it
> > > > with mvn
> > > > -X:
> > >
> > > I don't know then sorry.
> > >
> > > I just checked out https://svn.apache.org/repos/asf/incubator/tuscany/
>
> > > java/das to /tmp on my machine, removed org/apache/tuscany from my
> > > local mvn cache and managed to build ok.
> > >
> > > Hopefully one of the DAS people can provide more insight.
> > > --
> > > Jeremy
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >
> > >
> >
>
Re: mvn problem?
Posted by Luciano Resende <lu...@gmail.com>.
I just want to make sure you have done the following steps :
1.Rename or delete your maven repository :
- e.g C:\Documents and Settings\lresende\.m2\repository
2.Add mirrors to your maven (this is usefull if you are having problems
downloading artifacts from a specific repository)
- use the following as a sample
-
https://svn.apache.org/repos/asf/incubator/tuscany/java/etc/settings.xml
- copy the mirros element to a settings.xml file on your maven repository
directory
- e.g C:\Documents and Settings\lresende\.m2\repository\settings.xml
3.If you are cleaning up java files, meaning code, then try a clean chackout
- svn co https://svn.apache.org/repos/asf/incubator/tuscany/java/
After that, do you still see issues ? I started from a clean maven repo and
things are working fine for me.
--
Luciano Resende
http://people.apache.org/~lresende
On 2/15/07, Adriano Crestani <ad...@gmail.com> wrote:
>
> OK, the problem probably is on my computer then. But thanks anyway for
> try to help me ; )
>
> Adriano Crestani
>
> On 2/15/07, Jeremy Boynes <jb...@apache.org> wrote:
> >
> > On Feb 15, 2007, at 7:34 AM, Adriano Crestani wrote:
> >
> > > I deactivated my firewall, but it's still not working : (. I got it
> > > with mvn
> > > -X:
> >
> > I don't know then sorry.
> >
> > I just checked out https://svn.apache.org/repos/asf/incubator/tuscany/
> > java/das to /tmp on my machine, removed org/apache/tuscany from my
> > local mvn cache and managed to build ok.
> >
> > Hopefully one of the DAS people can provide more insight.
> > --
> > Jeremy
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>
Re: mvn problem?
Posted by Adriano Crestani <ad...@gmail.com>.
OK, the problem probably is on my computer then. But thanks anyway for
try to help me ; )
Adriano Crestani
On 2/15/07, Jeremy Boynes <jb...@apache.org> wrote:
>
> On Feb 15, 2007, at 7:34 AM, Adriano Crestani wrote:
>
> > I deactivated my firewall, but it's still not working : (. I got it
> > with mvn
> > -X:
>
> I don't know then sorry.
>
> I just checked out https://svn.apache.org/repos/asf/incubator/tuscany/
> java/das to /tmp on my machine, removed org/apache/tuscany from my
> local mvn cache and managed to build ok.
>
> Hopefully one of the DAS people can provide more insight.
> --
> Jeremy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
Re: mvn problem?
Posted by Jeremy Boynes <jb...@apache.org>.
On Feb 15, 2007, at 7:34 AM, Adriano Crestani wrote:
> I deactivated my firewall, but it's still not working : (. I got it
> with mvn
> -X:
I don't know then sorry.
I just checked out https://svn.apache.org/repos/asf/incubator/tuscany/
java/das to /tmp on my machine, removed org/apache/tuscany from my
local mvn cache and managed to build ok.
Hopefully one of the DAS people can provide more insight.
--
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: mvn problem?
Posted by Adriano Crestani <ad...@gmail.com>.
I deactivated my firewall, but it's still not working : (. I got it with mvn
-X:
C:\Adriano\Faculdade\Tuscany\tuscany\das>mvn -X
+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
Settin
gs\ADR\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'C:\Adriano\Faculdade\
Tuscany\maven\bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Searching for parent-POM:
org.apache.tuscany:parent::2-incubator-SNAPSHO
T of project: org.apache.tuscany.das:tuscany-das:pom:1.0-incubator-SNAPSHOTin r
elative path: ../pom.xml
[DEBUG] Invalid parent-POM referenced by relative path '../pom.xml' in
parent sp
ecification in
org.apache.tuscany.das:tuscany-das:pom:1.0-incubator-SNAPSHOT:
Specified: org.apache.tuscany:parent::2-incubator-SNAPSHOT
Found: org.apache.tuscany:tuscany-project:pom:1.0-incubator-SNAPSHOT
[DEBUG] Retrieving parent-POM:
org.apache.tuscany:parent::2-incubator-SNAPSHOT f
or project: org.apache.tuscany.das:tuscany-das:pom:1.0-incubator-SNAPSHOTfrom t
he repository.
[DEBUG] Skipping disabled repository apache.incubator
[DEBUG] Skipping disabled repository central
[DEBUG] parent: resolved to version 2-incubator-20061206.113420-1 from
repositor
y apache.snapshots
[DEBUG] Searching for parent-POM: org.apache:apache::3 of project:
org.apache.tu
scany:parent:pom:2-incubator-SNAPSHOT in relative path: ../pom.xml
[DEBUG] Parent-POM: org.apache:apache::3 not found in relative path:
../pom.xml
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.tusc
any:parent:pom:2-incubator-SNAPSHOT from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.tuscany:parent::2-incubator-SNAPSHOT f
or project: org.apache.tuscany.das:tuscany-das:pom:1.0-incubator-SNAPSHOTfrom t
he repository.
[DEBUG] parent: resolved to version 2-incubator-20061206.113420-1 from
repositor
y apache.snapshots
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.tusc
any:parent:pom:2-incubator-SNAPSHOT from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.tuscany:parent::2-incubator-SNAPSHOT f
or project: org.apache.tuscany.das:tuscany-das:pom:1.0-incubator-SNAPSHOTfrom t
he repository.
[DEBUG] parent: resolved to version 2-incubator-20061206.113420-1 from
repositor
y apache.snapshots
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.tusc
any:parent:pom:2-incubator-SNAPSHOT from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.tuscany:parent::2-incubator-SNAPSHOT f
or project: org.apache.tuscany.das:tuscany-das:pom:1.0-incubator-SNAPSHOTfrom t
he repository.
[DEBUG] parent: resolved to version 2-incubator-20061206.113420-1 from
repositor
y apache.snapshots
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.tusc
any:parent:pom:2-incubator-SNAPSHOT from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.tuscany:parent::2-incubator-SNAPSHOT f
or project: org.apache.tuscany.das:tuscany-das:pom:1.0-incubator-SNAPSHOTfrom t
he repository.
[DEBUG] parent: resolved to version 2-incubator-20061206.113420-1 from
repositor
y apache.snapshots
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.tusc
any:parent:pom:2-incubator-SNAPSHOT from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.tuscany:parent::2-incubator-SNAPSHOT f
or project: org.apache.tuscany.das:tuscany-das:pom:1.0-incubator-SNAPSHOTfrom t
he repository.
[DEBUG] parent: resolved to version 2-incubator-20061206.113420-1 from
repositor
y apache.snapshots
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.tusc
any:parent:pom:2-incubator-SNAPSHOT from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.tuscany:parent::2-incubator-SNAPSHOT f
or project: org.apache.tuscany.das:tuscany-das:pom:1.0-incubator-SNAPSHOTfrom t
he repository.
[DEBUG] parent: resolved to version 2-incubator-20061206.113420-1 from
repositor
y apache.snapshots
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.tusc
any:parent:pom:2-incubator-SNAPSHOT from the repository.
[DEBUG] Retrieving parent-POM:
org.apache.tuscany:parent::2-incubator-SNAPSHOT f
or project: org.apache.tuscany.das:tuscany-das:pom:1.0-incubator-SNAPSHOTfrom t
he repository.
[DEBUG] parent: resolved to version 2-incubator-20061206.113420-1 from
repositor
y apache.snapshots
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.tusc
any:parent:pom:2-incubator-SNAPSHOT from the repository.
[INFO] Reactor build order:
[INFO] Tuscany DAS
[INFO] Tuscany DAS for Relational Databases
[INFO] Tuscany DAS Samples
[INFO] Tuscany DAS Company Sample
[INFO] Tuscany DAS J2SE Customer Sample
[INFO] Tuscany DAS Distribution
[INFO] Tuscany DAS Samples Distribution
[INFO] Tuscany DAS JavaDoc Distribution
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Tuscany DAS
[INFO] task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[DEBUG] maven-site-plugin: using locally installed snapshot
[DEBUG] maven-site-plugin: resolved to version 2.0-SNAPSHOT from repository
cent
ral
[DEBUG] Skipping disabled repository central
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.maven.plugins:maven-site-plugin
Reason: Error getting POM for 'org.apache.maven.plugins:maven-site-plugin'
from
the repository: Failed to resolve artifact, possibly due to a repository
list th
at is not appropriately equipped for this artifact's metadata.
org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository)
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error resolving
version
for 'org.apache.maven.plugins:maven-site-plugin': Unable to read the
metadata fi
le for artifact 'org.apache.maven.plugins:maven-site-plugin:pom': Error
getting
POM for 'org.apache.maven.plugins:maven-site-plugin' from the repository:
Failed
to resolve artifact, possibly due to a repository list that is not
appropriatel
y equipped for this artifact's metadata.
org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin
(Defa
ultLifecycleExecutor.java:1261)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1517)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP
ackaging(DefaultLifecycleExecutor.java:1011)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl
eMappings(DefaultLifecycleExecutor.java:975)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(Defau
ltLifecycleExecutor.java:453)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLi
fecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionResolutionException:
Err
or resolving version for 'org.apache.maven.plugins:maven-site-plugin':
Unable to
read the metadata file for artifact '
org.apache.maven.plugins:maven-site-plugin
:pom': Error getting POM for 'org.apache.maven.plugins:maven-site-plugin'
from t
he repository: Failed to resolve artifact, possibly due to a repository list
tha
t is not appropriately equipped for this artifact's metadata.
org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository)
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMe
taVersion(DefaultPluginVersionManager.java:678)
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:183)
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:87)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin
(DefaultPlug
inManager.java:158)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin
(Defa
ultLifecycleExecutor.java:1252)
... 18 more
Caused by:
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
: Unable to read the metadata file for artifact '
org.apache.maven.plugins:maven-
site-plugin:pom': Error getting POM for '
org.apache.maven.plugins:maven-site-plu
gin' from the repository: Failed to resolve artifact, possibly due to a
reposito
ry list that is not appropriately equipped for this artifact's metadata.
org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve
(MavenM
etadataSource.java:131)
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMe
taVersion(DefaultPluginVersionManager.java:669)
... 22 more
Caused by: org.apache.maven.project.ProjectBuildingException: Error getting
POM
for 'org.apache.maven.plugins:maven-site-plugin' from the repository: Failed
to
resolve artifact, possibly due to a repository list that is not
appropriately eq
uipped for this artifact's metadata.
org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:501)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito
ry(DefaultMavenProjectBuilder.java:225)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve
(MavenM
etadataSource.java:102)
... 23 more
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
Faile
d to resolve artifact, possibly due to a repository list that is not
appropriate
ly equipped for this artifact's metadata.
org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:129)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:63)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:467)
... 25 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Feb 15 12:32:08 VET 2007
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
Adriano Crestani
On 2/15/07, Jeremy Boynes <jb...@apache.org> wrote:
>
> That's not a Tuscany issue per-se. Maven is trying to download its
> "maven-site-plugin" and that is in the "central" repo. There may be
> an issue with your network connection e.g. a proxy or firewall.
>
> Can you re-run with mvn -X and see what errors you get around the
> attempt to download that plugin?
>
> --
> Jeremy
>
> On Feb 15, 2007, at 7:09 AM, Adriano Crestani wrote:
>
> > OK, but when do I this:
> >
> > cd das
> > mvn
> >
> > It is printed:
> >
> > C:\Adriano\Faculdade\Tuscany\tuscany\sdo>cd ..
> >
> > C:\Adriano\Faculdade\Tuscany\tuscany>cd das
> >
> > C:\Adriano\Faculdade\Tuscany\tuscany\das>mvn
> > [INFO] Scanning for projects...
> > [INFO] Reactor build order:
> > [INFO] Tuscany DAS
> > [INFO] Tuscany DAS for Relational Databases
> > [INFO] Tuscany DAS Samples
> > [INFO] Tuscany DAS Company Sample
> > [INFO] Tuscany DAS J2SE Customer Sample
> > [INFO] Tuscany DAS Distribution
> > [INFO] Tuscany DAS Samples Distribution
> > [INFO] Tuscany DAS JavaDoc Distribution
> > [INFO]
> > ----------------------------------------------------------------------
> > ---
> > ---
> > [INFO] Building Tuscany DAS
> > [INFO] task-segment: [install]
> > [INFO]
> > ----------------------------------------------------------------------
> > ---
> > ---
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [ERROR] BUILD ERROR
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> > Project ID: org.apache.maven.plugins:maven-site-plugin
> >
> > Reason: Error getting POM for 'org.apache.maven.plugins:maven-site-
> > plugin'
> > from
> > the repository: Failed to resolve artifact, possibly due to a
> > repository
> > list th
> > at is not appropriately equipped for this artifact's metadata.
> > org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT
> >
> > from the specified remote repositories:
> > apache.snapshots (http://people.apache.org/repo/m2-snapshot-
> > repository),
> > codehaus-snapshot (http://snapshots.repository.codehaus.org),
> > central (http://repo1.maven.org/maven2),
> > apache.incubator (http://people.apache.org/repo/m2-incubating-
> > repository)
> >
> >
> >
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Total time: < 1 second
> > [INFO] Finished at: Thu Feb 15 12:07:40 VET 2007
> > [INFO] Final Memory: 1M/4M
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> >
> > The same happens on sdo directory.
> >
> > Adriano Crestani
> >
> > On 2/15/07, Jeremy Boynes <jb...@apache.org> wrote:
> >>
> >> On Feb 14, 2007, at 10:15 PM, Adriano Crestani wrote:
> >>
> >> >
> >> > I suppose it would download many dependencies before "BUILD
> >> > SUCCESSFUL", but
> >> > no dependency was download :s
> >> >
> >> > Am I missing something or it should work this way?
> >>
> >> It is meant to work this way. The top-level directory is just a
> >> placeholder - the actual modules are underneath it (sdo, das, sca,
> >> etc.). You should be able to check out any one of those on its own
> >> and build it separately.
> >>
> >> --
> >> Jeremy
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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: mvn problem?
Posted by Jeremy Boynes <jb...@apache.org>.
That's not a Tuscany issue per-se. Maven is trying to download its
"maven-site-plugin" and that is in the "central" repo. There may be
an issue with your network connection e.g. a proxy or firewall.
Can you re-run with mvn -X and see what errors you get around the
attempt to download that plugin?
--
Jeremy
On Feb 15, 2007, at 7:09 AM, Adriano Crestani wrote:
> OK, but when do I this:
>
> cd das
> mvn
>
> It is printed:
>
> C:\Adriano\Faculdade\Tuscany\tuscany\sdo>cd ..
>
> C:\Adriano\Faculdade\Tuscany\tuscany>cd das
>
> C:\Adriano\Faculdade\Tuscany\tuscany\das>mvn
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Tuscany DAS
> [INFO] Tuscany DAS for Relational Databases
> [INFO] Tuscany DAS Samples
> [INFO] Tuscany DAS Company Sample
> [INFO] Tuscany DAS J2SE Customer Sample
> [INFO] Tuscany DAS Distribution
> [INFO] Tuscany DAS Samples Distribution
> [INFO] Tuscany DAS JavaDoc Distribution
> [INFO]
> ----------------------------------------------------------------------
> ---
> ---
> [INFO] Building Tuscany DAS
> [INFO] task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------
> ---
> ---
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.maven.plugins:maven-site-plugin
>
> Reason: Error getting POM for 'org.apache.maven.plugins:maven-site-
> plugin'
> from
> the repository: Failed to resolve artifact, possibly due to a
> repository
> list th
> at is not appropriately equipped for this artifact's metadata.
> org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT
>
> from the specified remote repositories:
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-
> repository),
> codehaus-snapshot (http://snapshots.repository.codehaus.org),
> central (http://repo1.maven.org/maven2),
> apache.incubator (http://people.apache.org/repo/m2-incubating-
> repository)
>
>
>
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Feb 15 12:07:40 VET 2007
> [INFO] Final Memory: 1M/4M
> [INFO]
> ----------------------------------------------------------------------
> --
>
> The same happens on sdo directory.
>
> Adriano Crestani
>
> On 2/15/07, Jeremy Boynes <jb...@apache.org> wrote:
>>
>> On Feb 14, 2007, at 10:15 PM, Adriano Crestani wrote:
>>
>> >
>> > I suppose it would download many dependencies before "BUILD
>> > SUCCESSFUL", but
>> > no dependency was download :s
>> >
>> > Am I missing something or it should work this way?
>>
>> It is meant to work this way. The top-level directory is just a
>> placeholder - the actual modules are underneath it (sdo, das, sca,
>> etc.). You should be able to check out any one of those on its own
>> and build it separately.
>>
>> --
>> Jeremy
>>
>>
>> ---------------------------------------------------------------------
>> 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: mvn problem?
Posted by Adriano Crestani <ad...@gmail.com>.
OK, but when do I this:
cd das
mvn
It is printed:
C:\Adriano\Faculdade\Tuscany\tuscany\sdo>cd ..
C:\Adriano\Faculdade\Tuscany\tuscany>cd das
C:\Adriano\Faculdade\Tuscany\tuscany\das>mvn
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Tuscany DAS
[INFO] Tuscany DAS for Relational Databases
[INFO] Tuscany DAS Samples
[INFO] Tuscany DAS Company Sample
[INFO] Tuscany DAS J2SE Customer Sample
[INFO] Tuscany DAS Distribution
[INFO] Tuscany DAS Samples Distribution
[INFO] Tuscany DAS JavaDoc Distribution
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Tuscany DAS
[INFO] task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.maven.plugins:maven-site-plugin
Reason: Error getting POM for 'org.apache.maven.plugins:maven-site-plugin'
from
the repository: Failed to resolve artifact, possibly due to a repository
list th
at is not appropriately equipped for this artifact's metadata.
org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Feb 15 12:07:40 VET 2007
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
The same happens on sdo directory.
Adriano Crestani
On 2/15/07, Jeremy Boynes <jb...@apache.org> wrote:
>
> On Feb 14, 2007, at 10:15 PM, Adriano Crestani wrote:
>
> >
> > I suppose it would download many dependencies before "BUILD
> > SUCCESSFUL", but
> > no dependency was download :s
> >
> > Am I missing something or it should work this way?
>
> It is meant to work this way. The top-level directory is just a
> placeholder - the actual modules are underneath it (sdo, das, sca,
> etc.). You should be able to check out any one of those on its own
> and build it separately.
>
> --
> Jeremy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
Re: mvn problem?
Posted by Jeremy Boynes <jb...@apache.org>.
On Feb 14, 2007, at 10:15 PM, Adriano Crestani wrote:
>
> I suppose it would download many dependencies before "BUILD
> SUCCESSFUL", but
> no dependency was download :s
>
> Am I missing something or it should work this way?
It is meant to work this way. The top-level directory is just a
placeholder - the actual modules are underneath it (sdo, das, sca,
etc.). You should be able to check out any one of those on its own
and build it separately.
--
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org