Hi All Can you point us to the relevant pom.xml file on github and also reference the line number where a change is needed.
Thx in advance. Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://scholar.sun.ac.za http://bit.ly/goodir http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson On 4 April 2014 09:42, Päivi Rosenström <[email protected]>wrote: > Hi! > > The change of http to https in pom.xml file (+ removal of appropiate .m2 > folders) seems to have fixed my problem. The problem had occurred quite > lately because the build was working ok about a week ago, but this week we > run into this problem. > > By the way: I tested rebuild in 1.7.2 test server and it does not seem to > be affected with the problem. > > Thanks for all for the help ! > > Päivi > > > Quoting Kiriaki Roditi <[email protected]>: > > I honestly do not know what this is. >> Trying to solve this, I found (in a 2012 thread unrelated to DSpace, >> which I unfortunately did not save) that this failure was caused by a bad >> http redirection. But why now? >> In my case it occurred in a rebuild after some .java files modifications >> in a working 3.1 installation. Prior to this my latest build must have been >> around 8 months ago and it worked fine. >> I am kind of speculating here but notice that we all dealt with it during >> a version 3 build. Is that relevant? >> >> Best regards, >> Kiriaki >> >> On 3/4/2014 5:14 μμ, Hilton Gibson wrote: >> >>> Isn't this is a bug with the pom.xml file. >>> I think this happens with new installs. >>> Upgrades are Ok, it seems, since the Sonatype files are already in the >>> .m2 folder. >>> This was my first problem during our upgrade from 1.8.2 to 3.2. >>> I simply copied all the files in the .m2 folder from a working test >>> system to do our fix. >>> >>> Cheers >>> >>> hg >>> >>> *Hilton Gibson* >>> Ubuntu Linux Systems Administrator >>> JS Gericke Library >>> Room 1025D >>> Stellenbosch University >>> Private Bag X5036 >>> Stellenbosch >>> 7599 >>> South Africa >>> >>> Tel: +27 21 808 4100 | Cell: +27 84 646 4758 >>> http://scholar.sun.ac.za >>> http://bit.ly/goodir >>> http://library.sun.ac.za >>> http://za.linkedin.com/in/hiltongibson >>> >>> >>> On 3 April 2014 15:33, Kiriaki Roditi <[email protected] <mailto: >>> [email protected]>> wrote: >>> >>> Hello Päivi and everybody interested, >>> >>> I dealt the same error just yesterday with a DSpace 3.1 build. >>> This is how I managed to complete the build successfully: >>> Sonatype has changed the URL from http to https, so you need to >>> change this in your [dspace-src]/pom.xml >>> But you also need to force maven to find the new sonatype URL. In >>> order to do that delete (or if you want to be super safe cut to >>> another directory) the folders dspace-api and dspace-api-lang from >>> your local .m2 repository, like you already tried as stated in >>> your email. To determine which are the faulty .m2 repository >>> directories, check the date they were modified. It should be when >>> your build failed. >>> >>> Hope this helps. >>> >>> Best regards, >>> Kiriaki >>> >>> On 3/4/2014 1:49 μμ, Päivi Rosenström wrote: >>> >>>> Hi ! >>>> >>>> While attempting to build DSpace 3.2 code (previously worked ok) >>>> getting the following error message: >>>> >>>> INFO] Building jar: /data/source-dspace/dspace- >>>> api/target/dspace-api-3.2.jar >>>> [INFO] [jar:test-jar {execution: default}] >>>> [INFO] Skipping packaging of the test-jar >>>> [INFO] >>>> ------------------------------------------------------------ >>>> ------------ >>>> [INFO] Building DSpace Addon Modules >>>> [INFO] task-segment: [package] >>>> [INFO] >>>> ------------------------------------------------------------ >>>> ------------ >>>> [INFO] [enforcer:enforce {execution: enforce-maven}] >>>> [INFO] [site:attach-descriptor {execution: >>>> default-attach-descriptor}] >>>> [INFO] >>>> ------------------------------------------------------------ >>>> ------------ >>>> [INFO] Building DSpace Kernel :: Additions and Local Customizations >>>> [INFO] task-segment: [package] >>>> [INFO] >>>> ------------------------------------------------------------ >>>> ------------ >>>> [INFO] artifact org.dspace:dspace-api-lang: checking for updates from >>>> sonatype-releases >>>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = >>>> 'ef3dc2ec718a24931364e81249c0933d3d0cc682'; remote = '<html> >>>> <head><title>301' - RETRYING >>>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = >>>> 'ef3dc2ec718a24931364e81249c0933d3d0cc682'; remote = '<html> >>>> <head><title>301' - IGNORING >>>> [INFO] artifact org.dspace:dspace-api-lang: checking for updates >>>> from central >>>> [INFO] >>>> ------------------------------------------------------------ >>>> ------------ >>>> [ERROR] BUILD ERROR >>>> [INFO] >>>> ------------------------------------------------------------ >>>> ------------ >>>> [INFO] Failed to resolve artifact. >>>> >>>> Unable to get dependency information: Unable to read local copy of >>>> metadata: Cannot read metadata from >>>> '/home/tomcat/.m2/repository/org/dspace/dspace-api-lang/ >>>> maven-metadata-sonatype-releases.xml': end tag name </body> must match >>>> start tag name <hr> from line 5 (position: TEXT seen >>>> ...</center>\r\n</body>... >>>> @6:8) >>>> org.dspace:dspace-api-lang:jar:null >>>> >>>> from the specified remote repositories: >>>> central (http://repo1.maven.org/maven2), >>>> sonatype-nexus-snapshots >>>> (https://oss.sonatype.org/content/repositories/snapshots), >>>> sonatype-releases (http://oss.sonatype.org/ >>>> content/repositories/releases/) >>>> >>>> Path to dependency: >>>> 1) org.dspace.modules:additions:jar:3.2 >>>> >>>> >>>> >>>> [INFO] >>>> ------------------------------------------------------------ >>>> ------------ >>>> [INFO] For more information, run Maven with the -e switch >>>> [INFO] >>>> ------------------------------------------------------------ >>>> ------------ >>>> [INFO] Total time: 1 minute 6 seconds >>>> [INFO] Finished at: Thu Apr 03 10:51:51 EEST 2014 >>>> [INFO] Final Memory: 79M/567M >>>> [INFO] >>>> ------------------------------------------------------------ >>>> ------------ >>>> Build failure! Aborting. >>>> Error code 1 >>>> >>>> I compared previous file >>>> .m2/repository/org/dspace/dspace-api-lang/maven- >>>> metadata-sonatype-releases.xml >>>> with the new one and noticed the following: >>>> >>>> previous file: >>>> <metadata> >>>> <groupId>org.dspace</groupId> >>>> <artifactId>dspace-api-lang</artifactId> >>>> <versioning> >>>> <latest>4.1.0</latest> >>>> <release>4.1.0</release> >>>> <versions> >>>> <version>1.5.0.0</version> >>>> <version>1.5.2.0</version> >>>> <version>1.5.2.1</version> >>>> <version>1.6.0.0</version> >>>> <version>1.6.0.1</version> >>>> <version>1.6.1.0</version> >>>> <version>1.6.2.0</version> >>>> <version>1.7.0.1</version> >>>> <version>1.7.1.0</version> >>>> <version>1.8.0.0</version> >>>> <version>1.8.0.1</version> >>>> <version>1.8.0.2</version> >>>> <version>1.8.0.3</version> >>>> <version>3.0.0</version> >>>> <version>3.0.1</version> >>>> <version>3.0.2</version> >>>> <version>3.0.3</version> >>>> <version>4.0.0</version> >>>> <version>4.1.0</version> >>>> </versions> >>>> <lastUpdated>20140228192546</lastUpdated> >>>> </versioning> >>>> </metadata> >>>> >>>> New file: >>>> <html> >>>> <head><title>301 Moved Permanently</title></head> >>>> <body bgcolor="white"> >>>> <center><h1>301 Moved Permanently</h1></center> >>>> <hr><center>nginx/0.8.54</center></hr> >>>> </body> >>>> </html> >>>> >>>> => so it seems that the location of the file >>>> maven-metadata-sonatype-releases.xml has been permanently changed... >>>> Same problem with the file >>>> .m2/repository/org/dspace/dspace-xmlui-lang/maven- >>>> metadata-sonatype-releases.xml. Attempt to clean the local .m2 >>>> repository does not >>>> help. >>>> >>>> How to fix this ? Thanks in advance ! >>>> >>>> Päivi R >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> _______________________________________________ >>>> DSpace-tech mailing list >>>> [email protected] <mailto:DSpace-tech@lists. >>>> sourceforge.net> >>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>>> List Etiquette:https://wiki.duraspace.org/display/DSPACE/ >>>> Mailing+List+Etiquette >>>> >>> >>> -- *Kiriaki Roditi* >>> >>> Systems Engineer >>> >>> ------------------------------------------------------------ >>> ------------ >>> >>> ELiDOC Systems & Services >>> >>> Irakliou Str. 162-164 | Athens, Greece | P.C. 111 42 | >>> www.elidoc.gr <http://www.elidoc.gr> >>> >>> Phone: +30 210 2588510 <tel:%2B30%20210%202588510> | Fax: +30 210 >>> 2514572 <tel:%2B30%20210%202514572> >>> >>> e-mail: [email protected] <mailto:[email protected]> >>> >>> >>> >>> ------------------------------------------------------------ >>> ------------ >>> <http://www.avast.com/> >>> >>> Αυτό το email είναι απαλλαγμένο από ιούς και κακόβουλο λογισμικό, >>> επειδή η προστασία avast! Antivirus <http://www.avast.com/> είναι >>> ενεργή. >>> >>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> >>> _______________________________________________ >>> DSpace-tech mailing list >>> [email protected] >>> <mailto:[email protected]> >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>> List Etiquette: >>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >>> >>> >>> >> -- >> >> *Kiriaki Roditi* >> >> Systems Engineer >> >> ------------------------------------------------------------------------ >> >> ELiDOC Systems & Services >> >> Irakliou Str. 162-164 | Athens, Greece | P.C. 111 42 | www.elidoc.gr >> >> Phone: +30 210 2588510 | Fax: +30 210 2514572 >> >> e-mail: [email protected] >> >> >> >> --- >> Αυτό το email είναι απαλλαγμένο από ιούς και κακόβουλο λογισμικό, επειδή >> είναι ενεργή η προστασία avast! Antivirus. >> http://www.avast.com >> > > > >
------------------------------------------------------------------------------
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

