Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maven settings.xml refers to non existent URL nexus.codehaus.org #4629

Closed
sns-seb opened this issue Aug 7, 2015 · 8 comments · Fixed by travis-ci/travis-build#1037
Closed

Comments

@sns-seb
Copy link

sns-seb commented Aug 7, 2015

On a container-based host, I find that /home/travis/.m2/settings.xml defines a repository for codehaus snapshots artifacts which links to nexus.codehaus.org:

        <repository>
          <id>codehaus-snapshots</id>
          <name>Codehaus (snapshots)</name>
          <releases>
            <enabled>false</enabled>
            <updatePolicy>always</updatePolicy>
            <checksumPolicy>warn</checksumPolicy>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
            <checksumPolicy>fail</checksumPolicy>
          </snapshots>
          <url>https://nexus.codehaus.org/snapshots/</url>
        </repository>

The host nexus.codehaus.org does not exist any more, which results into build errors whenever maven tries and fail to resolve this host.

Codehaus snapshots seem to be now hosted by SonarType (at least some of them): https://oss.sonatype.org/content/repositories/codehaus-snapshots/

@BanzaiMan
Copy link
Contributor

Sorry for the issue. For the time being, please edit ~/.m2/settings.xml.

@sns-seb
Copy link
Author

sns-seb commented Aug 7, 2015

no pb, I'll work around it

@msavy
Copy link

msavy commented Aug 14, 2015

For anyone hitting this same issue, I'll save you a bit of time and share what I did:

before_install:
  - sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml

mattwigway added a commit to conveyal/analyst-server that referenced this issue Aug 26, 2015
atao60 added a commit to atao60/j2x-on-openshift that referenced this issue Sep 4, 2015
bjoern-r added a commit to FITeagle/core that referenced this issue Sep 7, 2015
jimkont added a commit to dbpedia/extraction-framework that referenced this issue Sep 30, 2015
jimkont added a commit to dbpedia/extraction-framework that referenced this issue Sep 30, 2015
ahmadassaf added a commit to ahmadassaf/dbpedia-extraction-framework that referenced this issue Oct 2, 2015


* 'master' of https://github.com/dbpedia/extraction-framework:
  workaround for travis-ci/travis-ci#4629 / dbpedia#411
  switch to new travis infrastructure
  workaround for travis-ci/travis-ci#4629 / dbpedia#411
  fix comments and variable names to match the dct vocabulary see dbpedia/mappings-tracker#55
  Added image extraction config for Galician
rdealmeida added a commit to maxeler/eclipse that referenced this issue Nov 17, 2015
phistuck added a commit to phistuck/closure-compiler that referenced this issue Dec 21, 2015
phistuck added a commit to phistuck/closure-compiler that referenced this issue Dec 21, 2015
zipwiz added a commit to inovex/SocialSDK that referenced this issue Jan 10, 2016
zipwiz added a commit to inovex/SocialSDK that referenced this issue Jan 10, 2016
zipwiz added a commit to inovex/SocialSDK that referenced this issue Jan 10, 2016
zipwiz added a commit to inovex/SocialSDK that referenced this issue Jan 10, 2016
zipwiz added a commit to inovex/SocialSDK that referenced this issue Jan 10, 2016
zipwiz added a commit to inovex/SocialSDK that referenced this issue Jan 10, 2016
@helix84
Copy link

helix84 commented Feb 17, 2016

Any chance of fixing this so that we don't have to use the sed workaround?

gaul added a commit to bouncestorage/swiftproxy that referenced this issue Mar 5, 2016
This should eliminate Maven warnings.  References #55.
matt-richardson added a commit to matt-richardson/teamcity-octopus-build-trigger-plugin that referenced this issue Mar 22, 2016
derek63 added a commit to esbtools/event-handler that referenced this issue Apr 25, 2016
derek63 added a commit to esbtools/event-handler that referenced this issue Apr 25, 2016
dbwiddis added a commit to oshi/oshi that referenced this issue Jun 25, 2016
tjuerge added a commit to sculptor/sculptor that referenced this issue Jul 2, 2016
1ambda added a commit to 1ambda/zeppelin that referenced this issue Dec 2, 2016
1ambda added a commit to 1ambda/zeppelin that referenced this issue Dec 3, 2016
1ambda added a commit to 1ambda/zeppelin that referenced this issue Dec 5, 2016
1ambda added a commit to 1ambda/zeppelin that referenced this issue Dec 5, 2016
mike10004 added a commit to mike10004/xvfb-manager-java that referenced this issue Dec 6, 2016
1ambda added a commit to 1ambda/zeppelin that referenced this issue Dec 13, 2016
1ambda added a commit to 1ambda/zeppelin that referenced this issue Dec 14, 2016
1ambda added a commit to 1ambda/zeppelin that referenced this issue Dec 19, 2016
@oskoss
Copy link

oskoss commented Feb 10, 2017

Just an update on 2/10/2017 having this same issue.

landonreed added a commit to ibi-group/datatools-server that referenced this issue Feb 24, 2017
tdonohue added a commit to tdonohue/DSpace that referenced this issue Feb 27, 2017
tdonohue added a commit to DSpace/DSpace that referenced this issue Feb 27, 2017
tdonohue added a commit to DSpace/DSpace that referenced this issue Feb 27, 2017
tdonohue added a commit to DSpace/DSpace that referenced this issue Feb 27, 2017
gaul added a commit to gaul/s3proxy that referenced this issue Mar 2, 2017
cuent added a commit to ucuenca/redi that referenced this issue Apr 26, 2017
@BanzaiMan
Copy link
Contributor

Hi, everyone, sorry for the long delay. We've pushed a fix a few minutes ago. Please report how it works for you.

Thank you!

elmuerte added a commit to mpobjects/sofalife that referenced this issue Aug 7, 2017
timbru31 added a commit to timbru31/SilkSpawners that referenced this issue May 1, 2018
- use supplied maven version
- remove hack for travis-ci/travis-ci#4629
- test against Oracle JDK9, too
denis554 added a commit to denis554/lagom that referenced this issue Apr 9, 2019
The travis settings.xml is unnecessary and causes issues. See
travis-ci/travis-ci#4629 (comment)
tjuerge added a commit to sculptor/sculptor that referenced this issue Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants