good lession to learn. snapshot repo and svn repo should not on the same
host address.
With separation, we can can still get source and build or viseversion.
;-)
-D
5/10/06, Sean McNamara <tank_9 (AT) yahoo (DOT) comwrote:
The PM for this project builds a jar.
It's dependencies are:
<dependencies>
<dependency>
<groupId>com.arca.core</groupId>
<artifactId>arca-core</artifactId>
<version>1.0.0</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>mockobjects</groupId>
<artifactId>mockobjects-core</artifactId>
<version>0.09</version>
<type>jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>mockobjects</groupId>
<artifactId>mockobjects-alt-jdk1.4</artifactId>
<version>0.09</version>
<type>jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>mockobjects</groupId>
<artifactId>mockobjects-jdk1.4</artifactId>
<version>0.09</version>
<type>jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>mockobjects</groupId>
<artifactId>mockobjects-jdk1.4-j2ee1.3</artifactId>
<version>0.09</version>
<type>jar</type>
<scope>test</scope>
</dependency>
</dependencies>
And also inherits dependencies for Log4J and JUnit from it's parent.
--
Message
From: Alexandre Poitras <alexandre.poitras (AT) gmail (DOT) com>
To: Maven Users List <users (AT) maven (DOT) apache.org>; Sean McNamara <
tank_9 (AT) yahoo (DOT) com>
Sent: Wednesday, May 10, 2006 4:18:10 PM
Subject: Re: Workarounds for down repos?
Well what do you declare in your pom?
5/10/06, Sean McNamara <tank_9 (AT) yahoo (DOT) comwrote: Thanks Alexandre, but
as I already said, I tried using the -o flag with similar results.
[INF]
[ERRR] BUILD ERRR
[INF]
[INF] Failed to resolve artifact.
GroupId: org.apache.maven.plugins
ArtifactId: maven-jar-plugin
Version: 2.1-20060504.095642-2
Reason: System is offline.
NTE: Maven is executing in offline mode. Any artifacts not already in
your local repository will be inaccessible.
Message
From: Alexandre Poitras < alexandre.poitras (AT) gmail (DOT) com>
To: Maven Users List <users (AT) maven (DOT) apache.org>; Sean McNamara <
tank_9 (AT) yahoo (DOT) com>
Sent: Wednesday, May 10, 2006 4:10:49 PM
Subject: Re: Workarounds for down repos?
Like Wayne already answered "mvn -o "
5/10/06, Sean McNamara <tank_9 (AT) yahoo (DOT) comwrote:
Thanks Gareth. We're working on getting a box setup here to act as a
local repository in order to avoid this kind of trouble, but it's not up
yet. In the meantime, is there any way to get around the
problem? Perhaps
a way of forcing maven to use whatever version of maven-jar-plugin is
currently in the local repo?
--
Message
From: Gareth Western <gareth.western (AT) gmail (DOT) com>
To: Maven Users List < users (AT) maven (DOT) apache.org>; Sean McNamara <
tank_9 (AT) yahoo (DOT) com>
Sent: Wednesday, May 10, 2006 4:01:49 PM
Subject: Re: Workarounds for down repos?
Create a local (ie Intranet) repository, to store all the dependencies
you
need. Maven-proxy () is a good tool for
this, although in my experience it was a little bit of a hassle to get
working properly.
5/10/06, Sean McNamara <tank_9 (AT) yahoo (DOT) comwrote:
Is there a way to work around down repositories? It appears the all
apache.org sites are down (or are unavailable from our network.)
>
>
>
>
>
>
To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
>
>
>
>
>
>
To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
>
>
>
>
>
>
>