Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Workarounds for down repos?

    5 answers - 677 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Is there a way to work around down repositories? It appears the all apache.org sites are down (or are unavailable from our network.)
    When trying to build my project, I get the following error:
    Project ID:
    Reason: Error getting PM for ''
    he repository: Error transferring file
    The project has built correctly in the past, and I've tried using the "-npu" option but it doesn't seem to have any effect.
    Is there a way to work around this issue?
    Thanks!
    To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
    For additional commands, e-mail: users-help (AT) maven (DOT) apache.org
  • No.1 | | 1027 bytes | |

    You should use mvn -o for offline.

    Wayne

    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.)

    When trying to build my project, I get the following error:

    Project ID:

    Reason: Error getting PM for ''
    he repository: Error transferring file

    --
    The project has built correctly in the past, and I've tried using the "-npu" option but it doesn't seem to have any effect.

    Is there a way to work around this issue?

    Thanks!
    >
    >
    >
    >
    >


    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
  • No.2 | | 441 bytes | |

    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.)
    --
  • No.3 | | 1418 bytes | |

    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
    --
  • No.4 | | 2513 bytes | |

    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
    --
  • No.5 | | 4603 bytes | |

    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
    >
    >
    >
    >
    >
    >
    >

Re: Workarounds for down repos?


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 5 =
QUESTION ON "Java"

EMSDN.COM