Still not exaclty what you asked, but I would avoid using any repository that proxy maven central.
It's bettter to use directly https://maven.atlassian.com/content/repositories/atlassian-public/ , and maybe https://maven.atlassian.com/content/repositories/atlassian-3rdparty/ and https://maven.atlassian.com/content/repositories/atlassian-contrib/ see https://maven.atlassian.com/index.html#view-repositories for the list. On Fri, Jun 6, 2014 at 12:17 PM, Cintia Del Rio <[email protected]> wrote: > It's not exactly what you asked, but atlassian-public ( > https://maven.atlassian.com/content/groups/public/) should already proxy > central (with just a few exceptions if it conflicts with what we are > already hosting). > > I just use in the profile: > > <activation> > <activeByDefault>true</activeByDefault> > </activation> > > > > > On 6 June 2014 18:12, Steinar Bang <[email protected]> wrote: > > > If I add the atlassian repos (the SDK local disk repo and the > > https://maven.atlassian.com/repository/public repo to the settings.xml, > > will maven still fetch dependencies from maven central? > > > > I have tried googling for the behaviour here, and I have tried running > > mvn help:active-profiles > > without becoming any wiser: > > - With atlassian-profile in <activeProfiles> atlassian-profile is > > listed as the only active profile > > - With an empty <activeProfiles> element, no active profiles are listed > > - With no <activeProfiles> element, no active profiles are listed > > > > Below is my ~/.m2/settings.xml file. > > > > Should I make the atlassian-profile activeByDefault, instead of listing > > it in <activeProfiles>? (the theory being that all activeByDefault > > profiles will be enabled which would include both the one with maven > > central, and atlassian-profile) > > > > Or shouldn't I worry about it, because maven central will always be > > used? > > > > Thanks! > > > > > > - Steinar > > > > My ~/.m2/settings.xml file: > > > > <settings> > > <profiles> > > <profile> > > <id>atlassian-profile</id> > > <repositories> > > <repository> > > <id>atlassian-public</id> > > <url>https://maven.atlassian.com/repository/public</url> > > <snapshots> > > <enabled>true</enabled> > > <updatePolicy>never</updatePolicy> > > <checksumPolicy>warn</checksumPolicy> > > </snapshots> > > <releases> > > <enabled>true</enabled> > > <checksumPolicy>warn</checksumPolicy> > > </releases> > > </repository> > > <repository> > > <id>atlassian-plugin-sdk</id> > > <url>file://${env.ATLAS_HOME}/repository</url> > > <snapshots> > > <enabled>true</enabled> > > </snapshots> > > <releases> > > <enabled>true</enabled> > > <checksumPolicy>warn</checksumPolicy> > > </releases> > > </repository> > > </repositories> > > <pluginRepositories> > > <pluginRepository> > > <id>atlassian-public</id> > > <url>https://maven.atlassian.com/repository/public</url> > > <snapshots> > > <enabled>true</enabled> > > <updatePolicy>never</updatePolicy> > > <checksumPolicy>warn</checksumPolicy> > > </snapshots> > > <releases> > > <enabled>true</enabled> > > <checksumPolicy>warn</checksumPolicy> > > </releases> > > </pluginRepository> > > <pluginRepository> > > <id>atlassian-plugin-sdk</id> > > <url>file://${env.ATLAS_HOME}/repository</url> > > <snapshots> > > <enabled>true</enabled> > > </snapshots> > > <releases> > > <enabled>true</enabled> > > <checksumPolicy>warn</checksumPolicy> > > </releases> > > </pluginRepository> > > </pluginRepositories> > > </profile> > > </profiles> > > <activeProfiles> > > <activeProfile>default</activeProfile> > > <activeProfile>atlassian-profile</activeProfile> > > </activeProfiles> > > </settings> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > -- > ------- > Sent from TARDIS. Typos might be a timey whyney thingy. > Enviado da TARDIS, podem existir erros devido à diferenças de espaço-tempo. > > Cintia Del Rio > -- Adrien Rivard
