[Dspace-tech] maven build failure dspace 5.2

2015-06-30 Thread cotanio
Hi everyone,

I'm doing upgrade to dspace 5.2 on Oracle database and run:

mvn -Ddb.name=oracle -U clean package

the following error message appears:

/Failed to execute on project goal additions: Could not resolve
dependencies for project org.dspace.modules: additions: jar: 5.2: Could not
find artifact com.oracle:ojdbc6:jar:11.2.0.4.0 in Sonatype-releases https:
//oss.sonatype.org/content/repositories/releases//

Is there an alternative repository to add in pom.xml to solve?

In the pom.xml is:

 repository
idsonatype-releases/id
nameSonatype Releases Repository/name
   
urlhttps://oss.sonatype.org/content/repositories/releases//url
  /repository

Thanks in advance



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/maven-build-failure-dspace-5-2-tp4678644.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
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 build failure dspace 5.2

2015-06-30 Thread Mark H. Wood
On Tue, Jun 30, 2015 at 05:25:01AM -0700, cotanio wrote:
 I'm doing upgrade to dspace 5.2 on Oracle database and run:
 
 mvn -Ddb.name=oracle -U clean package
 
 the following error message appears:
 
 /Failed to execute on project goal additions: Could not resolve
 dependencies for project org.dspace.modules: additions: jar: 5.2: Could not
 find artifact com.oracle:ojdbc6:jar:11.2.0.4.0 in Sonatype-releases https:
 //oss.sonatype.org/content/repositories/releases//
 
 Is there an alternative repository to add in pom.xml to solve?

You need to have that artifact manually installed in your local Maven
repository (~/.m2/repository).  The upgrade instructions don't discuss
that, but you can follow the instructions under Installation:

  
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-Installation

in step 4 (Database Setup) under Oracle:.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
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 error

2015-03-09 Thread Lewatle Phaladi
Thanks Tim.

Regards,
Lewatle 

-Original Message-
From: Tim Donohue [mailto:tdono...@duraspace.org] 
Sent: 06 March 2015 05:49 PM
To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] maven error

Hi Lewatle,

Aha, there's the issue then.

It looks like you only installed the JRE.  DSpace requires the JDK as noted in 
the Installation docs:

https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-OracleJavaJDK7orOpenJDK7

So, you need to install the *full* JDK:

sudo apt-get install openjdk-7-jdk

(It's likely you just installed openjdk-7-jre previously, which doesn't 
include that /lib folder and the tools.jar)

After installing the full JDK, things should work properly.

- Tim


On 3/6/2015 8:53 AM, Lewatle Phaladi wrote:
 Hi Tim,

 Inside my ~/.m2/ there is :

 dspace@lcstest:~$ ls .m2/
 repository/   settings.xml

 The file /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar is not existing on 
 my test server I have only :

 dspace@lcstest:~$ ls -l /usr/lib/jvm/java-7-openjdk-amd64/
 bin/  docs/ jre/  man/

 environment variable is set as follows:.
   JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64

 Regards,
 Lewatle


 -Original Message-
 From: Tim Donohue [mailto:tdono...@duraspace.org]
 Sent: 06 March 2015 04:16 PM
 To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] maven error

 Hi Lewatle,

 Interesting. I have a nearly identical setup (Ubuntu 14.04, OpenJDK 7, Maven 
 3.0.5) and I'm not seeing this same behavior.

 Does this file exist on your server? Is it publicly readable (mine is 644)?

 /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar

 Do you have the JAVA_HOME environment variable set?

 Essentially, the Maven command is trying to locate the tools.jar on your 
 server, and it's trying to find it at JAVA_HOME/../lib/tools.jar.
 (This logic was added initially in DSpace 4.0 and is unchanged in 
 DSpace 5)

 For some reason it is working on my Ubuntu 14.04 server, but not on 
 yours...so, I'm just trying to narrow down the cause of the issue here.

 You also could try to run the following to ensure any prior maven builds are 
 first cleaned out (in case that could be causing issues):

 mvn -U clean package

 (The -U tells Maven to also update its dependencies in your local 
 ~/.m2/
 repository)

 - Tim

 On 3/6/2015 2:17 AM, Lewatle Phaladi wrote:
 Hi Tim,

 I am running Ubuntu OS version  : Distributor ID: Ubuntu

 Description:Ubuntu 14.04.1 LTS

 Release:14.04

 Codename:   trusty


 Java version :  java version 1.7.0_75
OpenJDK Runtime Environment (IcedTea 2.5.4) 
 (7u75-2.5.4-1~trusty1)
 OpenJDK 64-Bit Server VM (build 
 24.75-b04, mixed mode)

 Maven : Apache Maven 3.0.5
 Maven home: /usr/share/maven
 Java version: 1.7.0_75, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
 Default locale: en_ZA, platform encoding: UTF-8
 OS name: linux, version: 3.13.0-46-generic, arch: 
 amd64, family: unix

 Ant : Apache Ant(TM) version 1.9.3 compiled on April 8 2014

 Tomcat version  : apache-tomcat-8.0.20 Database : PostgreSQL 9.3 
 database server

 Regards,
 Lewatle

 -Original Message-
 From: Tim Donohue [mailto:tdono...@duraspace.org]
 Sent: 05 March 2015 11:40 PM
 To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] maven error

 Hi Lewatle,

 We likely need more information here on your environment. What OS are you 
 using?  What version of Java?

 The ${toolsjar} setting is supposed to be auto-determined by our Maven POM 
 based on your JAVA_HOME..and it's different based on your operating system.

 Here's the relevant part of the Maven POM which seems to be having issues:
 https://github.com/DSpace/DSpace/blob/master/pom.xml#L447

 - Tim

 On 3/4/2015 4:06 AM, Lewatle Phaladi wrote:
 Hi,

 I am getting the following error, any idea what am I doing wrongly

 dspace@lcstest:~/dspace-5.0-src-release$ mvn package

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.dspace:dspace-parent:5.0
 (/home/dspace/dspace-5.0-src-release/pom.xml) has 1 error

 [ERROR]
 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
 for com.sun:tools:jar must specify an absolute path but is 
 ${toolsjar} @ line 176, column 28

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with 
 the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about

Re: [Dspace-tech] maven error

2015-03-09 Thread Lewatle Phaladi
Thanks Hilton!

From: Hilton Gibson [mailto:hilton.gib...@gmail.com]
Sent: 06 March 2015 05:15 PM
To: Lewatle Phaladi
Cc: Tim Donohue; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] maven error

Ok, Try to install the following:

sudo apt-get install default-jdk default-jre

Also see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S03

Cheers

hg

Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 6 March 2015 at 16:53, Lewatle Phaladi 
lewatle.phal...@wits.ac.zamailto:lewatle.phal...@wits.ac.za wrote:
Hi Tim,

Inside my ~/.m2/ there is :

dspace@lcstest:~$ ls .m2/
repository/   settings.xml

The file /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar is not existing on my 
test server I have only :

dspace@lcstest:~$ ls -l /usr/lib/jvm/java-7-openjdk-amd64/
bin/  docs/ jre/  man/

environment variable is set as follows:.
 JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64

Regards,
Lewatle


-Original Message-
From: Tim Donohue [mailto:tdono...@duraspace.orgmailto:tdono...@duraspace.org]
Sent: 06 March 2015 04:16 PM
To: Lewatle Phaladi; 
dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] maven error

Hi Lewatle,

Interesting. I have a nearly identical setup (Ubuntu 14.04, OpenJDK 7, Maven 
3.0.5) and I'm not seeing this same behavior.

Does this file exist on your server? Is it publicly readable (mine is 644)?

/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar

Do you have the JAVA_HOME environment variable set?

Essentially, the Maven command is trying to locate the tools.jar on your 
server, and it's trying to find it at JAVA_HOME/../lib/tools.jar.
(This logic was added initially in DSpace 4.0 and is unchanged in DSpace 5)

For some reason it is working on my Ubuntu 14.04 server, but not on yours...so, 
I'm just trying to narrow down the cause of the issue here.

You also could try to run the following to ensure any prior maven builds are 
first cleaned out (in case that could be causing issues):

mvn -U clean package

(The -U tells Maven to also update its dependencies in your local ~/.m2/
repository)

- Tim

On 3/6/2015 2:17 AM, Lewatle Phaladi wrote:
 Hi Tim,

 I am running Ubuntu OS version  : Distributor ID: Ubuntu
   
 Description:Ubuntu 14.04.1 LTS
   
 Release:14.04
   
 Codename:   trusty


 Java version :  java version 1.7.0_75
   OpenJDK Runtime Environment (IcedTea 2.5.4) 
 (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build
 24.75-b04, mixed mode)

 Maven : Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_ZA, platform encoding: UTF-8
OS name: linux, version: 3.13.0-46-generic, arch: 
 amd64, family: unix

 Ant : Apache Ant(TM) version 1.9.3 compiled on April 8 2014

 Tomcat version  : apache-tomcat-8.0.20 Database : PostgreSQL 9.3
 database server

 Regards,
 Lewatle

 -Original Message-
 From: Tim Donohue 
 [mailto:tdono...@duraspace.orgmailto:tdono...@duraspace.org]
 Sent: 05 March 2015 11:40 PM
 To: Lewatle Phaladi; 
 dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] maven error

 Hi Lewatle,

 We likely need more information here on your environment. What OS are you 
 using?  What version of Java?

 The ${toolsjar} setting is supposed to be auto-determined by our Maven POM 
 based on your JAVA_HOME..and it's different based on your operating system.

 Here's the relevant part of the Maven POM which seems to be having issues:
 https://github.com/DSpace/DSpace/blob/master/pom.xml#L447

 - Tim

 On 3/4/2015 4:06 AM, Lewatle Phaladi wrote:
 Hi,

 I am getting the following error, any idea what am I doing wrongly

 dspace@lcstest:~/dspace-5.0-src-release$mailto:dspace@lcstest:~/dspace-5.0-src-release$
  mvn package

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.dspace:dspace-parent:5.0
 (/home/dspace/dspace-5.0-src-release/pom.xml) has 1 error

 [ERROR]
 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
 for com.sun:tools:jar must specify an absolute path but is
 ${toolsjar} @ line 176, column 28

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR

Re: [Dspace-tech] maven error

2015-03-06 Thread Lewatle Phaladi
Hi Tim, 

Inside my ~/.m2/ there is :

dspace@lcstest:~$ ls .m2/
repository/   settings.xml

The file /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar is not existing on my 
test server I have only :

dspace@lcstest:~$ ls -l /usr/lib/jvm/java-7-openjdk-amd64/
bin/  docs/ jre/  man/

environment variable is set as follows:.
 JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64

Regards,
Lewatle 


-Original Message-
From: Tim Donohue [mailto:tdono...@duraspace.org] 
Sent: 06 March 2015 04:16 PM
To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] maven error

Hi Lewatle,

Interesting. I have a nearly identical setup (Ubuntu 14.04, OpenJDK 7, Maven 
3.0.5) and I'm not seeing this same behavior.

Does this file exist on your server? Is it publicly readable (mine is 644)?

/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar

Do you have the JAVA_HOME environment variable set?

Essentially, the Maven command is trying to locate the tools.jar on your 
server, and it's trying to find it at JAVA_HOME/../lib/tools.jar. 
(This logic was added initially in DSpace 4.0 and is unchanged in DSpace 5)

For some reason it is working on my Ubuntu 14.04 server, but not on yours...so, 
I'm just trying to narrow down the cause of the issue here.

You also could try to run the following to ensure any prior maven builds are 
first cleaned out (in case that could be causing issues):

mvn -U clean package

(The -U tells Maven to also update its dependencies in your local ~/.m2/
repository)

- Tim

On 3/6/2015 2:17 AM, Lewatle Phaladi wrote:
 Hi Tim,

 I am running Ubuntu OS version  : Distributor ID: Ubuntu
   
 Description:Ubuntu 14.04.1 LTS
   
 Release:14.04
   
 Codename:   trusty


 Java version :  java version 1.7.0_75
   OpenJDK Runtime Environment (IcedTea 2.5.4) 
 (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build 
 24.75-b04, mixed mode)

 Maven : Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_ZA, platform encoding: UTF-8
OS name: linux, version: 3.13.0-46-generic, arch: 
 amd64, family: unix

 Ant : Apache Ant(TM) version 1.9.3 compiled on April 8 2014

 Tomcat version  : apache-tomcat-8.0.20 Database : PostgreSQL 9.3 
 database server

 Regards,
 Lewatle

 -Original Message-
 From: Tim Donohue [mailto:tdono...@duraspace.org]
 Sent: 05 March 2015 11:40 PM
 To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] maven error

 Hi Lewatle,

 We likely need more information here on your environment. What OS are you 
 using?  What version of Java?

 The ${toolsjar} setting is supposed to be auto-determined by our Maven POM 
 based on your JAVA_HOME..and it's different based on your operating system.

 Here's the relevant part of the Maven POM which seems to be having issues:
 https://github.com/DSpace/DSpace/blob/master/pom.xml#L447

 - Tim

 On 3/4/2015 4:06 AM, Lewatle Phaladi wrote:
 Hi,

 I am getting the following error, any idea what am I doing wrongly

 dspace@lcstest:~/dspace-5.0-src-release$ mvn package

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.dspace:dspace-parent:5.0
 (/home/dspace/dspace-5.0-src-release/pom.xml) has 1 error

 [ERROR]
 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
 for com.sun:tools:jar must specify an absolute path but is 
 ${toolsjar} @ line 176, column 28

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with 
 the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions, 
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExcep
 t
 ion

 Regards,

 Lewatle

 This communication is intended for the addressee only. It is 
 confidential. If you have received this communication in error, 
 please notify us immediately and destroy the original message. You 
 may not copy or disseminate this communication without the permission 
 of the University. Only authorised signatories are competent to enter 
 into agreements on behalf of the University and recipients are thus 
 advised that the content of this message may not be legally binding 
 on the University and may contain the personal views and opinions of 
 the author, which are not necessarily the views and opinions of The 
 University

Re: [Dspace-tech] maven error

2015-03-06 Thread Tim Donohue
Hi Lewatle,

Interesting. I have a nearly identical setup (Ubuntu 14.04, OpenJDK 7, 
Maven 3.0.5) and I'm not seeing this same behavior.

Does this file exist on your server? Is it publicly readable (mine is 644)?

/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar

Do you have the JAVA_HOME environment variable set?

Essentially, the Maven command is trying to locate the tools.jar on 
your server, and it's trying to find it at JAVA_HOME/../lib/tools.jar. 
(This logic was added initially in DSpace 4.0 and is unchanged in DSpace 5)

For some reason it is working on my Ubuntu 14.04 server, but not on 
yours...so, I'm just trying to narrow down the cause of the issue here.

You also could try to run the following to ensure any prior maven builds 
are first cleaned out (in case that could be causing issues):

mvn -U clean package

(The -U tells Maven to also update its dependencies in your local ~/.m2/ 
repository)

- Tim

On 3/6/2015 2:17 AM, Lewatle Phaladi wrote:
 Hi Tim,

 I am running Ubuntu OS version  : Distributor ID: Ubuntu
   
 Description:Ubuntu 14.04.1 LTS
   
 Release:14.04
   
 Codename:   trusty


 Java version :  java version 1.7.0_75
   OpenJDK Runtime Environment (IcedTea 2.5.4) 
 (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build 24.75-b04, 
 mixed mode)

 Maven : Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_ZA, platform encoding: UTF-8
OS name: linux, version: 3.13.0-46-generic, arch: 
 amd64, family: unix

 Ant : Apache Ant(TM) version 1.9.3 compiled on April 8 2014

 Tomcat version  : apache-tomcat-8.0.20
 Database : PostgreSQL 9.3 database server

 Regards,
 Lewatle

 -Original Message-
 From: Tim Donohue [mailto:tdono...@duraspace.org]
 Sent: 05 March 2015 11:40 PM
 To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] maven error

 Hi Lewatle,

 We likely need more information here on your environment. What OS are you 
 using?  What version of Java?

 The ${toolsjar} setting is supposed to be auto-determined by our Maven POM 
 based on your JAVA_HOME..and it's different based on your operating system.

 Here's the relevant part of the Maven POM which seems to be having issues:
 https://github.com/DSpace/DSpace/blob/master/pom.xml#L447

 - Tim

 On 3/4/2015 4:06 AM, Lewatle Phaladi wrote:
 Hi,

 I am getting the following error, any idea what am I doing wrongly

 dspace@lcstest:~/dspace-5.0-src-release$ mvn package

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.dspace:dspace-parent:5.0
 (/home/dspace/dspace-5.0-src-release/pom.xml) has 1 error

 [ERROR]
 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
 for com.sun:tools:jar must specify an absolute path but is ${toolsjar}
 @ line 176, column 28

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExcept
 ion

 Regards,

 Lewatle

 This communication is intended for the addressee only. It is
 confidential. If you have received this communication in error, please
 notify us immediately and destroy the original message. You may not
 copy or disseminate this communication without the permission of the
 University. Only authorised signatories are competent to enter into
 agreements on behalf of the University and recipients are thus advised
 that the content of this message may not be legally binding on the
 University and may contain the personal views and opinions of the
 author, which are not necessarily the views and opinions of The
 University of the Witwatersrand, Johannesburg. All agreements between
 the University and outsiders are subject to South African Law unless
 the University agrees in writing to the contrary.





 --
  Dive into the World of Parallel Programming The Go Parallel
 Website, sponsored by Intel and developed in partnership with Slashdot
 Media, is your hub for all things parallel software development, from
 weekly thought leadership blogs to news, videos, case studies,
 tutorials and more. Take a look and join the conversation now.
 http

Re: [Dspace-tech] maven error

2015-03-06 Thread Hilton Gibson
Ok, Try to install the following:

sudo apt-get install default-jdk default-jre

Also see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S03

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 6 March 2015 at 16:53, Lewatle Phaladi lewatle.phal...@wits.ac.za
wrote:

 Hi Tim,

 Inside my ~/.m2/ there is :

 dspace@lcstest:~$ ls .m2/
 repository/   settings.xml

 The file /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar is not existing
 on my test server I have only :

 dspace@lcstest:~$ ls -l /usr/lib/jvm/java-7-openjdk-amd64/
 bin/  docs/ jre/  man/

 environment variable is set as follows:.
  JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64

 Regards,
 Lewatle


 -Original Message-
 From: Tim Donohue [mailto:tdono...@duraspace.org]
 Sent: 06 March 2015 04:16 PM
 To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] maven error

 Hi Lewatle,

 Interesting. I have a nearly identical setup (Ubuntu 14.04, OpenJDK 7,
 Maven 3.0.5) and I'm not seeing this same behavior.

 Does this file exist on your server? Is it publicly readable (mine is 644)?

 /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar

 Do you have the JAVA_HOME environment variable set?

 Essentially, the Maven command is trying to locate the tools.jar on your
 server, and it's trying to find it at JAVA_HOME/../lib/tools.jar.
 (This logic was added initially in DSpace 4.0 and is unchanged in DSpace 5)

 For some reason it is working on my Ubuntu 14.04 server, but not on
 yours...so, I'm just trying to narrow down the cause of the issue here.

 You also could try to run the following to ensure any prior maven builds
 are first cleaned out (in case that could be causing issues):

 mvn -U clean package

 (The -U tells Maven to also update its dependencies in your local ~/.m2/
 repository)

 - Tim

 On 3/6/2015 2:17 AM, Lewatle Phaladi wrote:
  Hi Tim,
 
  I am running Ubuntu OS version  : Distributor ID: Ubuntu
 
  Description:Ubuntu 14.04.1 LTS
 
  Release:14.04
 
  Codename:   trusty
 
 
  Java version :  java version 1.7.0_75
OpenJDK Runtime Environment (IcedTea
 2.5.4) (7u75-2.5.4-1~trusty1)
 OpenJDK 64-Bit Server VM (build
  24.75-b04, mixed mode)
 
  Maven : Apache Maven 3.0.5
 Maven home: /usr/share/maven
 Java version: 1.7.0_75, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
 Default locale: en_ZA, platform encoding: UTF-8
 OS name: linux, version: 3.13.0-46-generic, arch:
 amd64, family: unix
 
  Ant : Apache Ant(TM) version 1.9.3 compiled on April 8 2014
 
  Tomcat version  : apache-tomcat-8.0.20 Database : PostgreSQL 9.3
  database server
 
  Regards,
  Lewatle
 
  -Original Message-
  From: Tim Donohue [mailto:tdono...@duraspace.org]
  Sent: 05 March 2015 11:40 PM
  To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] maven error
 
  Hi Lewatle,
 
  We likely need more information here on your environment. What OS are
 you using?  What version of Java?
 
  The ${toolsjar} setting is supposed to be auto-determined by our Maven
 POM based on your JAVA_HOME..and it's different based on your operating
 system.
 
  Here's the relevant part of the Maven POM which seems to be having
 issues:
  https://github.com/DSpace/DSpace/blob/master/pom.xml#L447
 
  - Tim
 
  On 3/4/2015 4:06 AM, Lewatle Phaladi wrote:
  Hi,
 
  I am getting the following error, any idea what am I doing wrongly
 
  dspace@lcstest:~/dspace-5.0-src-release$ mvn package
 
  [INFO] Scanning for projects...
 
  [ERROR] The build could not read 1 project - [Help 1]
 
  [ERROR]
 
  [ERROR]   The project org.dspace:dspace-parent:5.0
  (/home/dspace/dspace-5.0-src-release/pom.xml) has 1 error
 
  [ERROR]
 
 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
  for com.sun:tools:jar must specify an absolute path but is
  ${toolsjar} @ line 176, column 28
 
  [ERROR]
 
  [ERROR] To see the full stack trace of the errors, re-run Maven with
  the -e switch.
 
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 
  [ERROR]
 
  [ERROR] For more information about the errors and possible solutions,
  please read the following articles:
 
  [ERROR] [Help 1]
  http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExcep
  t
  ion
 
  Regards,
 
  Lewatle
 
  This communication is intended for the addressee only. It is
  confidential. If you have received this communication in error,
  please notify us immediately and destroy the original message. You
  may not copy or disseminate this communication without the permission
  of the University. Only authorised

Re: [Dspace-tech] maven error

2015-03-06 Thread Hilton Gibson
PS: Also see:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S08


*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 6 March 2015 at 16:53, Lewatle Phaladi lewatle.phal...@wits.ac.za
wrote:

 Hi Tim,

 Inside my ~/.m2/ there is :

 dspace@lcstest:~$ ls .m2/
 repository/   settings.xml

 The file /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar is not existing
 on my test server I have only :

 dspace@lcstest:~$ ls -l /usr/lib/jvm/java-7-openjdk-amd64/
 bin/  docs/ jre/  man/

 environment variable is set as follows:.
  JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64

 Regards,
 Lewatle


 -Original Message-
 From: Tim Donohue [mailto:tdono...@duraspace.org]
 Sent: 06 March 2015 04:16 PM
 To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] maven error

 Hi Lewatle,

 Interesting. I have a nearly identical setup (Ubuntu 14.04, OpenJDK 7,
 Maven 3.0.5) and I'm not seeing this same behavior.

 Does this file exist on your server? Is it publicly readable (mine is 644)?

 /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar

 Do you have the JAVA_HOME environment variable set?

 Essentially, the Maven command is trying to locate the tools.jar on your
 server, and it's trying to find it at JAVA_HOME/../lib/tools.jar.
 (This logic was added initially in DSpace 4.0 and is unchanged in DSpace 5)

 For some reason it is working on my Ubuntu 14.04 server, but not on
 yours...so, I'm just trying to narrow down the cause of the issue here.

 You also could try to run the following to ensure any prior maven builds
 are first cleaned out (in case that could be causing issues):

 mvn -U clean package

 (The -U tells Maven to also update its dependencies in your local ~/.m2/
 repository)

 - Tim

 On 3/6/2015 2:17 AM, Lewatle Phaladi wrote:
  Hi Tim,
 
  I am running Ubuntu OS version  : Distributor ID: Ubuntu
 
  Description:Ubuntu 14.04.1 LTS
 
  Release:14.04
 
  Codename:   trusty
 
 
  Java version :  java version 1.7.0_75
OpenJDK Runtime Environment (IcedTea
 2.5.4) (7u75-2.5.4-1~trusty1)
 OpenJDK 64-Bit Server VM (build
  24.75-b04, mixed mode)
 
  Maven : Apache Maven 3.0.5
 Maven home: /usr/share/maven
 Java version: 1.7.0_75, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
 Default locale: en_ZA, platform encoding: UTF-8
 OS name: linux, version: 3.13.0-46-generic, arch:
 amd64, family: unix
 
  Ant : Apache Ant(TM) version 1.9.3 compiled on April 8 2014
 
  Tomcat version  : apache-tomcat-8.0.20 Database : PostgreSQL 9.3
  database server
 
  Regards,
  Lewatle
 
  -Original Message-
  From: Tim Donohue [mailto:tdono...@duraspace.org]
  Sent: 05 March 2015 11:40 PM
  To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] maven error
 
  Hi Lewatle,
 
  We likely need more information here on your environment. What OS are
 you using?  What version of Java?
 
  The ${toolsjar} setting is supposed to be auto-determined by our Maven
 POM based on your JAVA_HOME..and it's different based on your operating
 system.
 
  Here's the relevant part of the Maven POM which seems to be having
 issues:
  https://github.com/DSpace/DSpace/blob/master/pom.xml#L447
 
  - Tim
 
  On 3/4/2015 4:06 AM, Lewatle Phaladi wrote:
  Hi,
 
  I am getting the following error, any idea what am I doing wrongly
 
  dspace@lcstest:~/dspace-5.0-src-release$ mvn package
 
  [INFO] Scanning for projects...
 
  [ERROR] The build could not read 1 project - [Help 1]
 
  [ERROR]
 
  [ERROR]   The project org.dspace:dspace-parent:5.0
  (/home/dspace/dspace-5.0-src-release/pom.xml) has 1 error
 
  [ERROR]
 
 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
  for com.sun:tools:jar must specify an absolute path but is
  ${toolsjar} @ line 176, column 28
 
  [ERROR]
 
  [ERROR] To see the full stack trace of the errors, re-run Maven with
  the -e switch.
 
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 
  [ERROR]
 
  [ERROR] For more information about the errors and possible solutions,
  please read the following articles:
 
  [ERROR] [Help 1]
  http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExcep
  t
  ion
 
  Regards,
 
  Lewatle
 
  This communication is intended for the addressee only. It is
  confidential. If you have received this communication in error,
  please notify us immediately and destroy the original message. You
  may not copy or disseminate this communication without the permission
  of the University. Only authorised signatories are competent to enter
  into agreements on behalf of the University

Re: [Dspace-tech] maven error

2015-03-06 Thread Tim Donohue
Hi Lewatle,

Aha, there's the issue then.

It looks like you only installed the JRE.  DSpace requires the JDK as 
noted in the Installation docs:

https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-OracleJavaJDK7orOpenJDK7

So, you need to install the *full* JDK:

sudo apt-get install openjdk-7-jdk

(It's likely you just installed openjdk-7-jre previously, which 
doesn't include that /lib folder and the tools.jar)

After installing the full JDK, things should work properly.

- Tim


On 3/6/2015 8:53 AM, Lewatle Phaladi wrote:
 Hi Tim,

 Inside my ~/.m2/ there is :

 dspace@lcstest:~$ ls .m2/
 repository/   settings.xml

 The file /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar is not existing on 
 my test server I have only :

 dspace@lcstest:~$ ls -l /usr/lib/jvm/java-7-openjdk-amd64/
 bin/  docs/ jre/  man/

 environment variable is set as follows:.
   JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64

 Regards,
 Lewatle


 -Original Message-
 From: Tim Donohue [mailto:tdono...@duraspace.org]
 Sent: 06 March 2015 04:16 PM
 To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] maven error

 Hi Lewatle,

 Interesting. I have a nearly identical setup (Ubuntu 14.04, OpenJDK 7, Maven 
 3.0.5) and I'm not seeing this same behavior.

 Does this file exist on your server? Is it publicly readable (mine is 644)?

 /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar

 Do you have the JAVA_HOME environment variable set?

 Essentially, the Maven command is trying to locate the tools.jar on your 
 server, and it's trying to find it at JAVA_HOME/../lib/tools.jar.
 (This logic was added initially in DSpace 4.0 and is unchanged in DSpace 5)

 For some reason it is working on my Ubuntu 14.04 server, but not on 
 yours...so, I'm just trying to narrow down the cause of the issue here.

 You also could try to run the following to ensure any prior maven builds are 
 first cleaned out (in case that could be causing issues):

 mvn -U clean package

 (The -U tells Maven to also update its dependencies in your local ~/.m2/
 repository)

 - Tim

 On 3/6/2015 2:17 AM, Lewatle Phaladi wrote:
 Hi Tim,

 I am running Ubuntu OS version  : Distributor ID: Ubuntu

 Description:Ubuntu 14.04.1 LTS

 Release:14.04

 Codename:   trusty


 Java version :  java version 1.7.0_75
OpenJDK Runtime Environment (IcedTea 2.5.4) 
 (7u75-2.5.4-1~trusty1)
 OpenJDK 64-Bit Server VM (build
 24.75-b04, mixed mode)

 Maven : Apache Maven 3.0.5
 Maven home: /usr/share/maven
 Java version: 1.7.0_75, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
 Default locale: en_ZA, platform encoding: UTF-8
 OS name: linux, version: 3.13.0-46-generic, arch: 
 amd64, family: unix

 Ant : Apache Ant(TM) version 1.9.3 compiled on April 8 2014

 Tomcat version  : apache-tomcat-8.0.20 Database : PostgreSQL 9.3
 database server

 Regards,
 Lewatle

 -Original Message-
 From: Tim Donohue [mailto:tdono...@duraspace.org]
 Sent: 05 March 2015 11:40 PM
 To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] maven error

 Hi Lewatle,

 We likely need more information here on your environment. What OS are you 
 using?  What version of Java?

 The ${toolsjar} setting is supposed to be auto-determined by our Maven POM 
 based on your JAVA_HOME..and it's different based on your operating system.

 Here's the relevant part of the Maven POM which seems to be having issues:
 https://github.com/DSpace/DSpace/blob/master/pom.xml#L447

 - Tim

 On 3/4/2015 4:06 AM, Lewatle Phaladi wrote:
 Hi,

 I am getting the following error, any idea what am I doing wrongly

 dspace@lcstest:~/dspace-5.0-src-release$ mvn package

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.dspace:dspace-parent:5.0
 (/home/dspace/dspace-5.0-src-release/pom.xml) has 1 error

 [ERROR]
 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
 for com.sun:tools:jar must specify an absolute path but is
 ${toolsjar} @ line 176, column 28

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExcep
 t
 ion

 Regards,

 Lewatle

 This communication is intended for the addressee only

Re: [Dspace-tech] maven error

2015-03-06 Thread Lewatle Phaladi
Hi Tim, 

I am running Ubuntu OS version  : Distributor ID: Ubuntu
 
Description:Ubuntu 14.04.1 LTS
 Release:   
 14.04
 Codename:  
 trusty


Java version :  java version 1.7.0_75
 OpenJDK Runtime Environment (IcedTea 2.5.4) 
(7u75-2.5.4-1~trusty1)
  OpenJDK 64-Bit Server VM (build 24.75-b04, mixed 
mode)

Maven : Apache Maven 3.0.5
  Maven home: /usr/share/maven
  Java version: 1.7.0_75, vendor: Oracle Corporation
  Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
  Default locale: en_ZA, platform encoding: UTF-8
  OS name: linux, version: 3.13.0-46-generic, arch: 
amd64, family: unix

Ant : Apache Ant(TM) version 1.9.3 compiled on April 8 2014

Tomcat version  : apache-tomcat-8.0.20
Database : PostgreSQL 9.3 database server

Regards,
Lewatle 

-Original Message-
From: Tim Donohue [mailto:tdono...@duraspace.org] 
Sent: 05 March 2015 11:40 PM
To: Lewatle Phaladi; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] maven error

Hi Lewatle,

We likely need more information here on your environment. What OS are you 
using?  What version of Java?

The ${toolsjar} setting is supposed to be auto-determined by our Maven POM 
based on your JAVA_HOME..and it's different based on your operating system.

Here's the relevant part of the Maven POM which seems to be having issues:
https://github.com/DSpace/DSpace/blob/master/pom.xml#L447

- Tim

On 3/4/2015 4:06 AM, Lewatle Phaladi wrote:
 Hi,

 I am getting the following error, any idea what am I doing wrongly

 dspace@lcstest:~/dspace-5.0-src-release$ mvn package

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.dspace:dspace-parent:5.0
 (/home/dspace/dspace-5.0-src-release/pom.xml) has 1 error

 [ERROR]
 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
 for com.sun:tools:jar must specify an absolute path but is ${toolsjar} 
 @ line 176, column 28

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with 
 the -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions, 
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExcept
 ion

 Regards,

 Lewatle

 This communication is intended for the addressee only. It is 
 confidential. If you have received this communication in error, please 
 notify us immediately and destroy the original message. You may not 
 copy or disseminate this communication without the permission of the 
 University. Only authorised signatories are competent to enter into 
 agreements on behalf of the University and recipients are thus advised 
 that the content of this message may not be legally binding on the 
 University and may contain the personal views and opinions of the 
 author, which are not necessarily the views and opinions of The 
 University of the Witwatersrand, Johannesburg. All agreements between 
 the University and outsiders are subject to South African Law unless 
 the University agrees in writing to the contrary.





 --
  Dive into the World of Parallel Programming The Go Parallel 
 Website, sponsored by Intel and developed in partnership with Slashdot 
 Media, is your hub for all things parallel software development, from 
 weekly thought leadership blogs to news, videos, case studies, 
 tutorials and more. Take a look and join the conversation now. 
 http://goparallel.sourceforge.net/



 ___
 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



table width=100% border=0 cellspacing=0 cellpadding=0 
style=width:100%; 
tr
td align=left style=text-align:justify;font face=arial,sans-serif 
size=1 color=#99span style=font-size:11px;This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions

Re: [Dspace-tech] maven error

2015-03-05 Thread Tim Donohue
Hi Lewatle,

We likely need more information here on your environment. What OS are 
you using?  What version of Java?

The ${toolsjar} setting is supposed to be auto-determined by our Maven 
POM based on your JAVA_HOME..and it's different based on your operating 
system.

Here's the relevant part of the Maven POM which seems to be having issues:
https://github.com/DSpace/DSpace/blob/master/pom.xml#L447

- Tim

On 3/4/2015 4:06 AM, Lewatle Phaladi wrote:
 Hi,

 I am getting the following error, any idea what am I doing wrongly

 dspace@lcstest:~/dspace-5.0-src-release$ mvn package

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.dspace:dspace-parent:5.0
 (/home/dspace/dspace-5.0-src-release/pom.xml) has 1 error

 [ERROR]
 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
 for com.sun:tools:jar must specify an absolute path but is ${toolsjar} @
 line 176, column 28

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 Regards,

 Lewatle

 This communication is intended for the addressee only. It is
 confidential. If you have received this communication in error, please
 notify us immediately and destroy the original message. You may not copy
 or disseminate this communication without the permission of the
 University. Only authorised signatories are competent to enter into
 agreements on behalf of the University and recipients are thus advised
 that the content of this message may not be legally binding on the
 University and may contain the personal views and opinions of the
 author, which are not necessarily the views and opinions of The
 University of the Witwatersrand, Johannesburg. All agreements between
 the University and outsiders are subject to South African Law unless the
 University agrees in writing to the contrary.





 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/



 ___
 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




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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 error

2015-03-05 Thread Tim Donohue
A minor update, another user reported this same sort of issue.

There's a ticket at https://jira.duraspace.org/browse/DS-2481

As noted in my comment to that ticket, I suspect the JAVA_HOME is not 
set (or improperly set). I'm able to build DSpace 5.0 and 5.1 fine on 
multiple OSes (Windows 8, Ubuntu 14.04), so it seems like a possible 
configuration issue.

- Tim

On 3/5/2015 3:40 PM, Tim Donohue wrote:
 Hi Lewatle,

 We likely need more information here on your environment. What OS are
 you using?  What version of Java?

 The ${toolsjar} setting is supposed to be auto-determined by our Maven
 POM based on your JAVA_HOME..and it's different based on your operating
 system.

 Here's the relevant part of the Maven POM which seems to be having issues:
 https://github.com/DSpace/DSpace/blob/master/pom.xml#L447

 - Tim

 On 3/4/2015 4:06 AM, Lewatle Phaladi wrote:
 Hi,

 I am getting the following error, any idea what am I doing wrongly

 dspace@lcstest:~/dspace-5.0-src-release$ mvn package

 [INFO] Scanning for projects...

 [ERROR] The build could not read 1 project - [Help 1]

 [ERROR]

 [ERROR]   The project org.dspace:dspace-parent:5.0
 (/home/dspace/dspace-5.0-src-release/pom.xml) has 1 error

 [ERROR]
 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'

 for com.sun:tools:jar must specify an absolute path but is ${toolsjar} @
 line 176, column 28

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

 Regards,

 Lewatle

 This communication is intended for the addressee only. It is
 confidential. If you have received this communication in error, please
 notify us immediately and destroy the original message. You may not copy
 or disseminate this communication without the permission of the
 University. Only authorised signatories are competent to enter into
 agreements on behalf of the University and recipients are thus advised
 that the content of this message may not be legally binding on the
 University and may contain the personal views and opinions of the
 author, which are not necessarily the views and opinions of The
 University of the Witwatersrand, Johannesburg. All agreements between
 the University and outsiders are subject to South African Law unless the
 University agrees in writing to the contrary.





 --

 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub
 for all
 things parallel software development, from weekly thought leadership
 blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/



 ___
 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




--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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


[Dspace-tech] maven error

2015-02-18 Thread Lewatle Phaladi
Hi All,

I am testing dspace-5 on test server, when I run $ mvn -U clean package I get 
the following errors, any suggestions is welcome.

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project - [Help 1]
[ERROR]
[ERROR]   The project org.dspace:dspace:5.0 
(/dspace/src/dspace-5.0-src-release/dspace/pom.xml) has 1 error
[ERROR] 
'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.systemPath'
 for com.sun:tools:jar must specify an absolute path but is ${toolsjar} @ 
org.dspace:dspace-parent:5.0, /dspace/src/dspace-5.0-src-release/pom.xml, line 
176, column 28
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException


Regards,
Lewatle

table width=100% border=0 cellspacing=0 cellpadding=0 
style=width:100%;
tr
td align=left style=text-align:justify;font face=arial,sans-serif 
size=1 color=#99span style=font-size:11px;This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. /span/font/td
/tr
/table
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/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

[Dspace-tech] Maven problem

2015-02-13 Thread Henry Atsu Agbodza
Dear all,
I'm installing dspace 4.2 on Ubuntu 14 LTS and encountered a bulid error.
Below is the error

Plugin org.apache.maven.plugins:maven-resources-plugin:2.3 or one of its
dependencies could not be resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-resources-plugin:jar:2.3: Could not transfer
artifact org.apache.maven.plugins:maven-plugins:pom:12 from/to central
(http://repo.maven.apache.org/maven2): GET request of:
org/apache/maven/plugins/maven-plugins/12/maven-plugins-12.pom from central
failed: Premature end of Content-Length delimited message body (expected:
296; received: 293 - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
dspace-tech@lists.sourceforge.net
Kindly help.
Thanks

-- 

*Sincerely Yours,*

*Henry Atsu Agbodza*
*Library Systems and Research Support, *
*Academic Computing Unit,*
*University of Ghana Computing Systems (UGCS)*
*Room G3, Ground Floor - East Wing, *
*Balme Library*
*Legon*
*Tel.: +233 (0) 207 027360*
*IP Phone: 2442*

*UG Repository http://ugspace.ug.edu.gh*
*UG Library http://balme.ug.edu.gh*


*UG Online Catalogue (UGCat) http://library.ug.edu.gh/UG Research Portal
http://libguides.ug.edu.ghUG Off - Campus Access to E - Resources
http://ezproxy.ug.edu.gh/*
*UG Chat with A Librarian Service http://balme.ug.edu.gh/chat/client.php*
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
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 problem

2015-02-13 Thread Hilton Gibson
Hi Henry

I am guessing a bad internet connection perhaps?

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 13 February 2015 at 15:46, Henry Atsu Agbodza atsu.agbo...@gmail.com
wrote:

 Dear all,
 I'm installing dspace 4.2 on Ubuntu 14 LTS and encountered a bulid error.
 Below is the error

 Plugin org.apache.maven.plugins:maven-resources-plugin:2.3 or one of its
 dependencies could not be resolved: Failed to read artifact descriptor for
 org.apache.maven.plugins:maven-resources-plugin:jar:2.3: Could not transfer
 artifact org.apache.maven.plugins:maven-plugins:pom:12 from/to central
 (http://repo.maven.apache.org/maven2): GET request of:
 org/apache/maven/plugins/maven-plugins/12/maven-plugins-12.pom from central
 failed: Premature end of Content-Length delimited message body (expected:
 296; received: 293 - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
 dspace-tech@lists.sourceforge.net
 Kindly help.
 Thanks

 --

 *Sincerely Yours,*

 *Henry Atsu Agbodza*
 *Library Systems and Research Support, *
 *Academic Computing Unit,*
 *University of Ghana Computing Systems (UGCS)*
 *Room G3, Ground Floor - East Wing, *
 *Balme Library*
 *Legon*
 *Tel.: +233 (0) 207 027360*
 *IP Phone: 2442*

 *UG Repository http://ugspace.ug.edu.gh*
 *UG Library http://balme.ug.edu.gh*


 *UG Online Catalogue (UGCat) http://library.ug.edu.gh/UG Research Portal
 http://libguides.ug.edu.ghUG Off - Campus Access to E - Resources
 http://ezproxy.ug.edu.gh/*
 *UG Chat with A Librarian Service http://balme.ug.edu.gh/chat/client.php*


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 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

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
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 build error

2014-07-24 Thread Andy Kirkyla
Folks,

 I trust all is well.

 I was able to resolve the issue.

 The problem was that the /home/dspace/DSpace-dspace-4.2/dspace/modules
was owned by root and needed to be changed to dspace.

 Thanks everyone for their help.

Andy


On Wed, Jul 23, 2014 at 4:39 PM, Andy Kirkyla a...@bridgit.com wrote:

 Folks,

 I trust all is well.

 We are trying to install DSpace 4.2 on our Linux server an we are
 having issues with the maven build. I am getting the following error:

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2.431 s
 [INFO] Finished at: 2014-07-23T16:28:04-04:00
 [INFO] Final Memory: 11M/119M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-antrun-plugin:1.7:run (native2ascii-utf8) on
 project modules: Error executing ant tasks:
 /home/dspace/DSpace-dspace-4.2/dspace/modules/target/antrun/build-Encode
 any UTF-8 chars in properties.xml (No such file or directory) - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
 goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run
 (native2ascii-utf8) on project modules: Error executing ant tasks:
 /home/dspace/DSpace-dspace-4.2/dspace/modules/target/antrun/build-Encode
 any UTF-8 chars in properties.xml (No such file or directory)
  at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
  at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
 at
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
  at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
  at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
  at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
 Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing
 ant tasks:
 /home/dspace/DSpace-dspace-4.2/dspace/modules/target/antrun/build-Encode
 any UTF-8 chars in properties.xml (No such file or directory)
  at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:360)
 at
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
  at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 ... 19 more
 Caused by: java.io.FileNotFoundException:
 /home/dspace/DSpace-dspace-4.2/dspace/modules/target/antrun/build-Encode
 any UTF-8 chars in properties.xml (No such file or directory)
  at java.io.FileOutputStream.open(Native Method)
 at java.io.FileOutputStream.init(FileOutputStream.java:221)
  at java.io.FileOutputStream.init(FileOutputStream.java:110)
 at org.codehaus.plexus.util.FileUtils.fileWrite(FileUtils.java:470)
  at
 org.apache.maven.plugin.antrun.AntRunMojo.writeTargetToProjectFile(AntRunMojo.java:608)
 at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:263)
  ... 21 more
 [ERROR]
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

  I believe this is caused by an error in the top level POM.xml file.
 But I am afraid I do not know what changes need to be made.

  Does anybody know what I am doing wrong?

  Thanks.

 Andy

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - 

[Dspace-tech] Maven build error

2014-07-23 Thread Andy Kirkyla
Folks,

I trust all is well.

We are trying to install DSpace 4.2 on our Linux server an we are
having issues with the maven build. I am getting the following error:

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 2.431 s
[INFO] Finished at: 2014-07-23T16:28:04-04:00
[INFO] Final Memory: 11M/119M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (native2ascii-utf8) on
project modules: Error executing ant tasks:
/home/dspace/DSpace-dspace-4.2/dspace/modules/target/antrun/build-Encode
any UTF-8 chars in properties.xml (No such file or directory) - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run
(native2ascii-utf8) on project modules: Error executing ant tasks:
/home/dspace/DSpace-dspace-4.2/dspace/modules/target/antrun/build-Encode
any UTF-8 chars in properties.xml (No such file or directory)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing
ant tasks:
/home/dspace/DSpace-dspace-4.2/dspace/modules/target/antrun/build-Encode
any UTF-8 chars in properties.xml (No such file or directory)
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:360)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: java.io.FileNotFoundException:
/home/dspace/DSpace-dspace-4.2/dspace/modules/target/antrun/build-Encode
any UTF-8 chars in properties.xml (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:221)
at java.io.FileOutputStream.init(FileOutputStream.java:110)
at org.codehaus.plexus.util.FileUtils.fileWrite(FileUtils.java:470)
at
org.apache.maven.plugin.antrun.AntRunMojo.writeTargetToProjectFile(AntRunMojo.java:608)
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:263)
... 21 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

 I believe this is caused by an error in the top level POM.xml file.
But I am afraid I do not know what changes need to be made.

 Does anybody know what I am doing wrong?

 Thanks.

Andy
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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 build error

2014-07-23 Thread Andrea Schweer

  
  
Hi Andy,

I built a DSpace 4.2 on a Linux server just fine a few hours ago, so
I think it's something in your set-up rather than in the DSpace pom.

which directory are you running maven in?
https://wiki.duraspace.org/display/DSDOC4x/Installing+DSpace#InstallingDSpace-Installation
point 7 says it should be either [dspace-source] or
[dspace-source]/dspace -- also see here:
https://wiki.duraspace.org/display/DSDOC4x/Installing+DSpace#InstallingDSpace-OverviewofDSpaceDirectories

Also, which maven version is this? DSpace 4 requires maven 3:
https://wiki.duraspace.org/display/DSDOC4x/Installing+DSpace#InstallingDSpace-ApacheMaven3.x%28Javabuildtool%29
Finally, you might like to double-check you Java version to ensure
you're using Java 7 or newer:
https://wiki.duraspace.org/display/DSDOC4x/Installing+DSpace#InstallingDSpace-OracleJavaJDK7%28standardSDKisfine,youdon%27tneedJ2EE%29orOpenJDK7

mvn -version
will show you the maven and Java versions in use on your system.

cheers,
Andrea

On 24/07/14 08:39, Andy Kirkyla wrote:


  Folks,


I trust all is well.


We are trying to install DSpace 4.2 on our Linux
  server an we are having issues with the maven build. I am
  getting the following error:



  [INFO]

  [INFO] BUILD FAILURE
  [INFO]

  [INFO] Total time: 2.431 s
  [INFO] Finished at: 2014-07-23T16:28:04-04:00
  [INFO] Final Memory: 11M/119M
  [INFO]

  [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:run
(native2ascii-utf8) on project modules: Error executing ant
tasks:
/home/dspace/DSpace-dspace-4.2/dspace/modules/target/antrun/build-Encode
any UTF-8 chars in properties.xml (No such file or
directory) - [Help 1]
  org.apache.maven.lifecycle.LifecycleExecutionException:
Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:run
(native2ascii-utf8) on project modules: Error executing ant
tasks:
/home/dspace/DSpace-dspace-4.2/dspace/modules/target/antrun/build-Encode
any UTF-8 chars in properties.xml (No such file or
directory)
   at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
   at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
   at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
   at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
   at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
   at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
   at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
   at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
   at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
   at
org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
   at
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
   at
org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
   at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at
java.lang.reflect.Method.invoke(Method.java:606)
   at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
   at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
   at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
   at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
  Caused by:
org.apache.maven.plugin.MojoExecutionException: Error
executing ant tasks:
/home/dspace/DSpace-dspace-4.2/dspace/modules/target/antrun/build-Encode
any UTF-8 chars in properties.xml (No such file or
directory)
   at
org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:360)
   at

[Dspace-tech] maven failed

2014-07-15 Thread Webshet, Sisay (ILRI)
Dear All,

While trying to install Dspace 4.1 in Ubuntu 14.04 LTS, we are getting FATAL 
ERROR for the following command


root@ubuntu:/home/dspace/dspace-4.0-release# mvn package

[INFO] Scanning for projects...
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] Error building POM (may not be this project's POM).


Project ID: org.dspace:dspace-parent:pom:4.1

Reason: Cannot find parent: org.sonatype.oss:oss-parent for project: 
org.dspace:  dspace-parent:pom:4.1 for project org.dspace:dspace-parent:pom:4.1

Can any body helps me please

Thanks



--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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

[Dspace-tech] Maven Build Failure

2014-07-07 Thread Bhavesh Patel
Dear Tech team,

Today I install Dspace 4.1 on window.. while executing mvn package it show
me the error message.

[image: Inline image 1]

Please let me know what may the problem..?


Thanks  Regards,
*Bhavesh R. Patel *

   - www.bhaveshpatel.info
   - www.onlinequizportal.com
   - www.hindisuvichar.com

Never leave till tomorrow which you can do today
*Please consider the environment before printing this e-mail.*
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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 Build Failure

2014-07-07 Thread James Stockdale
A fix for this is mentioned here: https://jira.duraspace.org/browse/DS-1940



TEC Centre – NIMBUShttp://nimbus.cit.ie/tec/
Cork Institute of Technology,
Bishopstown,
Cork.
james.stockd...@cit.iemailto:james.stockd...@cit.ie



From: Bhavesh Patel [bhavesh.bece...@gmail.com]
Sent: 07 July 2014 10:01
To: dspace-tech
Subject: [Dspace-tech] Maven Build Failure

Dear Tech team,

Today I install Dspace 4.1 on window.. while executing mvn package it show me 
the error message.

[Inline image 1]

Please let me know what may the problem..?


Thanks  Regards,
Bhavesh R. Patel

  *   www.bhaveshpatel.infohttp://www.bhaveshpatel.info
  *   www.onlinequizportal.comhttp://www.onlinequizportal.com
  *   www.hindisuvichar.comhttp://www.hindisuvichar.com

Never leave till tomorrow which you can do today
Please consider the environment before printing this e-mail.
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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 Build Failure

2014-07-07 Thread royopa
Hi

Change the line 124  from file [dspace-source]/pom.xml:

from
target name=Encode any UTF-8 chars in [src]/*.properties

to
target name=Encode any UTF-8 chars in properties


Check this slide to instructions to install and correct this error (slide
32) in Windows (pt_BR).
http://www.slideshare.net/royopa1/instalao-dspace-4x-windows-35874835

Regards

Rodrigo
http://about.me/royopa/


On 7 July 2014 06:18, James Stockdale james.stockd...@cit.ie wrote:

  A fix for this is mentioned here:
 https://jira.duraspace.org/browse/DS-1940



  TEC Centre – NIMBUS http://nimbus.cit.ie/tec/
 Cork Institute of Technology,
 Bishopstown,
 Cork.
 james.stockd...@cit.ie


 --
 *From:* Bhavesh Patel [bhavesh.bece...@gmail.com]
 *Sent:* 07 July 2014 10:01
 *To:* dspace-tech
 *Subject:* [Dspace-tech] Maven Build Failure

   Dear Tech team,

  Today I install Dspace 4.1 on window.. while executing mvn package it
 show me the error message.

  [image: Inline image 1]

  Please let me know what may the problem..?


   Thanks  Regards,
 *Bhavesh R. Patel *

- www.bhaveshpatel.info
- www.onlinequizportal.com
- www.hindisuvichar.com

  Never leave till tomorrow which you can do today
  *Please consider the environment before printing this e-mail.*


 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft
 ___
 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




-- 
Rodrigo Prado de Jesus
http://about.me/royopa
roy...@gmail.com
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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 Build Failure

2014-07-07 Thread Bhavesh Patel
Thanks Rodrigo / James Stockdale,

It's working fine.. but I am facing the other issue on the very next
command ant fresh_install

I have set the path on build.property file
dspace.install.dir=C:\Dspace

as well as into [dspace-src]/dspace/config/dspace.cfg
dspace.dir = C:\Dspace

but it's install on
C:\dspace-4.1-src-release\dspace\target\dspace-4.1-build\Dspace

what may be the issue ?

Bhavesh

Thanks  Regards,
*Bhavesh R. Patel *

   - www.bhaveshpatel.info
   - www.onlinequizportal.com
   - www.hindisuvichar.com

Never leave till tomorrow which you can do today
*Please consider the environment before printing this e-mail.*


On Mon, Jul 7, 2014 at 4:56 PM, royopa roy...@gmail.com wrote:

 Hi

 Change the line 124  from file [dspace-source]/pom.xml:

 from
 target name=Encode any UTF-8 chars in [src]/*.properties

 to
 target name=Encode any UTF-8 chars in properties


 Check this slide to instructions to install and correct this error (slide
 32) in Windows (pt_BR).
 http://www.slideshare.net/royopa1/instalao-dspace-4x-windows-35874835

 Regards

 Rodrigo
 http://about.me/royopa/


 On 7 July 2014 06:18, James Stockdale james.stockd...@cit.ie wrote:

  A fix for this is mentioned here:
 https://jira.duraspace.org/browse/DS-1940



  TEC Centre – NIMBUS http://nimbus.cit.ie/tec/
 Cork Institute of Technology,
 Bishopstown,
 Cork.
 james.stockd...@cit.ie


 --
 *From:* Bhavesh Patel [bhavesh.bece...@gmail.com]
 *Sent:* 07 July 2014 10:01
 *To:* dspace-tech
 *Subject:* [Dspace-tech] Maven Build Failure

   Dear Tech team,

  Today I install Dspace 4.1 on window.. while executing mvn package it
 show me the error message.

  [image: Inline image 1]

  Please let me know what may the problem..?


   Thanks  Regards,
 *Bhavesh R. Patel *

- www.bhaveshpatel.info
- www.onlinequizportal.com
- www.hindisuvichar.com

  Never leave till tomorrow which you can do today
  *Please consider the environment before printing this e-mail.*


 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community
 Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft
 ___
 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




 --
 Rodrigo Prado de Jesus
 http://about.me/royopa
 roy...@gmail.com

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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 Build Failure

2014-07-07 Thread royopa
Hi

Try follow the steps mentioned here.

I did this article on my personal blog about install mode DSpace 4.x in
Windows environments.

http://www.slideshare.net/royopa1/instalao-dspace-4x-windows-35874835

Regards

Rodrigo




On 7 July 2014 09:20, Bhavesh Patel bhavesh.bece...@gmail.com wrote:

 Thanks Rodrigo / James Stockdale,

 It's working fine.. but I am facing the other issue on the very next
 command ant fresh_install

 I have set the path on build.property file
 dspace.install.dir=C:\Dspace

 as well as into [dspace-src]/dspace/config/dspace.cfg
 dspace.dir = C:\Dspace

 but it's install on
 C:\dspace-4.1-src-release\dspace\target\dspace-4.1-build\Dspace

 what may be the issue ?

 Bhavesh

 Thanks  Regards,
 *Bhavesh R. Patel *

- www.bhaveshpatel.info
- www.onlinequizportal.com
- www.hindisuvichar.com

 Never leave till tomorrow which you can do today
 *Please consider the environment before printing this e-mail.*


 On Mon, Jul 7, 2014 at 4:56 PM, royopa roy...@gmail.com wrote:

 Hi

 Change the line 124  from file [dspace-source]/pom.xml:

 from
 target name=Encode any UTF-8 chars in [src]/*.properties

 to
 target name=Encode any UTF-8 chars in properties


 Check this slide to instructions to install and correct this error (slide
 32) in Windows (pt_BR).
 http://www.slideshare.net/royopa1/instalao-dspace-4x-windows-35874835

 Regards

 Rodrigo
 http://about.me/royopa/


 On 7 July 2014 06:18, James Stockdale james.stockd...@cit.ie wrote:

  A fix for this is mentioned here:
 https://jira.duraspace.org/browse/DS-1940



  TEC Centre – NIMBUS http://nimbus.cit.ie/tec/
 Cork Institute of Technology,
 Bishopstown,
 Cork.
 james.stockd...@cit.ie


 --
 *From:* Bhavesh Patel [bhavesh.bece...@gmail.com]
 *Sent:* 07 July 2014 10:01
 *To:* dspace-tech
 *Subject:* [Dspace-tech] Maven Build Failure

   Dear Tech team,

  Today I install Dspace 4.1 on window.. while executing mvn package it
 show me the error message.

  [image: Inline image 1]

  Please let me know what may the problem..?


   Thanks  Regards,
 *Bhavesh R. Patel *

- www.bhaveshpatel.info
- www.onlinequizportal.com
- www.hindisuvichar.com

  Never leave till tomorrow which you can do today
  *Please consider the environment before printing this e-mail.*


 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community
 Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft
 ___
 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




 --
 Rodrigo Prado de Jesus
 http://about.me/royopa
 roy...@gmail.com





-- 
Rodrigo Prado de Jesus
http://about.me/royopa
roy...@gmail.com
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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 error

2014-06-26 Thread Tim Donohue
Hi,

This looks to be related to a known issue with Solr (which DSpace uses):

https://jira.duraspace.org/browse/DS-1921

Essentially, there is a dependency in Solr (restlet) which is not in 
the normal Maven repository.  Instead it's off in a third-party hosted 
site at http://maven.restlet.org

It looks like at the time you tried to build DSpace, that third-party 
siet (http://maven.restlet.org) was unavailable or temporarily down. You 
may want to try the build again -- hopefully this time that site will be 
available.

Unfortunately we are waiting on this to be resolved by the Restlet team. 
They are working on it, and as soon as they fix the problem, we'll make 
sure to update DSpace as well.

- Tim

On 6/24/2014 8:39 AM, Webshet, Sisay (ILRI) wrote:
 Hi All

 Iam installing dspace 4.1 on Ubuntu 14.04 LTS. Iam using maven 3.0.5 and

 cd /home/xxx/dspace-4.1-src-release

 and   renaming build.properties to test.properties  and run mvn -U clean
 package -Denv=test

 [ERROR] Failed to execute goal on project dspace-solr: Could not resolve
 dependencies for project org.dspace:dspace-solr:war:5.0-SNAPSHOT: Failed
 to collect dependencies at org.apache.solr:solr-core:jar:4.4.0 -
 org.restlet.jee:org.restlet:jar:2.1.1: Failed to read artifact
 descriptor for org.restlet.jee:org.restlet:jar:2.1.1: Could not transfer
 artifact org.restlet.jee:org.restlet:pom:2.1.1 from/to maven-restlet
 (http://maven.restlet.org): Connection to http://maven.restlet.org
 refused: Connection refused - [Help 1]

 Can anybody helps me



 --
 Open source business process management suite built on Java and Eclipse
 Turn processes into business applications with Bonita BPM Community Edition
 Quickly connect people, data, and systems into organized workflows
 Winner of BOSSIE, CODIE, OW2 and Gartner awards
 http://p.sf.net/sfu/Bonitasoft



 ___
 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


--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
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


[Dspace-tech] Maven error

2014-06-24 Thread Webshet, Sisay (ILRI)
Hi All

Iam installing dspace 4.1 on Ubuntu 14.04 LTS. Iam using maven 3.0.5 and
cd /home/xxx/dspace-4.1-src-release

and   renaming build.properties to test.properties  and run mvn -U clean 
package -Denv=test

[ERROR] Failed to execute goal on project dspace-solr: Could not resolve 
dependencies for project org.dspace:dspace-solr:war:5.0-SNAPSHOT: Failed to 
collect dependencies at org.apache.solr:solr-core:jar:4.4.0 - 
org.restlet.jee:org.restlet:jar:2.1.1: Failed to read artifact descriptor for 
org.restlet.jee:org.restlet:jar:2.1.1: Could not transfer artifact 
org.restlet.jee:org.restlet:pom:2.1.1 from/to maven-restlet 
(http://maven.restlet.org): Connection to http://maven.restlet.org refused: 
Connection refused - [Help 1]

Can anybody helps me
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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 Error

2014-06-18 Thread Anja Le Blanc
oss.sonatype.org changed from the http to https protocol. What you are 
getting back at the moment is an html page which tells you that the web 
site has permanently moved.

Change the location of that repository in the main pom.xml to (note: 
https -- everything else stays the same)

repositories
 repository
 idsonatype-releases/id
 nameSonatype Releases Repository/name
 
urlhttps://oss.sonatype.org/content/repositories/releases//url
 /repository
 /repositories

Regards,
Anja

On 17/06/2014 16:08, Henry Atsu Agbodza wrote:
 Dear all,
 i kindly need support on this. I'm trying to setup a test instance of
 Dspace 4.1 and i got stuck on this point**/mvn -U package. I am using
 maven 2 and openjdk. I removed /the ~/.m2 directory (rm -rf
 /home/dspace/.m2) and did a redo but still the same result.
 Below is the error stack:

 dspace@dspacetest:~$ cd /home/dspace/source
 dspace@dspacetest:~/source$ mvn -U package
 [INFO] Scanning for projects...
 Downloading:
 http://oss.sonatype.org/content/repositories/releases//org/sonatype/oss/oss-parent/7/oss-parent-7.pom
 184b downloaded  (oss-parent-7.pom)
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
 '780ba3cf6b6eb0f7c9f6d41d8d25a86a2f46b0c4'; remote = 'html
 headtitle301' - RETRYING
 Downloading:
 http://oss.sonatype.org/content/repositories/releases//org/sonatype/oss/oss-parent/7/oss-parent-7.pom
 184b downloaded  (oss-parent-7.pom)
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
 '780ba3cf6b6eb0f7c9f6d41d8d25a86a2f46b0c4'; remote = 'html
 headtitle301' - IGNORING
 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.dspace:dspace-parent:pom:4.1

 Reason: Cannot find parent: org.sonatype.oss:oss-parent for project:
 org.dspace:dspace-parent:pom:4.1 for project
 org.dspace:dspace-parent:pom:4.1


 [INFO]
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
 org.sonatype.oss:oss-parent for project:
 org.dspace:dspace-parent:pom:4.1 for project
 org.dspace:dspace-parent:pom:4.1
  at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
  at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
  at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
  at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
 find parent: org.sonatype.oss:oss-parent for project:
 org.dspace:dspace-parent:pom:4.1 for project
 org.dspace:dspace-parent:pom:4.1
  at
 org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
  at
 org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
  at
 org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
  at
 org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
  at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
  at
 org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
  at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
  ... 12 more
 Caused by: org.apache.maven.project.InvalidProjectModelException: Not a
 v4.0.0 POM. for project org.sonatype.oss:oss-parent at
 /home/dspace/.m2/repository/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
  at
 org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1599)
  at
 org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1571)
  at
 org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:562)
  at
 org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
 

[Dspace-tech] Maven Error

2014-06-17 Thread Henry Atsu Agbodza
Dear all,
i kindly need support on this. I'm trying to setup a test instance of
Dspace 4.1 and i got stuck on this point  *mvn -U package. I am using maven
2 and openjdk. I removed *the ~/.m2 directory (rm -rf /home/dspace/.m2) and
did a redo but still the same result.
Below is the error stack:

dspace@dspacetest:~$ cd /home/dspace/source
dspace@dspacetest:~/source$ mvn -U package
[INFO] Scanning for projects...
Downloading:
http://oss.sonatype.org/content/repositories/releases//org/sonatype/oss/oss-parent/7/oss-parent-7.pom
184b downloaded  (oss-parent-7.pom)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'780ba3cf6b6eb0f7c9f6d41d8d25a86a2f46b0c4'; remote = 'html
headtitle301' - RETRYING
Downloading:
http://oss.sonatype.org/content/repositories/releases//org/sonatype/oss/oss-parent/7/oss-parent-7.pom
184b downloaded  (oss-parent-7.pom)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'780ba3cf6b6eb0f7c9f6d41d8d25a86a2f46b0c4'; remote = 'html
headtitle301' - IGNORING
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: org.dspace:dspace-parent:pom:4.1

Reason: Cannot find parent: org.sonatype.oss:oss-parent for project:
org.dspace:dspace-parent:pom:4.1 for project
org.dspace:dspace-parent:pom:4.1


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.sonatype.oss:oss-parent for project: org.dspace:dspace-parent:pom:4.1
for project org.dspace:dspace-parent:pom:4.1
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent: org.sonatype.oss:oss-parent for project:
org.dspace:dspace-parent:pom:4.1 for project
org.dspace:dspace-parent:pom:4.1
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
... 12 more
Caused by: org.apache.maven.project.InvalidProjectModelException: Not a
v4.0.0 POM. for project org.sonatype.oss:oss-parent at
/home/dspace/.m2/repository/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1599)
at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1571)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:562)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
... 18 more
[INFO]

[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Jun 17 14:55:41 GMT 2014
[INFO] Final Memory: 2M/58M
[INFO]






-- 
*Sincerely Yours,*

*Henry Atsu Agbodza*
*Library Systems and Research Support, *
*Academic Computing Unit,*
*University of Ghana Computing Systems (UGCS)*
*Room G3, Ground Floor - East Wing, *
*Balme Library*
*Legon*
*Tel.: +233 (0) 207 027360*
*IP Phone: 2442*




*University of Ghana Digital Collection (UGSpace)
http://ugspace.ug.edu.gh:8080/xmlui/University of Ghana Online Catalogue

Re: [Dspace-tech] Maven - Local Code as a Maven Project

2014-04-09 Thread Christian Scheible

Thanks for your answers.
I am now using the additions module which comes with dspace.
The reason why I tried to use my own module have been dependency 
problems after adding dependencies to additions/pom.xml.
But I found out that it was a problem with transitive dependencies 
(org.apache.httpcomponents:httpcore)

so additions module is working fine now.

Am 08.04.2014 19:22, schrieb Pottinger, Hardy J.:
Hi, here's a hasty writeup I did on using the additions module to 
include a (not a custom) jar file:


https://wiki.duraspace.org/display/DSPACE/Nailgun?focusedCommentId=40076646src=search#comment-40076646


*From:* Terry Brady [tw...@georgetown.edu]
*Sent:* Tuesday, April 08, 2014 12:16 PM
*To:* Christian Scheible
*Cc:* dspace-tech
*Subject:* Re: [Dspace-tech] Maven - Local Code as a Maven Project

I have struggled with the maven configuration for my instance.  I have 
a custom plugin to generate thumbnails with ImageMagick.


Fortunately, once I upgraded to DSpace 3, I was able to use the 
additions module to contain my plugin.


Looking at my code prior to DSpace 3, I believe that I needed to list 
my custom module dependencies in both my custom module's pom and in 
dspace/pom.xml in order to get the dependencies on to the runtime 
classpath.


Terry

Terry


On Tue, Apr 8, 2014 at 11:03 AM, Christian Scheible 
christian.schei...@uni-konstanz.de 
mailto:christian.schei...@uni-konstanz.de wrote:


Hi together,

I was trying to add a maven module to our version of DSpace to
seperate
our code from the rest. This was needed because of dependency
conflicts
(Our code has dependencies which can't be added to additions/pom.xml
without problems).
My Problem is that one of the classes in our module is a NamedPlugin
(ChoiceAuthority) which is defined in dspace.cfg.
So the PluginManager tries a Class.forName(my.edu.Classname).
The result is a ClassNotFoundException. I think this is because the
custum module is not in the classpath (no dependency in
dspace-api/pom.xml)
But I can't add the module to dspace-api/pom.xml because our custom
module has a dependency to dspace-api (so it would be cyclic).

https://wiki.duraspace.org/display/DSPACE/BuildCookbook says that one
can add local code as a Maven Project for a own
AuthenticationMethod (as
an example)
wouldn't that lead to the same error?

Has anyone made a custom module with one or more Named Plugins
(implementing an interface from dspace-api/ extending a class from
dspace-api)?

Thanks in advance
Christian


--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
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




--
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
202-687-7053


--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
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

[Dspace-tech] Maven - Local Code as a Maven Project

2014-04-08 Thread Christian Scheible
Hi together,

I was trying to add a maven module to our version of DSpace to seperate 
our code from the rest. This was needed because of dependency conflicts 
(Our code has dependencies which can't be added to additions/pom.xml 
without problems).
My Problem is that one of the classes in our module is a NamedPlugin 
(ChoiceAuthority) which is defined in dspace.cfg.
So the PluginManager tries a Class.forName(my.edu.Classname).
The result is a ClassNotFoundException. I think this is because the 
custum module is not in the classpath (no dependency in dspace-api/pom.xml)
But I can't add the module to dspace-api/pom.xml because our custom 
module has a dependency to dspace-api (so it would be cyclic).

https://wiki.duraspace.org/display/DSPACE/BuildCookbook says that one 
can add local code as a Maven Project for a own AuthenticationMethod (as 
an example)
wouldn't that lead to the same error?

Has anyone made a custom module with one or more Named Plugins 
(implementing an interface from dspace-api/ extending a class from 
dspace-api)?

Thanks in advance
Christian

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
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 - Local Code as a Maven Project

2014-04-08 Thread Terry Brady
I have struggled with the maven configuration for my instance.  I have a
custom plugin to generate thumbnails with ImageMagick.

Fortunately, once I upgraded to DSpace 3, I was able to use the additions
module to contain my plugin.

Looking at my code prior to DSpace 3, I believe that I needed to list my
custom module dependencies in both my custom module's pom and in
dspace/pom.xml in order to get the dependencies on to the runtime classpath.

Terry

Terry


On Tue, Apr 8, 2014 at 11:03 AM, Christian Scheible 
christian.schei...@uni-konstanz.de wrote:

 Hi together,

 I was trying to add a maven module to our version of DSpace to seperate
 our code from the rest. This was needed because of dependency conflicts
 (Our code has dependencies which can't be added to additions/pom.xml
 without problems).
 My Problem is that one of the classes in our module is a NamedPlugin
 (ChoiceAuthority) which is defined in dspace.cfg.
 So the PluginManager tries a Class.forName(my.edu.Classname).
 The result is a ClassNotFoundException. I think this is because the
 custum module is not in the classpath (no dependency in dspace-api/pom.xml)
 But I can't add the module to dspace-api/pom.xml because our custom
 module has a dependency to dspace-api (so it would be cyclic).

 https://wiki.duraspace.org/display/DSPACE/BuildCookbook says that one
 can add local code as a Maven Project for a own AuthenticationMethod (as
 an example)
 wouldn't that lead to the same error?

 Has anyone made a custom module with one or more Named Plugins
 (implementing an interface from dspace-api/ extending a class from
 dspace-api)?

 Thanks in advance
 Christian


 --
 Put Bad Developers to Shame
 Dominate Development with Jenkins Continuous Integration
 Continuously Automate Build, Test  Deployment
 Start a new project now. Try Jenkins in the cloud.
 http://p.sf.net/sfu/13600_Cloudbees
 ___
 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




-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
202-687-7053
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
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 - Local Code as a Maven Project

2014-04-08 Thread Pottinger, Hardy J.
Hi, here's a hasty writeup I did on using the additions module to include a 
(not a custom) jar file:

https://wiki.duraspace.org/display/DSPACE/Nailgun?focusedCommentId=40076646src=search#comment-40076646


From: Terry Brady [tw...@georgetown.edu]
Sent: Tuesday, April 08, 2014 12:16 PM
To: Christian Scheible
Cc: dspace-tech
Subject: Re: [Dspace-tech] Maven - Local Code as a Maven Project

I have struggled with the maven configuration for my instance.  I have a custom 
plugin to generate thumbnails with ImageMagick.

Fortunately, once I upgraded to DSpace 3, I was able to use the additions 
module to contain my plugin.

Looking at my code prior to DSpace 3, I believe that I needed to list my custom 
module dependencies in both my custom module's pom and in dspace/pom.xml in 
order to get the dependencies on to the runtime classpath.

Terry

Terry


On Tue, Apr 8, 2014 at 11:03 AM, Christian Scheible 
christian.schei...@uni-konstanz.demailto:christian.schei...@uni-konstanz.de 
wrote:
Hi together,

I was trying to add a maven module to our version of DSpace to seperate
our code from the rest. This was needed because of dependency conflicts
(Our code has dependencies which can't be added to additions/pom.xml
without problems).
My Problem is that one of the classes in our module is a NamedPlugin
(ChoiceAuthority) which is defined in dspace.cfg.
So the PluginManager tries a Class.forName(my.edu.Classname).
The result is a ClassNotFoundException. I think this is because the
custum module is not in the classpath (no dependency in dspace-api/pom.xml)
But I can't add the module to dspace-api/pom.xml because our custom
module has a dependency to dspace-api (so it would be cyclic).

https://wiki.duraspace.org/display/DSPACE/BuildCookbook says that one
can add local code as a Maven Project for a own AuthenticationMethod (as
an example)
wouldn't that lead to the same error?

Has anyone made a custom module with one or more Named Plugins
(implementing an interface from dspace-api/ extending a class from
dspace-api)?

Thanks in advance
Christian

--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
202-687-7053
--
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test  Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees___
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-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


Re: [Dspace-tech] Maven: Cannot find parent: org.sonatype.oss:oss-parent for project

2013-04-08 Thread helix84
 Specified destination directory cannot be created: 
 /opt/tomcat/.m2/repository/org/sonatype/oss/oss-parent/7

This is the problem. Are you running the mvn package command as a
user who has write access to /opt/tomcat/ ?


Regards,
~~helix84

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


On Sun, Apr 7, 2013 at 3:31 AM, Federico Matarrita
feder...@usematics.com wrote:

 Hello I'm trying to install Dspace, I have install all the prerequisites and
 when I'm going to make the maven part I get an error that maven can't find
 the parent project in any repository.
 Should I add (and if so, how?) a new repository?

 Thanks in advance for any help.
 Federico.

 :/srv/dspace-src/dspace-3.1-release$ sudo -u dspace mvn package


 [INFO] Scanning for projects...
 Downloading:
 http://oss.sonatype.org/content/repositories/releases//org/sonatype/oss/oss-parent/7/oss-parent-7.pom
 [INFO] Unable to find resource 'org.sonatype.oss:oss-parent:pom:7' in
 repository sonatype-releases
 (http://oss.sonatype.org/content/repositories/releases/)
 Downloading:
 http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
 [WARNING] Unable to get resource 'org.sonatype.oss:oss-parent:pom:7' from
 repository central (http://repo1.maven.org/maven2): Specified destination
 directory cannot be created:
 /opt/tomcat/.m2/repository/org/sonatype/oss/oss-parent/7
 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.dspace:dspace-parent:pom:3.1

 Reason: Cannot find parent: org.sonatype.oss:oss-parent for project:
 org.dspace:dspace-parent:pom:3.1 for project
 org.dspace:dspace-parent:pom:3.1


 [INFO]
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
 org.sonatype.oss:oss-parent for project: org.dspace:dspace-parent:pom:3.1
 for project org.dspace:dspace-parent:pom:3.1
 at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
 at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
 parent: org.sonatype.oss:oss-parent for project:
 org.dspace:dspace-parent:pom:3.1 for project
 org.dspace:dspace-parent:pom:3.1
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
 at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
 at
 org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
 at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
 ... 12 more
 Caused by: org.apache.maven.project.ProjectBuildingException: POM
 'org.sonatype.oss:oss-parent' not found in repository: Unable to download
 the artifact from any repository

   org.sonatype.oss:oss-parent:pom:7

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   sonatype-releases (http://oss.sonatype.org/content/repositories/releases/)

  for project org.sonatype.oss:oss-parent
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
 at
 org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
 ... 18 more
 Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
 Unable to download the artifact from any repository

   org.sonatype.oss:oss-parent:pom:7

 from the specified remote 

[Dspace-tech] Maven: Cannot find parent: org.sonatype.oss:oss-parent for project

2013-04-06 Thread Federico Matarrita
Hello I'm trying to install Dspace, I have install all the prerequisites
and when I'm going to make the maven part I get an error that maven can't
find the parent project in any repository.
Should I add (and if so, how?) a new repository?

Thanks in advance for any help.
Federico.

:/srv/dspace-src/dspace-3.1-release$ sudo -u dspace mvn package


[INFO] Scanning for projects...
Downloading:
http://oss.sonatype.org/content/repositories/releases//org/sonatype/oss/oss-parent/7/oss-parent-7.pom
[INFO] Unable to find resource 'org.sonatype.oss:oss-parent:pom:7' in
repository sonatype-releases (
http://oss.sonatype.org/content/repositories/releases/)
Downloading:
http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
[WARNING] Unable to get resource 'org.sonatype.oss:oss-parent:pom:7' from
repository central (http://repo1.maven.org/maven2): Specified destination
directory cannot be created:
/opt/tomcat/.m2/repository/org/sonatype/oss/oss-parent/7
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: org.dspace:dspace-parent:pom:3.1

Reason: Cannot find parent: org.sonatype.oss:oss-parent for project:
org.dspace:dspace-parent:pom:3.1 for project
org.dspace:dspace-parent:pom:3.1


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.sonatype.oss:oss-parent for project: org.dspace:dspace-parent:pom:3.1
for project org.dspace:dspace-parent:pom:3.1
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent: org.sonatype.oss:oss-parent for project:
org.dspace:dspace-parent:pom:3.1 for project
org.dspace:dspace-parent:pom:3.1
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.sonatype.oss:oss-parent' not found in repository: Unable to download
the artifact from any repository

  org.sonatype.oss:oss-parent:pom:7

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  sonatype-releases (http://oss.sonatype.org/content/repositories/releases/)

 for project org.sonatype.oss:oss-parent
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
... 18 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository

  org.sonatype.oss:oss-parent:pom:7

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  sonatype-releases (http://oss.sonatype.org/content/repositories/releases/)


at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
... 19 more
Caused by: 

Re: [Dspace-tech] maven in DSpace 1.6.2

2012-10-24 Thread Vlastimil Krejcir
   No, I did not upgrade Maven and I still use version 3.0. And it works 
for a long time... Have you tried to install DSpace 1.6.2? Does it works? 
What version of maven do you use? I am very curious if someone is able to 
install 1.6.2 without any troubles (this piece of information can help me a
lot).

   I have already googled the link you suggested, however, it doesn't 
answer my question why it stops working right now...

   Vlastik

P.S. Another person (Lucka) tried it yestarday with the same result...


On Tue, 23 Oct 2012, helix84 wrote:

 Ahoj Vlastík,

 this is probably a problem with your particular version of Maven. Did
 you happen to run a system upgrade during the last week that might
 have upgraded Maven? It's easy to forget to check the release notes
 for a particular version of DSpace for recommended versions of build
 tools.

 See a similiar problem here:

 http://dspace.2283337.n4.nabble.com/DSpace-1-7-0-amp-Maven-3-0-2-DuplicateProjectException-Missing-pom-xml-properties-td3339149.html

 Regards,
 ~~helix84


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven in DSpace 1.6.2 - solved

2012-10-24 Thread Vlastimil Krejcir
   Hi all,

   it works now. So, I have to look like an idiot... I tried it again and 
to my surprise it works. I haven't changed anything. I'm looking at the 
working mvn and I don't understand. I'm really sorry for annoying all of 
you. This must be something bigger than me, maybe then all of us, 
something between the network and the heaven... or there are ghost in our 
office or... I wish you a nice day.

   Regards

   Vlastik


On Tue, 23 Oct 2012, helix84 wrote:

 Ahoj Vlastík,

 this is probably a problem with your particular version of Maven. Did
 you happen to run a system upgrade during the last week that might
 have upgraded Maven? It's easy to forget to check the release notes
 for a particular version of DSpace for recommended versions of build
 tools.

 See a similiar problem here:

 http://dspace.2283337.n4.nabble.com/DSpace-1-7-0-amp-Maven-3-0-2-DuplicateProjectException-Missing-pom-xml-properties-td3339149.html

 Regards,
 ~~helix84

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] maven in DSpace 1.6.2

2012-10-23 Thread Vlastimil Krejcir
   Hi all,

   has anyone else encountered troubles with 'mvn package' on older DSpace 
1.6.2? Something has changed because I get

[ERROR] Two or more projects in the reactor have the same identifier, please 
make sure that groupId:artifactId:version is unique for each project: ...

on pom.xml files. Last week mvn package works well...

I can't say I'm maven expert but I guess maven repositories for 1.6.2 has 
changed.

Regards

Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven in DSpace 1.6.2

2012-10-23 Thread Vlastimil Krejcir
   ... and I have to add thata for 1.8.2 mvn package works...

   Vlastik

On Tue, 23 Oct 2012, Tim Donohue wrote:

 Hi Vlastik,

 The Maven central repositories for 1.6.2 have not changed (in fact, it's 
 actually impossible to modify a Maven release once it is made public). So, 
 that's not the cause here.

 Could you explain where you downloaded that 1.6.2 release from?  Is your copy 
 downloaded from Sourceforge? Is it accessed from GitHub?  Have you modified 
 it in any way, or is it an out-of-the-box release?

 Just trying to narrow down what the issues could be.  There's definitely 
 something odd going on, but it shouldn't have to do with the Maven central 
 repository. It's much more likely that something is wrong or misconfigured in 
 the 1.6.2 release you've downloaded.

 Finally, did Maven provide any more details to that error message?  Did it 
 say which two projects had the same identifier, or what that identifier was?

 - Tim

 On 10/23/2012 2:35 AM, Vlastimil Krejcir wrote:
 Hi all,

 has anyone else encountered troubles with 'mvn package' on older DSpace
 1.6.2? Something has changed because I get
 
 [ERROR] Two or more projects in the reactor have the same identifier, 
 please
 make sure that groupId:artifactId:version is unique for each project: 
 ...
 
 on pom.xml files. Last week mvn package works well...
 
 I can't say I'm maven expert but I guess maven repositories for 1.6.2 has
 changed.
 
 Regards
 
 Vlastik

 
 
 Vlastimil Krejčíř
 Library and Information Centre, Institute of Computer Science
 Masaryk University, Brno, Czech Republic
 Email: krejcir (at) ics (dot) muni (dot) cz
 Phone: +420 549 49 3872
 ICQ: 163963217
 Jabber: kre...@jabber.org
 
 

 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven in DSpace 1.6.2

2012-10-23 Thread Tim Donohue
Hi Vlastik,

The Maven central repositories for 1.6.2 have not changed (in fact, it's 
actually impossible to modify a Maven release once it is made public). 
So, that's not the cause here.

Could you explain where you downloaded that 1.6.2 release from?  Is your 
copy downloaded from Sourceforge? Is it accessed from GitHub?  Have you 
modified it in any way, or is it an out-of-the-box release?

Just trying to narrow down what the issues could be.  There's definitely 
something odd going on, but it shouldn't have to do with the Maven 
central repository. It's much more likely that something is wrong or 
misconfigured in the 1.6.2 release you've downloaded.

Finally, did Maven provide any more details to that error message?  Did 
it say which two projects had the same identifier, or what that 
identifier was?

- Tim

On 10/23/2012 2:35 AM, Vlastimil Krejcir wrote:
 Hi all,

 has anyone else encountered troubles with 'mvn package' on older DSpace
 1.6.2? Something has changed because I get

 [ERROR] Two or more projects in the reactor have the same identifier, please
 make sure that groupId:artifactId:version is unique for each project: 
 ...

 on pom.xml files. Last week mvn package works well...

 I can't say I'm maven expert but I guess maven repositories for 1.6.2 has
 changed.

 Regards

 Vlastik

 
 Vlastimil Krejčíř
 Library and Information Centre, Institute of Computer Science
 Masaryk University, Brno, Czech Republic
 Email: krejcir (at) ics (dot) muni (dot) cz
 Phone: +420 549 49 3872
 ICQ: 163963217
 Jabber: kre...@jabber.org
 

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven in DSpace 1.6.2

2012-10-23 Thread helix84
Ahoj Vlastík,

this is probably a problem with your particular version of Maven. Did
you happen to run a system upgrade during the last week that might
have upgraded Maven? It's easy to forget to check the release notes
for a particular version of DSpace for recommended versions of build
tools.

See a similiar problem here:

http://dspace.2283337.n4.nabble.com/DSpace-1-7-0-amp-Maven-3-0-2-DuplicateProjectException-Missing-pom-xml-properties-td3339149.html

Regards,
~~helix84

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Maven - Error building Discovery (Provider Library?)

2012-07-04 Thread André
Dear all,

I am trying to install DSpace 1.6.2
I am running SLES 11 SP1, Apache Maven 2.2.1, Sun JDK 1.6.0_33

Running mvn package I got a message informing that it could not retreive
metadata from solrj SNAPSHOT (I don't know what it is) from maven.dspace.org.
But this address does not exist. The error message:




/* START
***/


[INFO]

[INFO] Building DSpace Discovery :: Provider Library
[INFO]task-segment: [package]
[INFO]

[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] snapshot
org.dspace.dependencies.solr:dspace-solr-solrj:1.4.0.1-SNAPSHOT: checking
for updates from maven.dspace.org-snapshot
[WARNING] repository metadata for: 'snapshot
org.dspace.dependencies.solr:dspace-solr-solrj:1.4.0.1-SNAPSHOT' could not
be retrieved from repository: maven.dspace.org-snapshot due to an error:
Error transferring file: maven.dspace.org
[INFO] Repository 'maven.dspace.org-snapshot' will be blacklisted
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Missing:
--
1) org.dspace.dependencies.solr:dspace-solr-solrj:jar:1.4.0.1-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.dspace.dependencies.solr
-DartifactId=dspace-solr-solrj -Dversion=1.4.0.1-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=org.dspace.dependencies.solr
-DartifactId=dspace-solr-solrj -Dversion=1.4.0.1-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1) org.dspace.discovery:discovery-solr-provider:jar:0.9.2-SNAPSHOT
2)
org.dspace.dependencies.solr:dspace-solr-solrj:jar:1.4.0.1-SNAPSHOT

--
1 required artifact is missing.

for artifact:
  org.dspace.discovery:discovery-solr-provider:jar:0.9.2-SNAPSHOT

from the specified remote repositories:
  maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
  central (http://repo1.maven.org/maven2)


/* END
***/







Sorry for I am a complete ignorant in MVN, so I don't really know what is
this repository for. I find references for it in many of the pom.xml .
I also tried to compile DSpace 1.8.2 and all went ok, without any error
messages, so I am guessing this repository was taken down because it is not
needed in the newer version.

Anyway, then I followed the instructions and downloaded the .jar from
http://repo1.maven.org/maven2/org/dspace/dependencies/solr/dspace-solr-solrj/1.4.0.1/

And called:
mvn install:install-file -DgroupId=org.dspace.dependencies.solr
-DartifactId=dspace-solr-solrj -Dversion=1.4.0.1-SNAPSHOT -Dpackaging=jar
-Dfile=/home/andre/dspace-solr-solrj-1.4.0.1.jar

mvn install:install-file -DgroupId=org.dspace.discovery
-DartifactId=discovery-solr-provider -Dversion=0.9.2-SNAPSHOT
-Dpackaging=jar -Dfile=/home/andre/discovery-solr-provider-0.9.2.jar


Received a BUILD SUCCESSFUL at the end of each call.

But after this, calling mvn package still returns and error message. I
can't understand what's missing, did the mvn install not compile
correctly? Why or is there really a package from Solr still missing? The
error message follows:







/* START
***/


[INFO]

[INFO] Building DSpace Discovery :: Modules
[INFO]task-segment: [package]
[INFO]

[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [jar:test-jar {execution: default}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO]

[INFO] Building DSpace Discovery :: Provider Library
[INFO]task-segment: [package]
[INFO]

[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] snapshot
org.dspace.dependencies.solr:dspace-solr-solrj:1.4.0.1-SNAPSHOT: checking
for updates from maven.dspace.org-snapshot
[WARNING] repository metadata for: 'snapshot
org.dspace.dependencies.solr:dspace-solr-solrj:1.4.0.1-SNAPSHOT' could not
be retrieved from repository: maven.dspace.org-snapshot due to an error:

Re: [Dspace-tech] Maven - Error building Discovery (Provider Library?)

2012-07-04 Thread André
Dear TRUONG,

Yes, of course, I do agree with you. It's simpler, easier, safer and has
many bug fixes.

But the problem is that I need to use a customized theme, which has some
custom code that is only compatible with Discovery from DS1.6.2. Then I
will try to check all the customization that was made and try to adapt it
to DS1.8.2.

Regards
Andre


2012/7/4 revskill revskil...@gmail.com

 I think the simplest way is to use dspace 1.8.2 and Maven 3 to build. It's
 painless for sure. Good luck.

 2012/7/4 André andre.ass...@usp.br

 Dear all,

 I am trying to install DSpace 1.6.2
 I am running SLES 11 SP1, Apache Maven 2.2.1, Sun JDK 1.6.0_33

 Running mvn package I got a message informing that it could not
 retreive metadata from solrj SNAPSHOT (I don't know what it is) from
 maven.dspace.org. But this address does not exist. The error message:




 /* START
 ***/


 [INFO]
 
 [INFO] Building DSpace Discovery :: Provider Library
 [INFO]task-segment: [package]
 [INFO]
 
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 2 resources
 [INFO] snapshot
 org.dspace.dependencies.solr:dspace-solr-solrj:1.4.0.1-SNAPSHOT: checking
 for updates from maven.dspace.org-snapshot
 [WARNING] repository metadata for: 'snapshot
 org.dspace.dependencies.solr:dspace-solr-solrj:1.4.0.1-SNAPSHOT' could not
 be retrieved from repository: maven.dspace.org-snapshot due to an error:
 Error transferring file: maven.dspace.org
 [INFO] Repository 'maven.dspace.org-snapshot' will be blacklisted
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 Missing:
 --
 1) org.dspace.dependencies.solr:dspace-solr-solrj:jar:1.4.0.1-SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=org.dspace.dependencies.solr
 -DartifactId=dspace-solr-solrj -Dversion=1.4.0.1-SNAPSHOT -Dpackaging=jar
 -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the file
 there:
   mvn deploy:deploy-file -DgroupId=org.dspace.dependencies.solr
 -DartifactId=dspace-solr-solrj -Dversion=1.4.0.1-SNAPSHOT -Dpackaging=jar
 -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
 1) org.dspace.discovery:discovery-solr-provider:jar:0.9.2-SNAPSHOT
 2)
 org.dspace.dependencies.solr:dspace-solr-solrj:jar:1.4.0.1-SNAPSHOT

 --
 1 required artifact is missing.

 for artifact:
   org.dspace.discovery:discovery-solr-provider:jar:0.9.2-SNAPSHOT

 from the specified remote repositories:
   maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
   central (http://repo1.maven.org/maven2)


 /* END
 ***/







 Sorry for I am a complete ignorant in MVN, so I don't really know what is
 this repository for. I find references for it in many of the pom.xml .
 I also tried to compile DSpace 1.8.2 and all went ok, without any error
 messages, so I am guessing this repository was taken down because it is not
 needed in the newer version.

 Anyway, then I followed the instructions and downloaded the .jar from

 http://repo1.maven.org/maven2/org/dspace/dependencies/solr/dspace-solr-solrj/1.4.0.1/

 And called:
 mvn install:install-file -DgroupId=org.dspace.dependencies.solr
 -DartifactId=dspace-solr-solrj -Dversion=1.4.0.1-SNAPSHOT -Dpackaging=jar
 -Dfile=/home/andre/dspace-solr-solrj-1.4.0.1.jar

 mvn install:install-file -DgroupId=org.dspace.discovery
 -DartifactId=discovery-solr-provider -Dversion=0.9.2-SNAPSHOT
 -Dpackaging=jar -Dfile=/home/andre/discovery-solr-provider-0.9.2.jar


 Received a BUILD SUCCESSFUL at the end of each call.

 But after this, calling mvn package still returns and error message. I
 can't understand what's missing, did the mvn install not compile
 correctly? Why or is there really a package from Solr still missing? The
 error message follows:







 /* START
 ***/


 [INFO]
 
 [INFO] Building DSpace Discovery :: Modules
 [INFO]task-segment: [package]
 [INFO]
 
 [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
 [INFO] [jar:test-jar {execution: default}]
 [WARNING] JAR will be empty - no content was marked for inclusion!
 [INFO]
 
 [INFO] 

Re: [Dspace-tech] Maven and Java

2012-02-21 Thread Tim Donohue

Adam,

Correct, you should be pointing JAVA_HOME at the JDK rather than the JRE.

One way to do this is to modify your ~/.profile settings (for the user 
under which DSpace is installed) and add:

#Base path of Java
export JAVA_HOME=/usr/lib/jvm/java-6-sun

(Of course, the path above may vary -- this is an older path based on 
Java 6 + Ubuntu 10.04)

After saving that file, run:

source ~/.profile

This will reload that file with the new setting for JAVA_HOME.

- Tim


On 2/20/2012 8:41 PM, Adam Fullerton wrote:
 Good Evening All,

 I now have the correct version of Java on my Ubuntu Laptop. When I run
 Java -version I get this response:

 java version 1.7.0_03
 Java(TM) SE Runtime Environment (build 1.7.0_03-b04)
 Java HotSpot(TM) Server VM (build 22.1-b02, mixed mode)

 Now when I run the command mvn -U package as it says too in this
 document
 https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu I
 get t his error:
 Error: JAVA_HOME is not defined correctly.
 We cannot execute /usr/local/java/jre1.7.0/bin/java

 It is to my understanding that the problem is that I need to be
 directing Java Home  to the JDK file which I do have...I have install
 both JRE and JDK. How do I do this?

 Thank you for your time

 Adam Fullerton, MLIS
 Electronic/Technical Services Librarian 
 Assistant Professor
 Morningside College
 1501 Morningside Ave
 Sioux City, IA 51106

 Phone: 712-274-5247
 Fax: 712-274-5224 attn: Fullerton
 Email: fullert...@morningside.edu mailto:fullert...@morningside.edu

 Being a librarian is not a job...it's a lifestyle.





 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Maven and Java

2012-02-20 Thread Adam Fullerton
Good Evening All,

I now have the correct version of Java on my Ubuntu Laptop. When I run Java
-version I get this response:

java version 1.7.0_03
Java(TM) SE Runtime Environment (build 1.7.0_03-b04)
Java HotSpot(TM) Server VM (build 22.1-b02, mixed mode)

Now when I run the command mvn -U package as it says too in this document
https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu I
get t his error:
Error: JAVA_HOME is not defined correctly.
We cannot execute /usr/local/java/jre1.7.0/bin/java

It is to my understanding that the problem is that I need to be directing
Java Home  to the JDK file which I do have...I have install both JRE and
JDK. How do I do this?

Thank you for your time

Adam Fullerton, MLIS
Electronic/Technical Services Librarian 
Assistant Professor
Morningside College
1501 Morningside Ave
Sioux City, IA 51106

Phone: 712-274-5247
Fax: 712-274-5224 attn: Fullerton
Email: fullert...@morningside.edu

Being a librarian is not a job...it's a lifestyle.
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] maven problem, not proxy issue

2012-02-15 Thread Martin Musacchio
Just repeating my question. Hope someone helps:

I'm stuck at the 'mvn package' part of the installation (dspace 1.8.1,  
-and also 1.6.2- and maven2=2.2.1-10) and it fails downloading the  
first file, claiming network unreachable, 'Unable to download the  
artifact from any
repository', the usual.
I've searched the list and most people fixed this problem with the
proxy setting in the settings.xml file from the maven directory. Well,
this doesn't work for me. I'm actually in the same network from
another computer that doesn't even need a proxy setting! (both are
behind a firewall which automatically redirects requests to specific
ports to the proxy, so there's no need for the setting) Just to be
sure I tried the proxy setting anyway but it doesn't work.

Also I can access that first failed file with my browser and with
wget. It's a .pom file. Using curl it shows it to me in binary code
(I'm not sure if that matters or not). So it doesn't even look like a
proxy type problem.

Of course I also tried purging and reinstalling maven2, to no effect.

I'm running out of ideas...

Can anyone provide any help?

Thanks in advance

Here goes the error report:




/home/martin/dspace-1.8.1-src-release/dspace# mvn package
[INFO] Scanning for projects...
Downloading:
http://repo1.maven.org/maven2/org/dspace/dspace-pom/12/dspace-pom-12.pom
[WARNING] Unable to get resource 'org.dspace:dspace-pom:pom:12' from
repository central (http://repo1.maven.org/maven2): Error transferring
file: Network is unreachable
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: org.dspace:dspace-parent:pom:1.8.1

Reason: Cannot find parent: org.dspace:dspace-pom for project:
org.dspace:dspace-parent:pom:1.8.1 for project
org.dspace:dspace-parent:pom:1.8.1


[INFO]

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.dspace:dspace-pom for project: org.dspace:dspace-parent:pom:1.8.1
for project org.dspace:dspace-parent:pom:1.8.1
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
find parent: org.dspace:dspace-pom for project:
org.dspace:dspace-parent:pom:1.8.1 for project
org.dspace:dspace-parent:pom:1.8.1
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1407)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.dspace:dspace-pom' not found in repository: Unable to download
the artifact from any repository

org.dspace:dspace-pom:pom:12

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

   for project org.dspace:dspace-pom
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
... 19 more
Caused by:
org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
to download the artifact from any repository

org.dspace:dspace-pom:pom:12


Re: [Dspace-tech] maven problem, not proxy issue

2012-02-15 Thread Mark H. Wood
On Wed, Feb 15, 2012 at 08:32:26AM -0300, Martin Musacchio wrote:
 I'm stuck at the 'mvn package' part of the installation (dspace 1.8.1,  
 -and also 1.6.2- and maven2=2.2.1-10) and it fails downloading the  
 first file, claiming network unreachable, 'Unable to download the  
 artifact from any repository', the usual.
 I've searched the list and most people fixed this problem with the
 proxy setting in the settings.xml file from the maven directory. Well,
 this doesn't work for me. I'm actually in the same network from
 another computer that doesn't even need a proxy setting! (both are
 behind a firewall which automatically redirects requests to specific
 ports to the proxy, so there's no need for the setting) Just to be
 sure I tried the proxy setting anyway but it doesn't work.
 
 Also I can access that first failed file with my browser and with
 wget. It's a .pom file. Using curl it shows it to me in binary code
 (I'm not sure if that matters or not). So it doesn't even look like a
 proxy type problem.

It shouldn't be binary; POMs are XML.  'curl
http://repo1.maven.org/maven2/org/dspace/dspace-pom/12/dspace-pom-12.pom'
showed me this:

  ?xml version=1.0 encoding=UTF-8?
  project xmlns=http://maven.apache.org/POM/4.0.0;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
  http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  groupIdorg.dspace/groupId
  artifactIddspace-pom/artifactId

and so on.  If you don't get that, something fairly close to you is
broken.  If I were having this problem, I'd stick with simple tools
like curl or wget until they can fetch a recognizable POM and then try
Maven again.

I'm perhaps understandably suspicious of that magic firewall rule.

[snip]
 Here goes the error report:
 
 /home/martin/dspace-1.8.1-src-release/dspace# mvn package
 [INFO] Scanning for projects...
 Downloading:
 http://repo1.maven.org/maven2/org/dspace/dspace-pom/12/dspace-pom-12.pom
 [WARNING] Unable to get resource 'org.dspace:dspace-pom:pom:12' from
 repository central (http://repo1.maven.org/maven2): Error transferring
 file: Network is unreachable

I think that everything beyond this point is resulting from the
above.  The project's configuration can't be completed because
dspace-pom is unavailable and it's an ancestor of everything you're
trying to build.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Asking whether markets are efficient is like asking whether people are smart.


pgpHpMWRv2zyS.pgp
Description: PGP signature
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] maven problem, not proxy issue

2012-02-07 Thread Martin Musacchio
Hi all.

I'm stuck at the 'mvn package' part of the installation (dspace 1.8.1,  
maven2=2.2.1-10) and it fails downloading the first file, claiming  
network unreachable, 'Unable to download the artifact from any  
repository', the usual.
I've searched the list and most people fixed this problem with the  
proxy setting in the settings.xml file from the maven directory. Well,  
this doesn't work for me. I'm actually in the same network from  
another computer that doesn't even need a proxy setting! (both are  
behind a firewall which automatically redirects requests to specific  
ports to the proxy, so there's no need for the setting) Just to be  
sure I tried the proxy setting anyway but it doesn't work.

Also I can access that first failed file with my browser and with  
wget. It's a .pom file. Using curl it shows it to me in binary code  
(I'm not sure if that matters or not). So it doesn't even look like a  
proxy type problem.

Of course I also tried purging and reinstalling maven2, to no effect.

I'm running out of ideas...

Can anyone provide any help?

Thanks in advance

Here goes the error report:




/home/martin/dspace-1.8.1-src-release/dspace# mvn package
[INFO] Scanning for projects...
Downloading:  
http://repo1.maven.org/maven2/org/dspace/dspace-pom/12/dspace-pom-12.pom
[WARNING] Unable to get resource 'org.dspace:dspace-pom:pom:12' from  
repository central (http://repo1.maven.org/maven2): Error transferring  
file: Network is unreachable
[INFO]  

[ERROR] FATAL ERROR
[INFO]  

[INFO] Error building POM (may not be this project's POM).


Project ID: org.dspace:dspace-parent:pom:1.8.1

Reason: Cannot find parent: org.dspace:dspace-pom for project:  
org.dspace:dspace-parent:pom:1.8.1 for project  
org.dspace:dspace-parent:pom:1.8.1


[INFO]  

[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:  
org.dspace:dspace-pom for project: org.dspace:dspace-parent:pom:1.8.1  
for project org.dspace:dspace-parent:pom:1.8.1
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot  
find parent: org.dspace:dspace-pom for project:  
org.dspace:dspace-parent:pom:1.8.1 for project  
org.dspace:dspace-parent:pom:1.8.1
at  
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1407)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM  
'org.dspace:dspace-pom' not found in repository: Unable to download  
the artifact from any repository

   org.dspace:dspace-pom:pom:12

from the specified remote repositories:
   central (http://repo1.maven.org/maven2)

  for project org.dspace:dspace-pom
at  
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
at  
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
... 19 more
Caused by:  
org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable  
to download the artifact from any repository

   

Re: [Dspace-tech] Maven Errors

2011-09-11 Thread Gareth Kelly
Hi,

Trying to do a fresh install of dspace 1.7.2 on ubuntu 11.04 following strictly 
the guide at 
https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu with 
sun java.  Can not complete build due to the error below.  Server is an amazon 
ec2 if it helps.  Had success earlier in week doing the same.  Is a workaround 
possible?  Or do I just need to wait for a server to go back online somewhere?  
http://download.carrot2.org/stable is not available.

[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) org.carrot2:carrot2-mini:jar:3.1.0

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.carrot2 -DartifactId=carrot2-mini 
-Dversion=3.1.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.carrot2 -DartifactId=carrot2-mini 
-Dversion=3.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]

  Path to dependency: 
1) org.dspace.modules:solr:war:1.7.2
2) org.dspace:dspace-solr:jar:classes:1.4.1.1
3) org.apache.solr:solr-clustering:jar:1.4.1
4) org.carrot2:carrot2-mini:jar:3.1.0

Cheers
Gareth
--
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven Errors

2011-07-08 Thread Lewatle Phaladi
Hi Hilton and Dspace Team 

 

The problem is solved after your help.

 

Thanks,

Lewatle

 

From: Hilton Gibson [mailto:hilton.gib...@gmail.com] 
Sent: 07 July 2011 03:56 PM
To: Lewatle Phaladi
Subject: Re: [Dspace-tech] Maven Errors

 

I had the same problem. So I put the server in our DMZ. Speak to your campus IT 
guys to do the same.

On 7 July 2011 15:45, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote:

Hi 

 

I am using version 1.6.0, and other guys have responded with positive ideas 
that I have also followed even if I never responded to them I really appreciate 
their time, 

The thing is that other packages are downloaded easily  but while process is 
continuing  the following packages are not  downloaded from repository for some 
reasons.

 

Please see this error. 

 

[INFO] 

[ERROR] BUILD ERROR

[INFO] 

[INFO] Failed to resolve artifact.

 

Missing:

--

1) org.carrot2:carrot2-mini:jar:3.1.0

 

  Try downloading the file manually from the project website.

 

  Then, install it using the command: 

  mvn install:install-file -DgroupId=org.carrot2 -DartifactId=carrot2-mini 
-Dversion=3.1.0 -Dpackaging=jar -Dfile=/path/to/file

 

  Alternatively, if you host your own repository you can deploy the file there: 

  mvn deploy:deploy-file -DgroupId=org.carrot2 -DartifactId=carrot2-mini 
-Dversion=3.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]

 

  Path to dependency: 

1) org.dspace.modules:solr:war:1.7.0

2) org.dspace:dspace-solr:jar:classes:1.4.1.0

3) org.apache.solr:solr-clustering:jar:1.4.1

4) org.carrot2:carrot2-mini:jar:3.1.0

 

--

1 required artifact is missing.

 

for artifact: 

  org.dspace.modules:solr:war:1.7.0

 

from the specified remote repositories:

  central (http://repo1.maven.org/maven2),

  sonatype-nexus-snapshots 
(https://oss.sonatype.org/content/repositories/snapshots)

 

Regards,

Lewatle

 

From: P. S. Mukhopadhyay [mailto:psmukhopadh...@gmail.com] 
Sent: 07 July 2011 12:54 PM
To: Lewatle Phaladi
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Maven Errors

 

What Java u r using?



On Wed, Jul 6, 2011 at 6:31 PM, P. S. Mukhopadhyay psmukhopadh...@gmail.com 
wrote:

hello

my settings.xml under .m2 folder (hidden folder)

settings
 proxies

 proxy
  idoptional/id
  activetrue/active
  protocolhttp/protocol

  username/username
  password/password
  host192.168.3.5/host
  port3128/port
  nonProxyHostslocalhost,*.example.com/nonProxyHosts
 /proxy
 /proxies
/settings


On 7/6/11, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote:
 Hi



 In addition to what I have sent, here is part of server.xml file in maven,



 proxy

   idOptional/id

   activetrue/active

   protocolhttp/protocol

   hostourproxy.wits.ac.za/host

   port80/port

   usernamemyusername/username

   passwordmypassword/password

   nonProxyHosts/nonProxyHosts

 /proxy



 Your input is appreciated.



 Regards,

 Lewatle



 From: Lewatle Phaladi
 Sent: 06 July 2011 02:06 PM
 To: dspace-tech@lists.sourceforge.net
 Subject: Maven Errors



 Hi All



 I am installing dspace1.7.2 and I have this errors, can anyone give me idea
 with this errors.



 [INFO] BUILD FAILURE

 [INFO]
 

 [INFO] Total time: 13:10.929s

 [INFO] Finished at: Wed Jul 06 13:56:23 SAST 2011

 [INFO] Final Memory: 32M/60M

 [INFO]
 

 [ERROR] Failed to execute goal on project solr: Could not resolve
 dependencies for project org.dspace.modules:solr:war:1.7.2: Failed to
 collect dependencies for [org.dspace:dspace-solr:war:skinny:1.4.1.1
 (compile), org.dspace:dspace-solr:jar:classes:1.4.1.1 (compile),
 org.slf4j:slf4j-api:jar:1.5.6 (compile), org.slf4j:slf4j-jdk14:jar:1.5.6
 (compile), xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact
 descriptor for org.carrot2:carrot2-mini:jar:3.1.0: Could not transfer
 artifact org.carrot2:carrot2-mini:pom:3.1.0 from/to carrot2.org
 (http://download.carrot2.org/maven2/): Error transferring file: Server
 redirected too many  times (20) - [Help 1]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
 switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions, please
 read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

 [ERROR]

 [ERROR] After correcting the problems, you can resume the build with the
 command

 [ERROR]   mvn goals -rf :solr









 I have setup server.xml file in maven for proxy but I still

Re: [Dspace-tech] Maven Errors

2011-07-07 Thread P. S. Mukhopadhyay
What Java u r using?



On Wed, Jul 6, 2011 at 6:31 PM, P. S. Mukhopadhyay psmukhopadh...@gmail.com
 wrote:

 hello

 my settings.xml under .m2 folder (hidden folder)

 settings
  proxies
   proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
username/username
   password/password
   host192.168.3.5/host
   port3128/port
   nonProxyHostslocalhost,*.example.com/nonProxyHosts
  /proxy
  /proxies
 /settings

 On 7/6/11, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote:
  Hi
 
 
 
  In addition to what I have sent, here is part of server.xml file in
 maven,
 
 
 
  proxy
 
idOptional/id
 
activetrue/active
 
protocolhttp/protocol
 
hostourproxy.wits.ac.za/host
 
port80/port
 
usernamemyusername/username
 
passwordmypassword/password
 
nonProxyHosts/nonProxyHosts
 
  /proxy
 
 
 
  Your input is appreciated.
 
 
 
  Regards,
 
  Lewatle
 
 
 
  From: Lewatle Phaladi
  Sent: 06 July 2011 02:06 PM
  To: dspace-tech@lists.sourceforge.net
  Subject: Maven Errors
 
 
 
  Hi All
 
 
 
  I am installing dspace1.7.2 and I have this errors, can anyone give me
 idea
  with this errors.
 
 
 
  [INFO] BUILD FAILURE
 
  [INFO]
  
 
  [INFO] Total time: 13:10.929s
 
  [INFO] Finished at: Wed Jul 06 13:56:23 SAST 2011
 
  [INFO] Final Memory: 32M/60M
 
  [INFO]
  
 
  [ERROR] Failed to execute goal on project solr: Could not resolve
  dependencies for project org.dspace.modules:solr:war:1.7.2: Failed to
  collect dependencies for [org.dspace:dspace-solr:war:skinny:1.4.1.1
  (compile), org.dspace:dspace-solr:jar:classes:1.4.1.1 (compile),
  org.slf4j:slf4j-api:jar:1.5.6 (compile), org.slf4j:slf4j-jdk14:jar:1.5.6
  (compile), xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact
  descriptor for org.carrot2:carrot2-mini:jar:3.1.0: Could not transfer
  artifact org.carrot2:carrot2-mini:pom:3.1.0 from/to carrot2.org
  (http://download.carrot2.org/maven2/): Error transferring file: Server
  redirected too many  times (20) - [Help 1]
 
  [ERROR]
 
  [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e
  switch.
 
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 
  [ERROR]
 
  [ERROR] For more information about the errors and possible solutions,
 please
  read the following articles:
 
  [ERROR] [Help 1]
 
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 
  [ERROR]
 
  [ERROR] After correcting the problems, you can resume the build with the
  command
 
  [ERROR]   mvn goals -rf :solr
 
 
 
 
 
 
 
 
 
  I have setup server.xml file in maven for proxy but I still receive this.
 
 
 
  Regards,
 
  Lewatle
 
 
  htmlpfont face = verdana size = 0.8 color = navyThis
  communication is intended for the addressee only. It is confidential. If
 you
  have received this communication in error, please notify us immediately
 and
  destroy the original message. You may not copy or disseminate this
  communication without the permission of the University. Only authorized
  signatories are competent to enter into agreements on behalf of the
  University and recipients are thus advised that the content of this
 message
  may not be legally binding on the University and may contain the personal
  views and opinions of the author, which are not necessarily the views and
  opinions of The University of the Witwatersrand, Johannesburg. All
  agreements between the University and outsiders are subject to South
 African
  Law unless the University agrees in writing to the
  contrary./font/p/html


 --
 ---
 Dr. Parthasarathi Mukhopadhyay
 Assistant Professor, Department of Library and Information Science,
 University of Burdwan,
 Burdwan - 713 104 (WB), India
 ---




-- 
---
Dr. Parthasarathi Mukhopadhyay
Assistant Professor, Department of Library and Information Science,
University of Burdwan,
Burdwan - 713 104 (WB), India
---
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven Errors

2011-07-07 Thread Lewatle Phaladi
Hi



I am using version 1.6.0, and other guys have responded with positive
ideas that I have also followed even if I never responded to them I
really appreciate their time,

The thing is that other packages are downloaded easily  but while
process is continuing  the following packages are not  downloaded from
repository for some reasons.



Please see this error.



[INFO]


[ERROR] BUILD ERROR

[INFO]


[INFO] Failed to resolve artifact.



Missing:

--

1) org.carrot2:carrot2-mini:jar:3.1.0



  Try downloading the file manually from the project website.



  Then, install it using the command:

  mvn install:install-file -DgroupId=org.carrot2
-DartifactId=carrot2-mini -Dversion=3.1.0 -Dpackaging=jar
-Dfile=/path/to/file



  Alternatively, if you host your own repository you can deploy the file
there:

  mvn deploy:deploy-file -DgroupId=org.carrot2
-DartifactId=carrot2-mini -Dversion=3.1.0 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]



  Path to dependency:

1) org.dspace.modules:solr:war:1.7.0

2) org.dspace:dspace-solr:jar:classes:1.4.1.0

3) org.apache.solr:solr-clustering:jar:1.4.1

4) org.carrot2:carrot2-mini:jar:3.1.0



--

1 required artifact is missing.



for artifact:

  org.dspace.modules:solr:war:1.7.0



from the specified remote repositories:

  central (http://repo1.maven.org/maven2),

  sonatype-nexus-snapshots
(https://oss.sonatype.org/content/repositories/snapshots)



Regards,

Lewatle



From: P. S. Mukhopadhyay [mailto:psmukhopadh...@gmail.com]
Sent: 07 July 2011 12:54 PM
To: Lewatle Phaladi
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Maven Errors



What Java u r using?




On Wed, Jul 6, 2011 at 6:31 PM, P. S. Mukhopadhyay
psmukhopadh...@gmail.com wrote:

hello

my settings.xml under .m2 folder (hidden folder)

settings
 proxies

 proxy
  idoptional/id
  activetrue/active
  protocolhttp/protocol

  username/username
  password/password
  host192.168.3.5/host
  port3128/port
  nonProxyHostslocalhost,*.example.com/nonProxyHosts
 /proxy
 /proxies
/settings


On 7/6/11, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote:
 Hi



 In addition to what I have sent, here is part of server.xml file in
maven,



 proxy

   idOptional/id

   activetrue/active

   protocolhttp/protocol

   hostourproxy.wits.ac.za/host

   port80/port

   usernamemyusername/username

   passwordmypassword/password

   nonProxyHosts/nonProxyHosts

 /proxy



 Your input is appreciated.



 Regards,

 Lewatle



 From: Lewatle Phaladi
 Sent: 06 July 2011 02:06 PM
 To: dspace-tech@lists.sourceforge.net
 Subject: Maven Errors



 Hi All



 I am installing dspace1.7.2 and I have this errors, can anyone give me
idea
 with this errors.



 [INFO] BUILD FAILURE

 [INFO]



 [INFO] Total time: 13:10.929s

 [INFO] Finished at: Wed Jul 06 13:56:23 SAST 2011

 [INFO] Final Memory: 32M/60M

 [INFO]



 [ERROR] Failed to execute goal on project solr: Could not resolve
 dependencies for project org.dspace.modules:solr:war:1.7.2: Failed to
 collect dependencies for [org.dspace:dspace-solr:war:skinny:1.4.1.1
 (compile), org.dspace:dspace-solr:jar:classes:1.4.1.1 (compile),
 org.slf4j:slf4j-api:jar:1.5.6 (compile),
org.slf4j:slf4j-jdk14:jar:1.5.6
 (compile), xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact
 descriptor for org.carrot2:carrot2-mini:jar:3.1.0: Could not transfer
 artifact org.carrot2:carrot2-mini:pom:3.1.0 from/to carrot2.org
 (http://download.carrot2.org/maven2/): Error transferring file: Server
 redirected too many  times (20) - [Help 1]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with
the -e
 switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
please
 read the following articles:

 [ERROR] [Help 1]

http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExc
eption

 [ERROR]

 [ERROR] After correcting the problems, you can resume the build with
the
 command

 [ERROR]   mvn goals -rf :solr









 I have setup server.xml file in maven for proxy but I still receive
this.



 Regards,

 Lewatle



 htmlpfont face = verdana size = 0.8 color = navyThis

 communication is intended for the addressee only. It is confidential.
If you
 have received this communication in error, please notify us
immediately and
 destroy the original message. You may not copy or disseminate this
 communication without the permission of the University. Only
authorized
 signatories are competent to enter into agreements

Re: [Dspace-tech] Maven Errors

2011-07-07 Thread Tim Donohue
Hi Lewatle,

It still sounds like either a Maven caching issue or something with your 
setup.

Here's my setup:
Maven 2.2.1 (note: I'm not using a proxy in my settings.xml)
Java 1.6.0
Windows 7

I've just successfully rebuilt DSpace 1.7.2 after completely deleting my 
local Maven cache.  Essentially, I did the following:

(1) First, I removed my entire Maven Cache by moving my 
~/.m2/repository/ directory to ~/.m2/repository-OLD/   This forced Maven 
to recreate a fresh ~/.m2/repository/ folder and re-download all DSpace 
dependencies.

(2) Next, I pulled down a completely fresh copy of DSpace 1.7.2 to a 
folder called D:/dspace-1.7.2/:
svn co http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.7.2/

(3) Finally, I rebuilt DSpace 1.7.2 (this took a while, as Maven went 
through and downloaded all dependencies again one-by-one):
cd D:/dspace-1.7.2/dspace/
mvn package

In the end, everything built fine.  My local Maven was also able to 
locate the carrot2-mini dependency which you received errors on.

Could you verify the exact version of Maven you are using?  You also may 
want to try the same experiment (completely delete or move your existing 
~/.m2/repository/ Maven cache and rebuild).  It's possible this could 
also be an issue with your proxy settings.

- Tim


On 7/7/2011 8:45 AM, Lewatle Phaladi wrote:
 Hi

 I am using version 1.6.0, and other guys have responded with positive
 ideas that I have also followed even if I never responded to them I
 really appreciate their time,

 The thing is that other packages are downloaded easily but while process
 is continuing the following packages are not downloaded from repository
 for some reasons.

 Please see this error.

 [INFO]
 

 [ERROR] BUILD ERROR

 [INFO]
 

 [INFO] Failed to resolve artifact.

 Missing:

 --

 1) org.carrot2:carrot2-mini:jar:3.1.0

 Try downloading the file manually from the project website.

 Then, install it using the command:

 mvn install:install-file -DgroupId=org.carrot2 -DartifactId=carrot2-mini
 -Dversion=3.1.0 -Dpackaging=jar -Dfile=/path/to/file

 Alternatively, if you host your own repository you can deploy the file
 there:

 mvn deploy:deploy-file -DgroupId=org.carrot2 -DartifactId=carrot2-mini
 -Dversion=3.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
 -DrepositoryId=[id]

 Path to dependency:

 1) org.dspace.modules:solr:war:1.7.0

 2) org.dspace:dspace-solr:jar:classes:1.4.1.0

 3) org.apache.solr:solr-clustering:jar:1.4.1

 4) org.carrot2:carrot2-mini:jar:3.1.0

 --

 1 required artifact is missing.

 for artifact:

 org.dspace.modules:solr:war:1.7.0

 from the specified remote repositories:

 central (http://repo1.maven.org/maven2),

 sonatype-nexus-snapshots
 (https://oss.sonatype.org/content/repositories/snapshots)

 Regards,

 Lewatle

 *From:*P. S. Mukhopadhyay [mailto:psmukhopadh...@gmail.com]
 *Sent:* 07 July 2011 12:54 PM
 *To:* Lewatle Phaladi
 *Cc:* dspace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] Maven Errors

 What Java u r using?


 On Wed, Jul 6, 2011 at 6:31 PM, P. S. Mukhopadhyay
 psmukhopadh...@gmail.com mailto:psmukhopadh...@gmail.com wrote:

 hello

 my settings.xml under .m2 folder (hidden folder)

 settings
 proxies

 proxy
 idoptional/id
 activetrue/active
 protocolhttp/protocol

 username/username
 password/password
 host192.168.3.5/host
 port3128/port
 nonProxyHostslocalhost,*.example.com http://example.com/nonProxyHosts
 /proxy
 /proxies
 /settings


 On 7/6/11, Lewatle Phaladi lewatle.phal...@wits.ac.za
 mailto:lewatle.phal...@wits.ac.za wrote:
   Hi
  
  
  
   In addition to what I have sent, here is part of server.xml file in
 maven,
  
  
  
   proxy
  
   idOptional/id
  
   activetrue/active
  
   protocolhttp/protocol
  
   hostourproxy.wits.ac.za http://ourproxy.wits.ac.za/host
  
   port80/port
  
   usernamemyusername/username
  
   passwordmypassword/password
  
   nonProxyHosts/nonProxyHosts
  
   /proxy
  
  
  
   Your input is appreciated.
  
  
  
   Regards,
  
   Lewatle
  
  
  
   From: Lewatle Phaladi
   Sent: 06 July 2011 02:06 PM
   To: dspace-tech@lists.sourceforge.net
 mailto:dspace-tech@lists.sourceforge.net
   Subject: Maven Errors
  
  
  
   Hi All
  
  
  
   I am installing dspace1.7.2 and I have this errors, can anyone give
 me idea
   with this errors.
  
  
  
   [INFO] BUILD FAILURE
  
   [INFO]
   
  
   [INFO] Total time: 13:10.929s
  
   [INFO] Finished at: Wed Jul 06 13:56:23 SAST 2011
  
   [INFO] Final Memory: 32M/60M
  
   [INFO]
   
  
   [ERROR] Failed to execute goal on project solr: Could not resolve
   dependencies for project org.dspace.modules:solr:war:1.7.2: Failed to
   collect dependencies for [org.dspace:dspace

Re: [Dspace-tech] Maven Errors

2011-07-06 Thread Lewatle Phaladi
Hi 

 

In addition to what I have sent, here is part of server.xml file in maven,

 

proxy

  idOptional/id

  activetrue/active

  protocolhttp/protocol

  hostourproxy.wits.ac.za/host

  port80/port

  usernamemyusername/username

  passwordmypassword/password

  nonProxyHosts/nonProxyHosts

/proxy

 

Your input is appreciated.

 

Regards,

Lewatle

 

From: Lewatle Phaladi 
Sent: 06 July 2011 02:06 PM
To: dspace-tech@lists.sourceforge.net
Subject: Maven Errors

 

Hi All 

 

I am installing dspace1.7.2 and I have this errors, can anyone give me idea 
with this errors.

 

[INFO] BUILD FAILURE

[INFO] 

[INFO] Total time: 13:10.929s

[INFO] Finished at: Wed Jul 06 13:56:23 SAST 2011

[INFO] Final Memory: 32M/60M

[INFO] 

[ERROR] Failed to execute goal on project solr: Could not resolve dependencies 
for project org.dspace.modules:solr:war:1.7.2: Failed to collect dependencies 
for [org.dspace:dspace-solr:war:skinny:1.4.1.1 (compile), 
org.dspace:dspace-solr:jar:classes:1.4.1.1 (compile), 
org.slf4j:slf4j-api:jar:1.5.6 (compile), org.slf4j:slf4j-jdk14:jar:1.5.6 
(compile), xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact descriptor 
for org.carrot2:carrot2-mini:jar:3.1.0: Could not transfer artifact 
org.carrot2:carrot2-mini:pom:3.1.0 from/to carrot2.org 
(http://download.carrot2.org/maven2/): Error transferring file: Server 
redirected too many  times (20) - [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please 
read the following articles:

[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

[ERROR] 

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn goals -rf :solr

 

 

 

 

I have setup server.xml file in maven for proxy but I still receive this. 

 

Regards,

Lewatle


htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven Errors

2011-07-06 Thread P. S. Mukhopadhyay
hello

my settings.xml under .m2 folder (hidden folder)

settings
 proxies
  proxy
   idoptional/id
   activetrue/active
   protocolhttp/protocol
   username/username
   password/password
   host192.168.3.5/host
   port3128/port
   nonProxyHostslocalhost,*.example.com/nonProxyHosts
  /proxy
 /proxies
/settings

On 7/6/11, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote:
 Hi



 In addition to what I have sent, here is part of server.xml file in maven,



 proxy

   idOptional/id

   activetrue/active

   protocolhttp/protocol

   hostourproxy.wits.ac.za/host

   port80/port

   usernamemyusername/username

   passwordmypassword/password

   nonProxyHosts/nonProxyHosts

 /proxy



 Your input is appreciated.



 Regards,

 Lewatle



 From: Lewatle Phaladi
 Sent: 06 July 2011 02:06 PM
 To: dspace-tech@lists.sourceforge.net
 Subject: Maven Errors



 Hi All



 I am installing dspace1.7.2 and I have this errors, can anyone give me idea
 with this errors.



 [INFO] BUILD FAILURE

 [INFO]
 

 [INFO] Total time: 13:10.929s

 [INFO] Finished at: Wed Jul 06 13:56:23 SAST 2011

 [INFO] Final Memory: 32M/60M

 [INFO]
 

 [ERROR] Failed to execute goal on project solr: Could not resolve
 dependencies for project org.dspace.modules:solr:war:1.7.2: Failed to
 collect dependencies for [org.dspace:dspace-solr:war:skinny:1.4.1.1
 (compile), org.dspace:dspace-solr:jar:classes:1.4.1.1 (compile),
 org.slf4j:slf4j-api:jar:1.5.6 (compile), org.slf4j:slf4j-jdk14:jar:1.5.6
 (compile), xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact
 descriptor for org.carrot2:carrot2-mini:jar:3.1.0: Could not transfer
 artifact org.carrot2:carrot2-mini:pom:3.1.0 from/to carrot2.org
 (http://download.carrot2.org/maven2/): Error transferring file: Server
 redirected too many  times (20) - [Help 1]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
 switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions, please
 read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

 [ERROR]

 [ERROR] After correcting the problems, you can resume the build with the
 command

 [ERROR]   mvn goals -rf :solr









 I have setup server.xml file in maven for proxy but I still receive this.



 Regards,

 Lewatle


 htmlpfont face = verdana size = 0.8 color = navyThis
 communication is intended for the addressee only. It is confidential. If you
 have received this communication in error, please notify us immediately and
 destroy the original message. You may not copy or disseminate this
 communication without the permission of the University. Only authorized
 signatories are competent to enter into agreements on behalf of the
 University and recipients are thus advised that the content of this message
 may not be legally binding on the University and may contain the personal
 views and opinions of the author, which are not necessarily the views and
 opinions of The University of the Witwatersrand, Johannesburg. All
 agreements between the University and outsiders are subject to South African
 Law unless the University agrees in writing to the
 contrary./font/p/html


-- 
---
Dr. Parthasarathi Mukhopadhyay
Assistant Professor, Department of Library and Information Science,
University of Burdwan,
Burdwan - 713 104 (WB), India
---

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Maven Errors

2011-07-06 Thread Lewatle Phaladi
Hi All 

 

I am installing dspace1.7.2 and I have this errors, can anyone give me idea 
with this errors.

 

[INFO] BUILD FAILURE

[INFO] 

[INFO] Total time: 13:10.929s

[INFO] Finished at: Wed Jul 06 13:56:23 SAST 2011

[INFO] Final Memory: 32M/60M

[INFO] 

[ERROR] Failed to execute goal on project solr: Could not resolve dependencies 
for project org.dspace.modules:solr:war:1.7.2: Failed to collect dependencies 
for [org.dspace:dspace-solr:war:skinny:1.4.1.1 (compile), 
org.dspace:dspace-solr:jar:classes:1.4.1.1 (compile), 
org.slf4j:slf4j-api:jar:1.5.6 (compile), org.slf4j:slf4j-jdk14:jar:1.5.6 
(compile), xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact descriptor 
for org.carrot2:carrot2-mini:jar:3.1.0: Could not transfer artifact 
org.carrot2:carrot2-mini:pom:3.1.0 from/to carrot2.org 
(http://download.carrot2.org/maven2/): Error transferring file: Server 
redirected too many  times (20) - [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please 
read the following articles:

[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

[ERROR] 

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn goals -rf :solr

 

 

 

 

I have setup server.xml file in maven for proxy but I still receive this. 

 

Regards,

Lewatle


htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven Errors

2011-07-06 Thread Tim Donohue
Lewatle,

A few ideas:

(1) Is your proxy information in the ~/.m2/settings.xml file? (You had 
said it was a server.xml file).  For an example of configuring a Maven 
proxy, see our installation docs at:
https://wiki.duraspace.org/display/DSDOC/Installation#Installation-ApacheMaven2.2.x%28Javabuildtool%29

(2) What version of Maven are you using?

Please note that building DSpace 1.7.2 currently requires Maven 2.2.x. 
Earlier or later versions of Maven may cause issues.  Again, see the 
install docs above.

(3) If you are running the proper version of Maven, you also may try to 
refresh your local maven cache by running the following.  This will just 
force your maven cache to refresh itself (in case something got messed 
up in your cache)

mvn -U clean package


(4) If none of this helps, then please re-run Maven using the '-e' 
(errors) flag, and send us the errors that it reports.  For example,

mvn -e package

Thanks,

- Tim

On 7/6/2011 7:52 AM, Lewatle Phaladi wrote:
 Hi

 In addition to what I have sent, here is part of server.xml file in maven,

 proxy

 idOptional/id

 activetrue/active

 protocolhttp/protocol

 hostourproxy.wits.ac.za/host

 port80/port

 usernamemyusername/username

 passwordmypassword/password

 nonProxyHosts/nonProxyHosts

 /proxy

 Your input is appreciated.

 Regards,

 Lewatle

 *From:*Lewatle Phaladi
 *Sent:* 06 July 2011 02:06 PM
 *To:* dspace-tech@lists.sourceforge.net
 *Subject:* Maven Errors

 Hi All

 I am installing dspace1.7.2 and I have this errors, can anyone give me
 idea with this errors.

 [INFO] BUILD FAILURE

 [INFO]
 

 [INFO] Total time: 13:10.929s

 [INFO] Finished at: Wed Jul 06 13:56:23 SAST 2011

 [INFO] Final Memory: 32M/60M

 [INFO]
 

 [ERROR] Failed to execute goal on project solr: Could not resolve
 dependencies for project org.dspace.modules:solr:war:1.7.2: Failed to
 collect dependencies for [org.dspace:dspace-solr:war:skinny:1.4.1.1
 (compile), org.dspace:dspace-solr:jar:classes:1.4.1.1 (compile),
 org.slf4j:slf4j-api:jar:1.5.6 (compile), org.slf4j:slf4j-jdk14:jar:1.5.6
 (compile), xalan:xalan:jar:2.7.0 (compile)]: Failed to read artifact
 descriptor for org.carrot2:carrot2-mini:jar:3.1.0: Could not transfer
 artifact org.carrot2:carrot2-mini:pom:3.1.0 from/to carrot2.org
 (http://download.carrot2.org/maven2/): Error transferring file: Server
 redirected too many times (20) - [Help 1]

 [ERROR]

 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.

 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

 [ERROR]

 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:

 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

 [ERROR]

 [ERROR] After correcting the problems, you can resume the build with the
 command

 [ERROR] mvn goals -rf :solr

 I have setup server.xml file in maven for proxy but I still receive this.

 Regards,

 Lewatle

 This communication is intended for the addressee only. It is
 confidential. If you have received this communication in error, please
 notify us immediately and destroy the original message. You may not copy
 or disseminate this communication without the permission of the
 University. Only authorized signatories are competent to enter into
 agreements on behalf of the University and recipients are thus advised
 that the content of this message may not be legally binding on the
 University and may contain the personal views and opinions of the
 author, which are not necessarily the views and opinions of The
 University of the Witwatersrand, Johannesburg. All agreements between
 the University and outsiders are subject to South African Law unless the
 University agrees in writing to the contrary.



 --
 All of the data generated in your IT infrastructure is seriously valuable.
 Why? It contains a definitive record of application performance, security
 threats, fraudulent activity, and more. Splunk takes this data and makes
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2d-c2



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net

[Dspace-tech] Maven BUILD ERROR - Problem with artifact

2011-05-22 Thread ylva gavel
Hello!

I am experiencing a problem when building DSpace with Maven today. (This used 
to work before). It seems like Maven has difficulties retrieving updates of 
artifact from a repository referred to as central (see output below). Is this 
a known problem?


[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   DSpace XML-UI (Manakin)
[INFO]   DSpace XML-UI (Manakin) :: Wing-Framework
[INFO]   DSpace Kernel :: API and Implementation
[INFO]   DSpace Solr Statistics Logging Client Library
[INFO]   DSpace XML-UI (Manakin) :: API and Core Aspects
[INFO]   DSpace UI :: Shared JS code
[INFO]   DSpace XML-UI (Manakin) :: Web Application Resources
[INFO]   DSpace Addon Modules
[INFO]   DSpace XML-UI (Manakin) :: Web Application
[INFO]   DSpace LNI
[INFO]   DSpace LNI :: Core Implementation
[INFO]   DSpace LNI :: Web Application Resources
[INFO]   DSpace LNI :: Web Application
[INFO]   DSpace OAI
[INFO]   DSpace OAI :: API and Implementation
[INFO]   DSpace OAI :: Web Application Resources
[INFO]   DSpace OAI :: Web Application
[INFO]   DSpace JSP-UI
[INFO]   DSpace JSP-UI :: API and Implementation
[INFO]   DSpace JSP-UI :: Web Application Resources
[INFO]   DSpace JSP-UI :: Web Application
[INFO]   DSpace SWORD
[INFO]   DSpace SWORD :: API and Implementation
[INFO]   DSpace SWORD :: Web Application Resources
[INFO]   DSpace SWORD :: Web Application
[INFO]   DSpace SOLR :: Web Application
[INFO]   DSpace LNI :: CLI Client Application
[INFO]   DSpace Assembly and Configuration
[INFO] 
[INFO] Building DSpace XML-UI (Manakin)
[INFO]task-segment: [package]
[INFO] 
[INFO] Ignoring available plugin update: 3.0-beta-3 as it requires Maven 
version 3.0
[INFO] Ignoring available plugin update: 3.0-beta-2 as it requires Maven 
version 3.0
[INFO] Ignoring available plugin update: 3.0-beta-1 as it requires Maven 
version 3.0
[INFO] Ignoring available plugin update: 2.2 as it requires Maven version 2.2.0
[INFO] Ignoring available plugin update: 2.1.1 as it requires Maven version 
2.1.0
[INFO] Ignoring available plugin update: 2.1 as it requires Maven version 2.1.0
[INFO] Ignoring available plugin update: 2.1 as it requires Maven version 2.0.9
[INFO] Ignoring available plugin update: 2.0 as it requires Maven version 2.0.9
[INFO] Ignoring available plugin update: 2.3.2 as it requires Maven version 
2.0.9
[INFO] Ignoring available plugin update: 2.3.1 as it requires Maven version 
2.0.9
[INFO] Ignoring available plugin update: 2.3 as it requires Maven version 2.0.9
[INFO] Ignoring available plugin update: 2.2 as it requires Maven version 2.0.9
[INFO] Ignoring available plugin update: 2.1 as it requires Maven version 2.0.9
[INFO] [site:attach-descriptor]
[INFO] 
[INFO] Building DSpace XML-UI (Manakin) :: Wing-Framework
[INFO]task-segment: [package]
[INFO] 
[INFO] Ignoring available plugin update: 2.8 as it requires Maven version 2.0.9
[INFO] Ignoring available plugin update: 2.7.2 as it requires Maven version 
2.0.9
[INFO] Ignoring available plugin update: 2.7.1 as it requires Maven version 
2.0.9
[INFO] Ignoring available plugin update: 2.7 as it requires Maven version 2.0.9
[INFO] Ignoring available plugin update: 2.6 as it requires Maven version 2.0.9
[INFO] Ignoring available plugin update: 2.5 as it requires Maven version 2.0.9
[debug] execute contextualize
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/data/dspace/dspacesource/ylva/dspace-1.6.0-src-release/dspace/../dspace-xmlui/dspace-xmlui-wing/src/main/resources
[INFO] [compiler:compile]
[INFO] Compiling 63 source files to 
/data/dspace/dspacesource/ylva/dspace-1.6.0-src-release/dspace/../dspace-xmlui/dspace-xmlui-wing/target/classes
[debug] execute contextualize
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/data/dspace/dspacesource/ylva/dspace-1.6.0-src-release/dspace/../dspace-xmlui/dspace-xmlui-wing/src/test/resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: 
/data/dspace/dspacesource/ylva/dspace-1.6.0-src-release/dspace/../dspace-xmlui/dspace-xmlui-wing/target/dspace-xmlui-wing-1.6.0.jar
[INFO] 
[INFO] Building DSpace Kernel :: API and Implementation
[INFO]task-segment: [package]
[INFO] 
[debug] execute contextualize
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
Downloading: 

[Dspace-tech] Maven Profiles

2011-03-09 Thread Pottinger, Hardy J.
Hi, I was wondering if anyone would be interested in sharing how they use Maven 
profiles in their DSpace development? We use them quite a bit in our 
development process, to facilitate builds to developer workspaces, and staging, 
and production. I'm thinking about this because I'm working on an upgrade to 
DSpace 1.7, as well as testing some alternate builds of DSpace, so I'm changing 
a few dspace.cfg files to work with our profiles... and it has me thinking that 
I may be doing it wrong... the big thing I change is, in a stock dspace.cfg 
file, I change all occurrences of:

{dspace

To

{default.dspace

So that our profiles can change those values. I also change other variables... 
Here's an excerpt from our profiles.xml file, so you can get an idea of what 
I'm up to:

profiles

!-- The Oracle profile below serves as a trigger, to force the use of 
Oracle info from
  the profiles further below. Without it, default info is included 
from the pom.xml
  and all other profiles are ignored. --

profile
idoracle/id
activation
property
namedb.name/name
valueoracle/value
/property
/activation
properties
default.db.nameoracle/default.db.name
default.db.driveroracle.jdbc.OracleDriver/default.db.driver
/properties
/profile

profile
idirsandbox/id
properties

default.dspace.dir/dspacepath/default.dspace.dir

default.dspace.baseUrlhttps://irsandbox.example.edu/default.dspace.baseUrl

default.dspace.urlhttps://irsandbox.example.edu/xmlui/default.dspace.url

default.dspace.hostnameirsandbox.example.edu/default.dspace.hostname
default.dspace.nameExample IRsandbox/default.dspace.name


default.db.urljdbc:oracle:thin:@oracledb.example.edu:1521:data/default.db.url
default.db.usernameexample/default.db.username
default.db.passwordfoobar!/default.db.password
default.db.maxconnections30/default.db.maxconnections

default.smtp.usernameexample/default.smtp.username
default.smtp.passwordfoobar!/default.smtp.password


default.assetstore.dir/path/to/assetstore/default.assetstore.dir

/properties

activation
  property
   nameirsandbox/name
  /property
/activation

   /profile

Anyhow, I'm curious to hear how you're using profiles, if you are. AND, if you 
see something in that example above that could be simplified or is just 
wrong-headed, please let me know. Thanks!

--
HARDY POTTINGER pottinge...@umsystem.edu
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
No matter how far down the wrong road you've gone,
turn back. --Turkish proverb 



--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Maven failure for 1.6.2

2011-01-19 Thread Jeffrey Trimble
I just attempted to compile and assemble 1.6.2 for an update.  I got the 
following at the end.  We are
running maven 2.0.9 and java 1.6  Do I need to probably upgrade maven?

[INFO] 
[INFO] Building DSpace XML-UI (Manakin) :: API and Core Aspects
[INFO]task-segment: [package]
[INFO] 
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] artifact org.dspace:dspace-api-lang: checking for updates from java.net
[INFO] artifact org.dspace:dspace-api-lang: checking for updates from central
[WARNING] repository metadata for: 'artifact org.dspace:dspace-api-lang' could 
not be retrieved from repository: central due to an error: Error transferring 
file
[INFO] Repository 'central' will be blacklisted
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

No versions are present in the repository for the artifact with a range 
[1.6.0.0,1.7.0.0)
  org.dspace:dspace-api-lang:jar:null

from the specified remote repositories:
  java.net (http://download.java.net/maven/2),
  maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
  central (http://repo1.maven.org/maven2)


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 40 seconds
[INFO] Finished at: Wed Jan 19 11:25:37 EST 2011
[INFO] Final Memory: 27M/49M
[INFO] 


Jeffrey Trimble
System LIbrarian
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jatrim...@ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
For he is the Kwisatz Haderach...


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven failure for 1.6.2

2011-01-19 Thread Jeffrey Trimble
Never mind...it seems that our internet here burped and cause the calamity.

Please ignore the man behind the curtain.

--Jeff

On Jan 19, 2011, at 11:29 AM, Jeffrey Trimble wrote:

 I just attempted to compile and assemble 1.6.2 for an update.  I got the 
 following at the end.  We are
 running maven 2.0.9 and java 1.6  Do I need to probably upgrade maven?
 
 [INFO] 
 
 [INFO] Building DSpace XML-UI (Manakin) :: API and Core Aspects
 [INFO]task-segment: [package]
 [INFO] 
 
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] artifact org.dspace:dspace-api-lang: checking for updates from java.net
 [INFO] artifact org.dspace:dspace-api-lang: checking for updates from central
 [WARNING] repository metadata for: 'artifact org.dspace:dspace-api-lang' 
 could not be retrieved from repository: central due to an error: Error 
 transferring file
 [INFO] Repository 'central' will be blacklisted
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Failed to resolve artifact.
 
 No versions are present in the repository for the artifact with a range 
 [1.6.0.0,1.7.0.0)
  org.dspace:dspace-api-lang:jar:null
 
 from the specified remote repositories:
  java.net (http://download.java.net/maven/2),
  maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
  central (http://repo1.maven.org/maven2)
 
 
 [INFO] 
 
 [INFO] For more information, run Maven with the -e switch
 [INFO] 
 
 [INFO] Total time: 40 seconds
 [INFO] Finished at: Wed Jan 19 11:25:37 EST 2011
 [INFO] Final Memory: 27M/49M
 [INFO] 
 
 
 
 Jeffrey Trimble
 System LIbrarian
 William F.  Maag Library
 Youngstown State University
 330.941.2483 (Office)
 jatrim...@ysu.edu
 http://www.maag.ysu.edu
 http://digital.maag.ysu.edu
 For he is the Kwisatz Haderach...
 
 
 --
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them. Understand 
 malware threats, the impact they can have on your business, and how you 
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

Jeffrey Trimble
System LIbrarian
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jatrim...@ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
For he is the Kwisatz Haderach...


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] maven still down?

2010-11-09 Thread Blanco, Jose
When do you think the build will be working again?

[INFO] Failed to resolve artifact.

Couldn't find a version in [1.7.0.1] to match range [1.6.0.0,1.7.0.0)
  org.dspace:dspace-api-lang:jar:null

from the specified remote repositories:
  java.net (http://download.java.net/maven/2),
  maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
  central (http://repo1.maven.org/maven2)


--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven eroor

2010-09-27 Thread Altaf Mahmud
Those links might have been blocked from your proxy. Click on the link or
try to download the file to see if it works.

Cheers,

2010/9/27 इन्‍दु भूषण Indu Bhushan indubhus...@gmail.com

 Dear all

 I m intalling dspace to new version to our new server but maven is showing
 following error. I also tried to give proxy, port, id and password to
 settings.xml  in maven but same proble is there.

 [dsp...@library dspace]$ mvn -v
 Apache Maven 2.2.1 (r801777; 2009-08-07 00:46:01+0530)
 Java version: 1.6.0_21
 Java home: /usr/local/jdk/jre
 Default locale: en_US, platform encoding: UTF-8
 OS name: linux version: 2.6.18-164.el5pae arch: i386 Family: unix
 [dsp...@library dspace]$ mvn package
 [INFO] Scanning for projects...
 [INFO] Reactor build order:
 [INFO]   DSpace Parent Project
 [INFO]   DSpace Kernel :: API and Implementation
 [INFO]   DSpace Solr Statistics Logging Client Library
 [INFO]   DSpace UI :: Shared JS code
 [INFO]   DSpace JSP-UI
 [INFO]   DSpace JSP-UI :: API and Implementation
 [INFO]   DSpace JSP-UI :: Web Application Resources
 [INFO]   DSpace XML-UI (Manakin)
 [INFO]   DSpace XML-UI (Manakin) :: Wing-Framework
 [INFO]   DSpace XML-UI (Manakin) :: API and Core Aspects
 [INFO]   DSpace XML-UI (Manakin) :: Web Application Resources
 [INFO]   DSpace LNI
 [INFO]   DSpace LNI :: Core Implementation
 [INFO]   DSpace LNI :: Web Application Resources
 [INFO]   DSpace LNI :: CLI Client Application
 [INFO]   DSpace OAI
 [INFO]   DSpace OAI :: API and Implementation
 [INFO]   DSpace OAI :: Web Application Resources
 [INFO]   DSpace SWORD
 [INFO]   DSpace SWORD :: API and Implementation
 [INFO]   DSpace SWORD :: Web Application Resources
 [INFO]   DSpace Addon Modules
 [INFO]   DSpace XML-UI (Manakin) :: Web Application
 [INFO]   DSpace LNI :: Web Application
 [INFO]   DSpace OAI :: Web Application
 [INFO]   DSpace JSP-UI :: Web Application
 [INFO]   DSpace SWORD :: Web Application
 [INFO]   DSpace SOLR :: Web Application
 [INFO]   DSpace Assembly and Configuration
 [INFO]
 
 [INFO] Building DSpace Parent Project
 [INFO]task-segment: [package]
 [INFO]
 
 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
 [WARNING] Unable to get resource
 'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from repository
 central (http://repo1.maven.org/maven2): Error transferring file: Network
 is unreachable
 Downloading:
 http://download.java.net/maven/2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
 [WARNING] Unable to get resource
 'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from repository
 java.net (http://download.java.net/maven/2): Error transferring file:
 Network is unreachable
 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
 [WARNING] Unable to get resource
 'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from repository
 central (http://repo1.maven.org/maven2): Error transferring file: Network
 is unreachable
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.apache.maven.plugins:maven-site-plugin

 Reason: POM 'org.apache.maven.plugins:maven-site-plugin' not found in
 repository: Unable to download the artifact from any repository

   org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7

 from the specified remote repositories:
   maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
   central (http://repo1.maven.org/maven2),
   java.net (http://download.java.net/maven/2)

  for project org.apache.maven.plugins:maven-site-plugin

 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 1 second
 [INFO] Finished at: Mon Sep 27 03:53:25 IST 2010
 [INFO] Final Memory: 4M/245M
 Wating for your prompt reply.

 With regards
 Indu Bhushan
 RRCAT, INDORE MP


 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Altaf Mahmud
System Programmer
Ayesha Abed Library,
BRAC University,
Bangladesh.

Re: [Dspace-tech] Maven eroor

2010-09-27 Thread Oriol Olivé Comadira. Biblioteca UdG

Hi Indu,

Do you have maven configuration in /etc/maven2/settings.xml like this?

proxies
proxy
idmyproxy/id
activetrue/active
protocolhttp/protocol
hostmyproxy.mydomain/host
portport/port
usernameproxyuser/username
passwordproxypass/password
nonProxyHostslocalhost/nonProxyHosts
/proxy
/proxies

This works for me.

Best,

Al 27/09/2010 12:28, En/na ??  Indu Bhushan ha escrit:

Dear all
I m intalling dspace to new version to our new server but maven is 
showing following error. I also tried to give proxy, port, id and 
password to settings.xml  in maven but same proble is there.

[dsp...@library dspace]$ mvn -v
Apache Maven 2.2.1 (r801777; 2009-08-07 00:46:01+0530)
Java version: 1.6.0_21
Java home: /usr/local/jdk/jre
Default locale: en_US, platform encoding: UTF-8
OS name: linux version: 2.6.18-164.el5pae arch: i386 Family: unix
[dsp...@library dspace]$ mvn package
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   DSpace Parent Project
[INFO]   DSpace Kernel :: API and Implementation
[INFO]   DSpace Solr Statistics Logging Client Library
[INFO]   DSpace UI :: Shared JS code
[INFO]   DSpace JSP-UI
[INFO]   DSpace JSP-UI :: API and Implementation
[INFO]   DSpace JSP-UI :: Web Application Resources
[INFO]   DSpace XML-UI (Manakin)
[INFO]   DSpace XML-UI (Manakin) :: Wing-Framework
[INFO]   DSpace XML-UI (Manakin) :: API and Core Aspects
[INFO]   DSpace XML-UI (Manakin) :: Web Application Resources
[INFO]   DSpace LNI
[INFO]   DSpace LNI :: Core Implementation
[INFO]   DSpace LNI :: Web Application Resources
[INFO]   DSpace LNI :: CLI Client Application
[INFO]   DSpace OAI
[INFO]   DSpace OAI :: API and Implementation
[INFO]   DSpace OAI :: Web Application Resources
[INFO]   DSpace SWORD
[INFO]   DSpace SWORD :: API and Implementation
[INFO]   DSpace SWORD :: Web Application Resources
[INFO]   DSpace Addon Modules
[INFO]   DSpace XML-UI (Manakin) :: Web Application
[INFO]   DSpace LNI :: Web Application
[INFO]   DSpace OAI :: Web Application
[INFO]   DSpace JSP-UI :: Web Application
[INFO]   DSpace SWORD :: Web Application
[INFO]   DSpace SOLR :: Web Application
[INFO]   DSpace Assembly and Configuration
[INFO] 


[INFO] Building DSpace Parent Project
[INFO]task-segment: [package]
[INFO] 

Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
[WARNING] Unable to get resource 
'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from 
repository central (http://repo1.maven.org/maven2): Error transferring 
file: Network is unreachable
Downloading: 
http://download.java.net/maven/2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
[WARNING] Unable to get resource 
'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from 
repository java.net http://java.net 
(http://download.java.net/maven/2): Error transferring file: Network 
is unreachable
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7/maven-site-plugin-2.0-beta-7.pom
[WARNING] Unable to get resource 
'org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7' from 
repository central (http://repo1.maven.org/maven2): Error transferring 
file: Network is unreachable
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-site-plugin

Reason: POM 'org.apache.maven.plugins:maven-site-plugin' not found in 
repository: Unable to download the artifact from any repository


  org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-7

from the specified remote repositories:
  maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
  central (http://repo1.maven.org/maven2),
java.net http://java.net (http://download.java.net/maven/2)

 for project org.apache.maven.plugins:maven-site-plugin


[INFO] 


[INFO] For more information, run Maven with the -e switch
[INFO] 


[INFO] Total time: 1 second
[INFO] Finished at: Mon Sep 27 03:53:25 IST 2010
[INFO] Final Memory: 4M/245M
Wating for your prompt reply.
With regards
Indu Bhushan
RRCAT, INDORE MP


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net

[Dspace-tech] maven error web(HTTP) proxy

2010-09-27 Thread इन्‍दु भूषण Indu Bhushan
Dear All

i m assembling DSpace 1.6.2  using maven 2.2.1. My server is not directly
connected to internet and it is connected to net via web(HTTP) proxy not by
socks proxy.

I tried to change settings.XML in maven for proxy use but is not working.

Now i want to download the dependencies and keeping them to .m2. How many
files and folder i will have to copy.
What are the URL for downloading the dependencies and what is the exact path
or .m2. will i create repository directory under .m2

Please help me.


With Regards

Indu Bhushan
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Maven Dependency

2009-07-25 Thread Hardik Mishra
Hello ,

For installing dspace1.5.2 , we do first step mvn.
So, all api's and files means package gets generated.
Then we do ant fresh_install.
and everything works fine.

My Problem Starts Now :

Now i have already built source.
Then i want to install it in a new environment where internet is not there.

I am changing build.dir in dspace.cfg to let say /dspace1

As i have already complete source , i am just doing ant fresh_isntall.

It takes the old path  /dspace not using /dspace1.

Is there anyway to change it or is it dependency of mvn package ?

please let me know and resolve my confusion.


-- 
Best Regards
Hardik Mishra
Jr. Software Engineer
Follow Us On Twitter : webinito
Webinito Networks
Give a man a fish, and you feed him for a day. Teach a man to catch fish and
you feed him for a lifetime.
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] maven problem

2009-05-02 Thread Zico
I am installing Dspace-1.5.1 in Debian-5.0. This is behind proxy. I have
changed the settings.xml according to my proxy. Here, my settings.xml is in
*/opt/apache-maven-2.0.9/conf . *When i ran mvn package in my
/opt/src/dspace-1.5.1-release/dspace/
then it can download packages from maven repository but *no test is
created /opr/src/dspace-1.5.1-release/dspace/

So, no dspace-1.5.0-build.dir has been created there. So, i cannot run
ant fresh_install there.


*
-- 
Best,
Zico
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven problem

2009-05-02 Thread Zico
On Sat, May 2, 2009 at 2:22 PM, Zico mailz...@gmail.com wrote:

 I am installing Dspace-1.5.1 in Debian-5.0. This is behind proxy. I have
 changed the settings.xml according to my proxy. Here, my settings.xml is in
 */opt/apache-maven-2.0.9/conf . *When i ran mvn package in my
 /opt/src/dspace-1.5.1-release/dspace/
 then it can download packages from maven repository but *no test is
 created /opr/src/dspace-1.5.1-release/dspace/

 So, no dspace-1.5.0-build.dir has been created there. So, i cannot run
 ant fresh_install there.
 *


Ok, i have solved this! Actually i put the port 80 instead 8080; that`s
why each and every packaged didn`t downloaded at that time. Now it`s ok.


-- 
Best,
Zico
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven problem

2009-04-21 Thread Panyarak Ngamsritragul

Dear Zico,

You have to edit the proxy section in /etc/maven2/settings.xml to point 
to your proxy server.  This is applicable if you are using Linux Ubuntu. 
If you are using other OS, you have to figure out where this file is.

Panyarak

On Tue, 21 Apr 2009, Zico wrote:

 I am trying to install dspace-1.5 behind a proxy in university. Here, i
 cannot execute the command mvn package. How can i solve this problem?


-- 
This message has been scanned for viruses and
dangerous content by MailScanner.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven problem

2009-04-21 Thread Zico
On Tue, Apr 21, 2009 at 3:39 PM, Panyarak Ngamsritragul
pa...@me.psu.ac.thwrote:


 Dear Zico,

 You have to edit the proxy section in /etc/maven2/settings.xml to point
 to your proxy server.  This is applicable if you are using Linux Ubuntu. If
 you are using other OS, you have to figure out where this file is.


I am using Debian 5.0 here.


-- 
Best,
Zico
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] maven problem

2009-04-21 Thread Zico
I am trying to install dspace-1.5 behind a proxy in university. Here, i
cannot execute the command mvn package. How can i solve this problem?

-- 
Best,
Zico
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven problem

2009-04-21 Thread Van Ly
Putting 'maven mvn proxy' in a search engine gives
 
 http://maven.apache.org/guides/mini/guide-proxies.html
-- Van Ly 


From: Zico [mailto:mailz...@gmail.com]
Sent: Tue 4/21/2009 7:24 PM
To: Tech DSpace
Subject: [Dspace-tech] maven problem

I am trying to install dspace-1.5 behind a proxy in university. Here, i cannot 
execute the command mvn package. How can i solve this problem? 

-- 
Best,
Zico

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven failure--resolved--questions remain

2009-04-17 Thread Mark Diggory
The maven warnings can be ignored, they are faily standard
boiler-plate with maven when building multi-modules mavne projects.

Cheer,
Mark

On Thu, Apr 16, 2009 at 10:06 AM, Jeffrey Trimble jtrim...@cc.ysu.edu wrote:
 For those who are paying attention, I've resolved the issues.
 --IBM had not delivered an up-to-date version of JAVA 6.  There are 4 APARs
 that had to be applied.
 --AIX is not able to untar the compressed dspace-1.5.1-src-release
  correctly.
 This was a little quagmire, that I eventually worked around.
 After  mvn package, I have the following warnings.  Are these important that
 I need to really resolve at this point? (They are out of context)
 [WARNING] The following patterns were never triggered in this artifact
 exclusion filter:
 o  'org.dspace:dspace-xmlui-lang'
 [WARNING] NOTE: Currently, inclusion of module dependencies may produce
 unpredictable results if a version conflict occurs.
 [WARNING] The following patterns were never triggered in this artifact
 exclusion filter:
 o  '*:war:*'

-- 
Mark R. Diggory
http://purl.org/net/mdiggory/homepage - Bio

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Maven failure--resolved--questions remain

2009-04-16 Thread Jeffrey Trimble

For those who are paying attention, I've resolved the issues.

--IBM had not delivered an up-to-date version of JAVA 6.  There are 4  
APARs

that had to be applied.
--AIX is not able to untar the compressed dspace-1.5.1-src-release   
correctly.

This was a little quagmire, that I eventually worked around.

After  mvn package, I have the following warnings.  Are these  
important that

I need to really resolve at this point? (They are out of context)

[WARNING] The following patterns were never triggered in this artifact  
exclusion filter:

o  'org.dspace:dspace-xmlui-lang'

[WARNING] NOTE: Currently, inclusion of module dependencies may  
produce unpredictable results if a version conflict occurs.


[WARNING] The following patterns were never triggered in this artifact  
exclusion filter:

o  '*:war:*'


Thanks in advance,

Jeffrey Trimble
System LIbrarian
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jtrim...@cc.ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Maven failure

2009-04-15 Thread Jeffrey Trimble
Well hells bells, I've run into a Maven failure.  Anyone want to take  
a look at this?  It's running on an AIX box.


Downloading: http://repo1.maven.org/maven2/org/apache/apache/4/apache-4.pom
4K downloaded
[INFO]  


[ERROR] FATAL ERROR
[INFO]  


[INFO] null
[INFO]  


[INFO] Trace
java.lang.ArrayIndexOutOfBoundsException
at java.util.ArrayList.contains(Unknown Source)
at  
org.apache.maven.project.ModelUtils.orderAfterMerge(ModelUtils.java:232)
at  
org.apache.maven.project.ModelUtils.mergePluginLists(ModelUtils.java: 
197)
at  
org 
.apache 
.maven 
.project 
.inheritance 
.DefaultModelInheritanceAssembler 
.assembleBuildInheritance(DefaultModelInheritanceAssembler.java:369)
at  
org 
.apache 
.maven 
.project 
.inheritance 
.DefaultModelInheritanceAssembler 
.assembleModelInheritance(DefaultModelInheritanceAssembler.java:168)
at  
org 
.apache 
.maven 
.project 
.inheritance 
.DefaultModelInheritanceAssembler 
.assembleModelInheritance(DefaultModelInheritanceAssembler.java:61)
at  
org 
.apache 
.maven 
.project 
.DefaultMavenProjectBuilder 
.buildInternal(DefaultMavenProjectBuilder.java:851)
at  
org 
.apache 
.maven 
.project 
.DefaultMavenProjectBuilder 
.buildFromRepository(DefaultMavenProjectBuilder.java:252)
at  
org 
.apache 
.maven 
.plugin 
.DefaultPluginManager 
.checkRequiredMavenVersion(DefaultPluginManager.java:265)
at  
org 
.apache 
.maven 
.plugin 
.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java: 
197)
at  
org 
.apache 
.maven 
.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java: 
1275)
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.getMojoDescriptor(DefaultLifecycleExecutor.java:1543)
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1034)
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.constructLifecycleMappings(DefaultLifecycleExecutor.java:998)
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor 
.executeTaskSegments(DefaultLifecycleExecutor.java:292)
at  
org 
.apache 
.maven 
.lifecycle 
.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
336)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at  
sun 
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 
45)
at  
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)

at java.lang.reflect.Method.invoke(Method.java:612)
at  
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at  
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]  


[INFO] Total time: 4 seconds
[INFO] Finished at: Wed Apr 15 07:31:51 GMT-05:00 2009
[INFO] Final Memory: 7M/18M
[INFO]  


$

Jeffrey Trimble
System LIbrarian
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jtrim...@cc.ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu



--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Maven and Overlays

2008-07-10 Thread Robert Roggenbuck
Hello all,

I would like to add a modification to my DSpace 1.5 (for fixing the 
language switch for the input forms - thanks to Keiji Suzuki). Following 
the steps described in the Wiki 
(http://wiki.dspace.org/index.php/BuildCookbook) but the modified 
classes seemed to be ignored during the build process.

That's my setup:
In fact I work with 3 DSpace directories: /opt/dspace ($DSPACE), 
/opt/dspace-1.5.0-release ($DS_REL) and /opt/dspace-1.5.0-src-release 
($DS_SRC). The $DS_REL is the part where I did all configurations. 
$DS_SRC I just added to get the Java sources to do my modifications. To 
do the overlay I placed the new classes beneath $DS_REL/dspace/modules/.
After successfully executing 'mvn package', 'ant init_configs', 'ant 
update' and restarting Tomcat nothing changed. :-(

Do I have to use $DS_SRC to apply overlays?
Do I have to copy / create some pom.xml and build.xml?
Do I have to do other things?

Hope someone can help...

Greetings

Robert

-- 

===
Robert Roggenbuck
Universitaetsbibliothek Osnabrueck
Germany
===

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Maven thems

2008-07-10 Thread Nitin Bhadauria
Hello All

I don't know the xml and css coding so can i find some ready thems that i
can use for my dspace.

If some buddy had one please send it to me.

Thakns
Nitin

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Maven repositories

2008-05-22 Thread Robin Taylor
A daft question but whats new - Would I be correct in thinking that in the
brave new Maven future software suppliers would make versions of their
software available via publicly accessible Maven repositories ? If that is
the case should we be pestering suppliers that don't currently do so, rather
than downloading jars and sticking them in our local repositories ?

Cheers, Robin. 


Robin Taylor
Main Library
University of Edinburgh
Tel. 0131 6506643 


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven repositories

2008-05-22 Thread James Rutherford
On Thu, May 22, 2008 at 01:23:55PM +, Robin Taylor wrote:
 A daft question but whats new - Would I be correct in thinking that in the
 brave new Maven future software suppliers would make versions of their
 software available via publicly accessible Maven repositories ? If that is
 the case should we be pestering suppliers that don't currently do so, rather
 than downloading jars and sticking them in our local repositories ?

It wouldn't hurt to ask :) Given that Ivy uses maven repositories for
dependency resolution as well, this is almost certainly the way of the
future.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Maven and multiple 1.5 source dirs

2008-05-16 Thread Blanco, Jose
I'm planning on having the 1.5 dspace code for 1.5 installed in multiple
directories pointing at a particular repository directory ( where
dspace.cfg lives and the assetstore).  For example:

/dspace-dev-source  using the /dsace-dev-repository
/dspace-prod-source using the /dspace-prod-repository
/dspace-blancoj-source  uinsg the /dspace-dev-repositoyr

This is the way I had things setup for 1.4.2.

Now that in 1.5 we are using maven, if I want to build the code for any
of these areas, I assume I just follow the instructions, and say I want
to build /dspace-dev-source, I do this:

  cd /dspace-dev-source/dspace/;
  mvn package
  
  cd /dspace-dev-source/dspace/target/dspace-1.5-build.dir/;
  ant -Dconfig=/dspace-dev-repository/config/dspace.cfg update

  and then move the webapp dir to the appropriate tomcat dir etc

I've done this just fine with one source directory, but when I have
multiple ones, is this the way it will work?

I also had to install a jar file for the the one source dir I worked on,
and I will need this jar file in the other source dirs, so I assume I
will have to do the same install for each source dir?

I will look around for some documentation on maven to try to better
understand it, but if any one knows of a good site, please let me know.

Thank you!
Jose

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven and multiple 1.5 source dirs

2008-05-16 Thread Mark Diggory

On May 16, 2008, at 7:26 AM, Blanco, Jose wrote:

 I'm planning on having the 1.5 dspace code for 1.5 installed in  
 multiple
 directories pointing at a particular repository directory ( where
 dspace.cfg lives and the assetstore).  For example:

 /dspace-dev-source  using the /dsace-dev-repository
 /dspace-prod-source using the /dspace-prod-repository
 /dspace-blancoj-source  uinsg the /dspace-dev-repositoyr

 This is the way I had things setup for 1.4.2.

 Now that in 1.5 we are using maven, if I want to build the code for  
 any
 of these areas, I assume I just follow the instructions, and say I  
 want
 to build /dspace-dev-source, I do this:

   cd /dspace-dev-source/dspace/;
   mvn package

   cd /dspace-dev-source/dspace/target/dspace-1.5-build.dir/;  
   ant -Dconfig=/dspace-dev-repository/config/dspace.cfg update

Yes, this will work initially... However, I recommend that  you'll  
even want o be maintaining your configs changes in that original / 
dspace-stage-source and that this would include your /dspace- 
stage-source/configs/dspace.cfg, if you do it this way, then you  
don't need the -Dconfig and instead you would run init_configs  
instead...

   cd /dspace-dev-source/dspace/target/dspace-1.5-build.dir/;  
   ant init_configs update

   and then move the webapp dir to the appropriate tomcat dir etc

why not just add a Host entry in your tomcat server.xml for each of  
your /dspace-stage-repository/webapps? Then you don't need to move  
anything.

 I've done this just fine with one source directory, but when I have
 multiple ones, is this the way it will work?

 I also had to install a jar file for the the one source dir I  
 worked on,
 and I will need this jar file in the other source dirs, so I assume I
 will have to do the same install for each source dir?

The same maven repository would be used in each build, so I assume  
you will be fine installing it once.

 I will look around for some documentation on maven to try to better
 understand it, but if any one knows of a good site, please let me  
 know.

I think your approach is sound. But I do fear you may find yourself  
moving changes back and forth between your stages an awful lot, and  
this may turn out to be arduous... Using a svn repository, branching  
and tagging, might save you from that pain of tracking your  
customizations across the stages.

Cheers,
Mark

~
Mark R. Diggory - DSpace Developer and Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology






-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven

2008-04-21 Thread Mark Diggory
Hello,

There is plenty of documentation about Maven on its website. http:// 
maven.apache.org/

You just need to install it in a directory somewhere and add the bin  
directory to the path, not unlike most applications.

Note: the first time Maven runs it download a number of dependencies  
from the central repository, expect to require an internet connection  
to use it (unlike Ant).

Cheers,
Mark

On Apr 21, 2008, at 6:20 AM, Jeffrey Trimble wrote:
 This may seem to be a stupid question, but here goes.  I've  
 downloaded Maven.  Is there anything
 besides placing the binaries in the correct directory I need to do  
 to make it work for Dspace?
 That is, do I need to do much configuration of Maven before I start  
 to build my DSpace installation
 with Maven?

 The Documentation is scant to say the least.

 --Jeff

 Jeffrey Trimble
 Systems Librarian
 Maag Library
 Youngstown State University
 330-941-2483 (Office)
 [EMAIL PROTECTED]
 http://www.maag.ysu.edu
 http://digital.maag.ysu.edu



 -- 
 ---
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save  
 $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http:// 
 java.sun.com/javaone___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech