Re: [Dspace-tech] Maven Package in 3.x

2013-10-29 Thread Adam Rousell
Hi Hardy,

Just thought I would let you know that it does actually appear to be working, 
it is just painfully slow. I left it running over lunch and when I came back it 
had finished the package. Ran it again just to see and it looks it hangs at 
that point for about 20 minutes before finishing the download. But it builds so 
I am happy lol.

Regards,

Adam

-Original Message-
From: Pottinger, Hardy J. [mailto:pottinge...@missouri.edu] 
Sent: 25 October 2013 19:31
To: Adam Rousell; heli...@centrum.sk
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Maven Package in 3.x

Hi, Adam, I bet Helix will beat me to this reply, but I thought I'd just point 
out that the most important part of the command that Helix suggested, and you 
didn't mention in your reply, so I'm pointing it out, is the -U option. clean 
package tells Maven to first clean out the build target folder, and then 
package tells Maven to re-package the ant installer for DSpace. The -U 
command line tells Maven to update all snapshots--think of those as 
dependencies. Taking the extra step of first deleting your .m2 folder just 
ensures that nothing strange happens with the dependency update. BTW, 
deleting your ~/.m2 folder deletes a lot more than your cache repository... in 
the future, you may want to remove just the ~.m2/repository folder, especially 
if you've been storing settings or profiles in .m2/settings.xml. Also, if 
you're an Oracle DB user like me, you'll need to re-install the Oracle driver, 
since it's stored in your ~/.m2/repository folder. Sorry to be pedantic, but 
these de
 tails are important. :-)

Oh, also, you may want to try tinkering with Vagrant-DSpace if you want a quick 
way to get up and running with DSpace:

https://github.com/DSpace/vagrant-DSpace


--
HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library 
Systems http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
It is a well-known fact in any organization that, if you want a job done, you 
should give it to someone who is already very busy. --Terry Pratchett, Unseen 
Academicals





On 10/25/13 4:55 AM, Adam Rousell adam.rous...@nottingham.ac.uk wrote:

Hey, think I may have spoken too soon...

It worked once and now I'm having the same issue again, and running the 
clean package and deleting the .m2 folder are having no effect. Any 
other thoughts? It's a 3.2-src-release one that I am trying to build...

Adam


-Original Message-
From: Rousell Adam
Sent: 23 October 2013 14:41
To: 'heli...@centrum.sk'
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Maven Package in 3.x

Hey, the clean package thing seemed to do the trick. It's on a new 
Linux setup so maybe something to do with Maven being freshly 
downloaded from the repository or something...

Anyway, thanks for your help :)

Adam

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
helix84
Sent: 23 October 2013 13:34
To: Adam Rousell
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Maven Package in 3.x

On Wed, Oct 23, 2013 at 12:36 PM, Adam Rousell 
adam.rous...@nottingham.ac.uk wrote:
 I seem to be having issues with running the maven package on a newly  
downloaded instance of DSpace 3.x. During the package process the  
system hangs when trying to download files. A number of the links  
provided result in a 404 error when trying to access through a browser 
(i.e.
 
http://oss.sonatype.org/content/repositories/releases/commons-digester
/co mmons-digester/1.6/commons-digester-1.6.jar).
 Is this a problem with the host that holds these files as at the  
minute I cannot build any instances that use these.

Hi Adam,

I'm not sure how Maven got that broken link, because 
commons-digester-1.6.jar *is* available on Maven Central [1]. We think 
this might be a Maven caching issue. Try building again with:
mvn -U clean package

If that doesn't help, try deleting the ~/.m2 directory. Maven will 
re-fetch every dependency and recreate it on its next run.

Which exact 3.x version are you building? We were able to build 3.2 
successfully.

[1]
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22commons-digester%22%
20A
ND%20a%3A%22commons-digester%22


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
---
---

October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the 
most from the latest Intel processors and coprocessors. See abstracts 
and register  
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.cl
ktr
k
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette

Re: [Dspace-tech] Maven Package in 3.x

2013-10-29 Thread Pottinger, Hardy J.
Hi, Adam, if it builds ok, you can probably just switch back to mvn clean 
package. If it still hangs, let us know where it hangs in the process.

--Hardy

Sent from my iPad

 On Oct 29, 2013, at 4:38 AM, Adam Rousell adam.rous...@nottingham.ac.uk 
 wrote:
 
 Hi Hardy,
 
 Just thought I would let you know that it does actually appear to be working, 
 it is just painfully slow. I left it running over lunch and when I came back 
 it had finished the package. Ran it again just to see and it looks it hangs 
 at that point for about 20 minutes before finishing the download. But it 
 builds so I am happy lol.
 
 Regards,
 
 Adam
 
 -Original Message-
 From: Pottinger, Hardy J. [mailto:pottinge...@missouri.edu] 
 Sent: 25 October 2013 19:31
 To: Adam Rousell; heli...@centrum.sk
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Maven Package in 3.x
 
 Hi, Adam, I bet Helix will beat me to this reply, but I thought I'd just 
 point out that the most important part of the command that Helix suggested, 
 and you didn't mention in your reply, so I'm pointing it out, is the -U 
 option. clean package tells Maven to first clean out the build target 
 folder, and then package tells Maven to re-package the ant installer for 
 DSpace. The -U command line tells Maven to update all snapshots--think of 
 those as dependencies. Taking the extra step of first deleting your .m2 
 folder just ensures that nothing strange happens with the dependency 
 update. BTW, deleting your ~/.m2 folder deletes a lot more than your cache 
 repository... in the future, you may want to remove just the ~.m2/repository 
 folder, especially if you've been storing settings or profiles in 
 .m2/settings.xml. Also, if you're an Oracle DB user like me, you'll need to 
 re-install the Oracle driver, since it's stored in your ~/.m2/repository 
 folder. Sorry to be pedantic, but these 
 details are important. :-)
 
 Oh, also, you may want to try tinkering with Vagrant-DSpace if you want a 
 quick way to get up and running with DSpace:
 
 https://github.com/DSpace/vagrant-DSpace
 
 
 --
 HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library 
 Systems http://lso.umsystem.edu/~pottingerhj/
 https://MOspace.umsystem.edu/
 It is a well-known fact in any organization that, if you want a job done, 
 you should give it to someone who is already very busy. --Terry Pratchett, 
 Unseen Academicals
 
 
 
 
 
 On 10/25/13 4:55 AM, Adam Rousell adam.rous...@nottingham.ac.uk wrote:
 
 Hey, think I may have spoken too soon...
 
 It worked once and now I'm having the same issue again, and running the 
 clean package and deleting the .m2 folder are having no effect. Any 
 other thoughts? It's a 3.2-src-release one that I am trying to build...
 
 Adam
 
 
 -Original Message-
 From: Rousell Adam
 Sent: 23 October 2013 14:41
 To: 'heli...@centrum.sk'
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: [Dspace-tech] Maven Package in 3.x
 
 Hey, the clean package thing seemed to do the trick. It's on a new 
 Linux setup so maybe something to do with Maven being freshly 
 downloaded from the repository or something...
 
 Anyway, thanks for your help :)
 
 Adam
 
 -Original Message-
 From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
 helix84
 Sent: 23 October 2013 13:34
 To: Adam Rousell
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Maven Package in 3.x
 
 On Wed, Oct 23, 2013 at 12:36 PM, Adam Rousell 
 adam.rous...@nottingham.ac.uk wrote:
 I seem to be having issues with running the maven package on a newly  
 downloaded instance of DSpace 3.x. During the package process the  
 system hangs when trying to download files. A number of the links  
 provided result in a 404 error when trying to access through a browser 
 (i.e.
 
 http://oss.sonatype.org/content/repositories/releases/commons-digester
 /co mmons-digester/1.6/commons-digester-1.6.jar).
 Is this a problem with the host that holds these files as at the  
 minute I cannot build any instances that use these.
 
 Hi Adam,
 
 I'm not sure how Maven got that broken link, because 
 commons-digester-1.6.jar *is* available on Maven Central [1]. We think 
 this might be a Maven caching issue. Try building again with:
 mvn -U clean package
 
 If that doesn't help, try deleting the ~/.m2 directory. Maven will 
 re-fetch every dependency and recreate it on its next run.
 
 Which exact 3.x version are you building? We were able to build 3.2 
 successfully.
 
 [1]
 http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22commons-digester%22%
 20A
 ND%20a%3A%22commons-digester%22
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 ---
 ---
 
 October Webinars: Code for Performance
 Free Intel webinars can help you accelerate application performance.
 Explore tips for MPI, OpenMP

Re: [Dspace-tech] Maven Package in 3.x

2013-10-28 Thread Adam Rousell
Hi,

Sorry, yes I did the mvn -U clean package command. I have even reinstalled 
Maven (we're running it on Ubuntu) but it still hangs at the same point:

Downloading: 
http://oss.sonatype.org/content/repositories/releases/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar
Downloading: 
http://oss.sonatype.org/content/repositories/releases/commons-beanutils/commons-beanutils
 /1.7.0/commons-beanutils-1.7.0.jar
Downloading: 
http://oss.sonatype.org/content/repositories/releases/commons-digester/commons-digester/1.6/commons-digester-1.6.jar

I have also tried it on Windows 7 and the same problem occurs. I have built the 
same version (dspace-3.2-src-release) on there before with no problems.

Regards,

Adam Rousell

-Original Message-
From: Pottinger, Hardy J. [mailto:pottinge...@missouri.edu] 
Sent: 25 October 2013 19:31
To: Adam Rousell; heli...@centrum.sk
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Maven Package in 3.x

Hi, Adam, I bet Helix will beat me to this reply, but I thought I'd just point 
out that the most important part of the command that Helix suggested, and you 
didn't mention in your reply, so I'm pointing it out, is the -U option. clean 
package tells Maven to first clean out the build target folder, and then 
package tells Maven to re-package the ant installer for DSpace. The -U 
command line tells Maven to update all snapshots--think of those as 
dependencies. Taking the extra step of first deleting your .m2 folder just 
ensures that nothing strange happens with the dependency update. BTW, 
deleting your ~/.m2 folder deletes a lot more than your cache repository... in 
the future, you may want to remove just the ~.m2/repository folder, especially 
if you've been storing settings or profiles in .m2/settings.xml. Also, if 
you're an Oracle DB user like me, you'll need to re-install the Oracle driver, 
since it's stored in your ~/.m2/repository folder. Sorry to be pedantic, but 
these de
 tails are important. :-)

Oh, also, you may want to try tinkering with Vagrant-DSpace if you want a quick 
way to get up and running with DSpace:

https://github.com/DSpace/vagrant-DSpace


--
HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library 
Systems http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
It is a well-known fact in any organization that, if you want a job done, you 
should give it to someone who is already very busy. --Terry Pratchett, Unseen 
Academicals





On 10/25/13 4:55 AM, Adam Rousell adam.rous...@nottingham.ac.uk wrote:

Hey, think I may have spoken too soon...

It worked once and now I'm having the same issue again, and running the 
clean package and deleting the .m2 folder are having no effect. Any 
other thoughts? It's a 3.2-src-release one that I am trying to build...

Adam


-Original Message-
From: Rousell Adam
Sent: 23 October 2013 14:41
To: 'heli...@centrum.sk'
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Maven Package in 3.x

Hey, the clean package thing seemed to do the trick. It's on a new 
Linux setup so maybe something to do with Maven being freshly 
downloaded from the repository or something...

Anyway, thanks for your help :)

Adam

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
helix84
Sent: 23 October 2013 13:34
To: Adam Rousell
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Maven Package in 3.x

On Wed, Oct 23, 2013 at 12:36 PM, Adam Rousell 
adam.rous...@nottingham.ac.uk wrote:
 I seem to be having issues with running the maven package on a newly  
downloaded instance of DSpace 3.x. During the package process the  
system hangs when trying to download files. A number of the links  
provided result in a 404 error when trying to access through a browser 
(i.e.
 
http://oss.sonatype.org/content/repositories/releases/commons-digester
/co mmons-digester/1.6/commons-digester-1.6.jar).
 Is this a problem with the host that holds these files as at the  
minute I cannot build any instances that use these.

Hi Adam,

I'm not sure how Maven got that broken link, because 
commons-digester-1.6.jar *is* available on Maven Central [1]. We think 
this might be a Maven caching issue. Try building again with:
mvn -U clean package

If that doesn't help, try deleting the ~/.m2 directory. Maven will 
re-fetch every dependency and recreate it on its next run.

Which exact 3.x version are you building? We were able to build 3.2 
successfully.

[1]
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22commons-digester%22%
20A
ND%20a%3A%22commons-digester%22


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
---
---

October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP

Re: [Dspace-tech] Maven Package in 3.x

2013-10-25 Thread Adam Rousell
Hey, think I may have spoken too soon...

It worked once and now I'm having the same issue again, and running the clean 
package and deleting the .m2 folder are having no effect. Any other thoughts? 
It's a 3.2-src-release one that I am trying to build...

Adam


-Original Message-
From: Rousell Adam 
Sent: 23 October 2013 14:41
To: 'heli...@centrum.sk'
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Maven Package in 3.x

Hey, the clean package thing seemed to do the trick. It's on a new Linux setup 
so maybe something to do with Maven being freshly downloaded from the 
repository or something...

Anyway, thanks for your help :)

Adam

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: 23 October 2013 13:34
To: Adam Rousell
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Maven Package in 3.x

On Wed, Oct 23, 2013 at 12:36 PM, Adam Rousell adam.rous...@nottingham.ac.uk 
wrote:
 I seem to be having issues with running the maven package on a newly 
 downloaded instance of DSpace 3.x. During the package process the 
 system hangs when trying to download files. A number of the links 
 provided result in a 404 error when trying to access through a browser (i.e.
 http://oss.sonatype.org/content/repositories/releases/commons-digester/commons-digester/1.6/commons-digester-1.6.jar).
 Is this a problem with the host that holds these files as at the 
 minute I cannot build any instances that use these.

Hi Adam,

I'm not sure how Maven got that broken link, because commons-digester-1.6.jar 
*is* available on Maven Central [1]. We think this might be a Maven caching 
issue. Try building again with:
mvn -U clean package

If that doesn't help, try deleting the ~/.m2 directory. Maven will re-fetch 
every dependency and recreate it on its next run.

Which exact 3.x version are you building? We were able to build 3.2 
successfully.

[1] 
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22commons-digester%22%20AND%20a%3A%22commons-digester%22


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Maven Package in 3.x

2013-10-25 Thread Pottinger, Hardy J.
Hi, Adam, I bet Helix will beat me to this reply, but I thought I'd just
point out that the most important part of the command that Helix
suggested, and you didn't mention in your reply, so I'm pointing it out,
is the -U option. clean package tells Maven to first clean out the
build target folder, and then package tells Maven to re-package the ant
installer for DSpace. The -U command line tells Maven to update all
snapshots--think of those as dependencies. Taking the extra step of
first deleting your .m2 folder just ensures that nothing strange happens
with the dependency update. BTW, deleting your ~/.m2 folder deletes a lot
more than your cache repository... in the future, you may want to remove
just the ~.m2/repository folder, especially if you've been storing
settings or profiles in .m2/settings.xml. Also, if you're an Oracle DB
user like me, you'll need to re-install the Oracle driver, since it's
stored in your ~/.m2/repository folder. Sorry to be pedantic, but these
details are important. :-)

Oh, also, you may want to try tinkering with Vagrant-DSpace if you want a
quick way to get up and running with DSpace:

https://github.com/DSpace/vagrant-DSpace


--
HARDY POTTINGER pottinge...@umsystem.edu
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
https://MOspace.umsystem.edu/
It is a well-known fact in any organization that, if you want a job done,
you should give it to someone who is already very busy. --Terry
Pratchett, Unseen Academicals





On 10/25/13 4:55 AM, Adam Rousell adam.rous...@nottingham.ac.uk wrote:

Hey, think I may have spoken too soon...

It worked once and now I'm having the same issue again, and running the
clean package and deleting the .m2 folder are having no effect. Any other
thoughts? It's a 3.2-src-release one that I am trying to build...

Adam


-Original Message-
From: Rousell Adam
Sent: 23 October 2013 14:41
To: 'heli...@centrum.sk'
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Maven Package in 3.x

Hey, the clean package thing seemed to do the trick. It's on a new Linux
setup so maybe something to do with Maven being freshly downloaded from
the repository or something...

Anyway, thanks for your help :)

Adam

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
helix84
Sent: 23 October 2013 13:34
To: Adam Rousell
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Maven Package in 3.x

On Wed, Oct 23, 2013 at 12:36 PM, Adam Rousell
adam.rous...@nottingham.ac.uk wrote:
 I seem to be having issues with running the maven package on a newly
 downloaded instance of DSpace 3.x. During the package process the
 system hangs when trying to download files. A number of the links
 provided result in a 404 error when trying to access through a browser
(i.e.
 
http://oss.sonatype.org/content/repositories/releases/commons-digester/co
mmons-digester/1.6/commons-digester-1.6.jar).
 Is this a problem with the host that holds these files as at the
 minute I cannot build any instances that use these.

Hi Adam,

I'm not sure how Maven got that broken link, because
commons-digester-1.6.jar *is* available on Maven Central [1]. We think
this might be a Maven caching issue. Try building again with:
mvn -U clean package

If that doesn't help, try deleting the ~/.m2 directory. Maven will
re-fetch every dependency and recreate it on its next run.

Which exact 3.x version are you building? We were able to build 3.2
successfully.

[1] 
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22commons-digester%22%20A
ND%20a%3A%22commons-digester%22


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--

October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktr
k
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace

[Dspace-tech] Maven Package in 3.x

2013-10-23 Thread Adam Rousell
Hi,

I seem to be having issues with running the maven package on a newly downloaded 
instance of DSpace 3.x. During the package process the system hangs when trying 
to download files. A number of the links provided result in a 404 error when 
trying to access through a browser (i.e. 
http://oss.sonatype.org/content/repositories/releases/commons-digester/commons-digester/1.6/commons-digester-1.6.jar).
 Is this a problem with the host that holds these files as at the minute I 
cannot build any instances that use these.

Regards,

Dr Adam Rousell
Research Fellow
Nottingham Geospatial Institute.

Nottingham Geospatial Building, University of Nottingham, Innovation Park, 
Triumph Road, Nottingham, NG7 2TU, UK
Email: adam.rous...@nottingham.ac.uk | Phone: 0115 82 32763


This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, copy 
or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.



This message has been checked for viruses but the contents of an attachment

may still contain software viruses which could damage your computer system, you 
are advised to perform your own checks. Email communications with the 
University of Nottingham may be monitored as permitted by UK legislation.









--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Maven Package in 3.x

2013-10-23 Thread helix84
On Wed, Oct 23, 2013 at 12:36 PM, Adam Rousell
adam.rous...@nottingham.ac.uk wrote:
 I seem to be having issues with running the maven package on a newly
 downloaded instance of DSpace 3.x. During the package process the system
 hangs when trying to download files. A number of the links provided result
 in a 404 error when trying to access through a browser (i.e.
 http://oss.sonatype.org/content/repositories/releases/commons-digester/commons-digester/1.6/commons-digester-1.6.jar).
 Is this a problem with the host that holds these files as at the minute I
 cannot build any instances that use these.

Hi Adam,

I'm not sure how Maven got that broken link, because
commons-digester-1.6.jar *is* available on Maven Central [1]. We think
this might be a Maven caching issue. Try building again with:
mvn -U clean package

If that doesn't help, try deleting the ~/.m2 directory. Maven will
re-fetch every dependency and recreate it on its next run.

Which exact 3.x version are you building? We were able to build 3.2
successfully.

[1] 
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22commons-digester%22%20AND%20a%3A%22commons-digester%22


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Maven Package in 3.x

2013-10-23 Thread Adam Rousell
Hey, the clean package thing seemed to do the trick. It's on a new Linux setup 
so maybe something to do with Maven being freshly downloaded from the 
repository or something...

Anyway, thanks for your help :)

Adam

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: 23 October 2013 13:34
To: Adam Rousell
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Maven Package in 3.x

On Wed, Oct 23, 2013 at 12:36 PM, Adam Rousell adam.rous...@nottingham.ac.uk 
wrote:
 I seem to be having issues with running the maven package on a newly 
 downloaded instance of DSpace 3.x. During the package process the 
 system hangs when trying to download files. A number of the links 
 provided result in a 404 error when trying to access through a browser (i.e.
 http://oss.sonatype.org/content/repositories/releases/commons-digester/commons-digester/1.6/commons-digester-1.6.jar).
 Is this a problem with the host that holds these files as at the 
 minute I cannot build any instances that use these.

Hi Adam,

I'm not sure how Maven got that broken link, because commons-digester-1.6.jar 
*is* available on Maven Central [1]. We think this might be a Maven caching 
issue. Try building again with:
mvn -U clean package

If that doesn't help, try deleting the ~/.m2 directory. Maven will re-fetch 
every dependency and recreate it on its next run.

Which exact 3.x version are you building? We were able to build 3.2 
successfully.

[1] 
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22commons-digester%22%20AND%20a%3A%22commons-digester%22


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette