Artifactory blacklisting caches even though it is marked as "offline"

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Artifactory blacklisting caches even though it is marked as "offline"

by hirowla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I am having a problem where after some time, artifactory marks the "central" repository and other repositories as blacklisted even though they are marked as offline and hence shouldn't be going to the remote sites to fetch the information. Any ideas? I'll include the relevant part of my config files below.

Regards,

Ian



    <remoteRepositories>
        <remoteRepository>
            <key>repo1</key>
            <handleReleases>true</handleReleases>
            <handleSnapshots>false</handleSnapshots>
            <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern>
            <url>http://repo1.maven.org/maven2</url>
            <offline>true</offline>
        </remoteRepository>
        <remoteRepository>
            <key>openqa.org</key>
            <handleReleases>true</handleReleases>
            <handleSnapshots>false</handleSnapshots>
            <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern>
            <url>http://archiva.openqa.org/repository/releases</url>
            <offline>true</offline>
        </remoteRepository>
        <remoteRepository>
            <key>codehaus-snapshots</key>
            <handleReleases>false</handleReleases>
            <handleSnapshots>true</handleSnapshots>
            <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern>
            <url>http://snapshots.repository.codehaus.org</url>
            <offline>true</offline>
        </remoteRepository>
        <remoteRepository>
            <key>jboss.org</key>
            <description>JBoss Repository</description>
            <handleReleases>true</handleReleases>
            <handleSnapshots>true</handleSnapshots>
            <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern>
            <url>http://repository.jboss.org/maven2</url>
            <offline>true</offline>
        </remoteRepository>
        <remoteRepository>
            <key>java.net</key>
            <description>java.net</description>
            <handleReleases>true</handleReleases>
            <handleSnapshots>true</handleSnapshots>
            <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern>
            <url>http://download.java.net/maven/2</url>
            <offline>true</offline>
        </remoteRepository>

 

Disclaimer: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from your computer.
Privacy: If you are responding to this email or providing personal information to the SRO for the purposes of one of the Acts it administers, such information is used only for the purpose for which it was collected (administration of SRO legislation ) and is protected by the Information Privacy Act 2000 and secrecy provisions contained in legislation administered by SRO. It is not disclosed otherwise than in accordance with the law. If you would like a copy of the SRO Privacy Policy please refer to SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a copy.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Re: Artifactory blacklisting caches even though it is marked as "offline"

by Yoav Landman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You probably mean Maven marks the repositories as blacklisted, not Artifactory (Artifactory doesn't blacklist repositories).
Your configuration seems fine. An offline repository should return a 404 (not found) for any request. It'd help knowing the versions of Maven and Artifactory you are running and to see the Maven log with the requests that make Maven blacklist repositories.

On Wed, May 21, 2008 at 4:52 AM, Ian Rowlands <Ian.Rowlands@...> wrote:

I am having a problem where after some time, artifactory marks the "central" repository and other repositories as blacklisted even though they are marked as offline and hence shouldn't be going to the remote sites to fetch the information. Any ideas? I'll include the relevant part of my config files below.

Regards,

Ian



    <remoteRepositories>
        <remoteRepository>
            <key>repo1</key>
            <handleReleases>true</handleReleases>
            <handleSnapshots>false</handleSnapshots>
            <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern>
            <url>http://repo1.maven.org/maven2</url>
            <offline>true</offline>
        </remoteRepository>
        <remoteRepository>
            <key>openqa.org</key>
            <handleReleases>true</handleReleases>
            <handleSnapshots>false</handleSnapshots>
            <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern>
            <url>http://archiva.openqa.org/repository/releases</url>
            <offline>true</offline>
        </remoteRepository>
        <remoteRepository>
            <key>codehaus-snapshots</key>
            <handleReleases>false</handleReleases>
            <handleSnapshots>true</handleSnapshots>
            <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern>
            <url>http://snapshots.repository.codehaus.org</url>
            <offline>true</offline>
        </remoteRepository>
        <remoteRepository>
            <key>jboss.org</key>
            <description>JBoss Repository</description>
            <handleReleases>true</handleReleases>
            <handleSnapshots>true</handleSnapshots>
            <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern>
            <url>http://repository.jboss.org/maven2</url>
            <offline>true</offline>
        </remoteRepository>
        <remoteRepository>
            <key>java.net</key>
            <description>java.net</description>
            <handleReleases>true</handleReleases>
            <handleSnapshots>true</handleSnapshots>
            <excludesPattern>org/artifactory/**,org/jfrog/**</excludesPattern>
            <url>http://download.java.net/maven/2</url>
            <offline>true</offline>
        </remoteRepository>

 

Disclaimer: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from your computer.
Privacy: If you are responding to this email or providing personal information to the SRO for the purposes of one of the Acts it administers, such information is used only for the purpose for which it was collected (administration of SRO legislation ) and is protected by the Information Privacy Act 2000 and secrecy provisions contained in legislation administered by SRO. It is not disclosed otherwise than in accordance with the law. If you would like a copy of the SRO Privacy Policy please refer to SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a copy.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users
LightInTheBox - Buy quality products at wholesale price