[Dspace-tech] Dspace Eclipse Configuration Error

2010-06-05 Thread Hardik Mishra
I got this error in Eclipse , Maven configuration.

I have checked in back , there is no
dspace-parent\1.5.2\dspace-parent-1.5.2.pom hierarchy at

C:\Documents and
Settings\Hardik\.m2\repository\org\dspace\dspace-parent\1.5.2\dspace-parent-1.5.2.pom

It has,

C:\Documents and Settings\Hardik\.m2\repository\org\dspace\dspace-api-lang
and many more...


[INFO] Scanning for projects...
[ERROR] The build could not read 3 projects - [Help 1]
[ERROR]   The project org.dspace:modules:1.5.2
(E:\workspace\dspace-1.5.2\dspace\modules\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM org.dspace:dspace-parent:1.5.2 for
org.dspace:modules:1.5.2: Failed to resolve POM for
org.dspace:dspace-parent:1.5.2 due to The repository system is offline and
the requested artifact is not locally available at C:\Documents and
Settings\Hardik\.m2\repository\org\dspace\dspace-parent\1.5.2\dspace-parent-1.5.2.pom
  org.dspace:dspace-parent:pom:1.5.2

from the specified remote repositories:
  maven.dspace.org-snapshot (http://maven.dspace.org/snapshot,
releases=false, snapshots=true),
  central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
- [Help 2]
[ERROR]   The project org.dspace:dspace-sword-api:1.5.2
(E:\workspace\dspace-1.5.2\dspace-sword\dspace-sword-api\pom.xml) has 2
errors
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: javax.servlet:servlet-api:jar - version (?) vs 2.4
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: xom:xom:jar - duplicate declaration of version 1.1
[ERROR]   The project org.dspace:dspace-sword-api:1.5.2
(E:\workspace\dspace-1.5.2\dspace-sword\dspace-sword-api\pom.xml) has 2
errors
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: javax.servlet:servlet-api:jar - version (?) vs 2.4
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: xom:xom:jar - duplicate declaration of version 1.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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



Thanks   Regards
Hardik Mishra
Software Engineer

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.
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace Eclipse Configuration Error

2010-06-05 Thread Sands Alden Fish
Hi Hardik,

What SVN URL did you check out your 1.5.2 source code from?

It appears that your modules POM is requiring a release version of 
dspace-parent:1.5.2, but the repository definition for 
maven.dspace.orghttp://maven.dspace.org has release artifacts turned off, and 
only snapshots turned on.

I'm curious to know what tag you checked out to see if it is a problem with the 
distribution or something that was changed after the fact.


--
sands fish
Software Engineer
MIT Libraries
Technology Research  Development
sa...@mit.edumailto:sa...@mit.edu
E25-131




On Jun 5, 2010, at 4:09 AM, Hardik Mishra wrote:


I got this error in Eclipse , Maven configuration.

I have checked in back , there is no 
dspace-parent\1.5.2\dspace-parent-1.5.2.pom hierarchy at

C:\Documents and 
Settings\Hardik\.m2\repository\org\dspace\dspace-parent\1.5.2\dspace-parent-1.5.2.pom

It has,

C:\Documents and Settings\Hardik\.m2\repository\org\dspace\dspace-api-lang and 
many more...


[INFO] Scanning for projects...
[ERROR] The build could not read 3 projects - [Help 1]
[ERROR]   The project org.dspace:modules:1.5.2 
(E:\workspace\dspace-1.5.2\dspace\modules\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM org.dspace:dspace-parent:1.5.2 for 
org.dspace:modules:1.5.2: Failed to resolve POM for 
org.dspace:dspace-parent:1.5.2 due to The repository system is offline and the 
requested artifact is not locally available at C:\Documents and 
Settings\Hardik\.m2\repository\org\dspace\dspace-parent\1.5.2\dspace-parent-1.5.2.pom
  org.dspace:dspace-parent:pom:1.5.2

from the specified remote repositories:
  maven.dspace.org-snapshot (http://maven.dspace.org/snapshot, releases=false, 
snapshots=true),
  central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
- [Help 2]
[ERROR]   The project org.dspace:dspace-sword-api:1.5.2 
(E:\workspace\dspace-1.5.2\dspace-sword\dspace-sword-api\pom.xml) has 2 errors
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: javax.servlet:servlet-api:jar - version (?) vs 2.4
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: xom:xom:jar - duplicate declaration of version 1.1
[ERROR]   The project org.dspace:dspace-sword-api:1.5.2 
(E:\workspace\dspace-1.5.2\dspace-sword\dspace-sword-api\pom.xml) has 2 errors
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: javax.servlet:servlet-api:jar - version (?) vs 2.4
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: xom:xom:jar - duplicate declaration of version 1.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/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



Thanks   Regards
Hardik Mishra
Software Engineer

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.
ATT1.cATT2.c

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace Eclipse Configuration Error

2010-06-05 Thread Hardik Mishra
Hi

Before configuring Eclipse with Dspace , I was using Dspace 1.5.2 which has
dependency files at .m2 location.

I checked there , I have no idea what else could be the problem

SVN URL : https://dspace.svn.sourceforge.net/svnroot/dspace

for Dspace source


Thanks   Regards
Hardik Mishra
Software Engineer

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.


On Sat, Jun 5, 2010 at 3:51 PM, Sands Alden Fish sa...@mit.edu wrote:

 Hi Hardik,

 What SVN URL did you check out your 1.5.2 source code from?

 It appears that your modules POM is requiring a release version of
 dspace-parent:1.5.2, but the repository definition for maven.dspace.orghas 
 release artifacts turned off, and only snapshots turned on.

 I'm curious to know what tag you checked out to see if it is a problem with
 the distribution or something that was changed after the fact.


 --
 sands fish
 Software Engineer
 MIT Libraries
 Technology Research  Development
 sa...@mit.edu
 E25-131




 On Jun 5, 2010, at 4:09 AM, Hardik Mishra wrote:


 I got this error in Eclipse , Maven configuration.

 I have checked in back , there is no
 dspace-parent\1.5.2\dspace-parent-1.5.2.pom hierarchy at

 C:\Documents and
 Settings\Hardik\.m2\repository\org\dspace\dspace-parent\1.5.2\dspace-parent-1.5.2.pom

 It has,

 C:\Documents and Settings\Hardik\.m2\repository\org\dspace\dspace-api-lang
 and many more...


 [INFO] Scanning for projects...
 [ERROR] The build could not read 3 projects - [Help 1]
 [ERROR]   The project org.dspace:modules:1.5.2
 (E:\workspace\dspace-1.5.2\dspace\modules\pom.xml) has 1 error
 [ERROR] Non-resolvable parent POM org.dspace:dspace-parent:1.5.2 for
 org.dspace:modules:1.5.2: Failed to resolve POM for
 org.dspace:dspace-parent:1.5.2 due to The repository system is offline and
 the requested artifact is not locally available at C:\Documents and
 Settings\Hardik\.m2\repository\org\dspace\dspace-parent\1.5.2\dspace-parent-1.5.2.pom
   org.dspace:dspace-parent:pom:1.5.2

 from the specified remote repositories:
   maven.dspace.org-snapshot (http://maven.dspace.org/snapshot,
 releases=false, snapshots=true),
   central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
 - [Help 2]
 [ERROR]   The project org.dspace:dspace-sword-api:1.5.2
 (E:\workspace\dspace-1.5.2\dspace-sword\dspace-sword-api\pom.xml) has 2
 errors
 [ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
 must be unique: javax.servlet:servlet-api:jar - version (?) vs 2.4
 [ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
 must be unique: xom:xom:jar - duplicate declaration of version 1.1
 [ERROR]   The project org.dspace:dspace-sword-api:1.5.2
 (E:\workspace\dspace-1.5.2\dspace-sword\dspace-sword-api\pom.xml) has 2
 errors
 [ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
 must be unique: javax.servlet:servlet-api:jar - version (?) vs 2.4
 [ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
 must be unique: xom:xom:jar - duplicate declaration of version 1.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/ProjectBuildingException
 [ERROR] [Help 2]
 http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



 Thanks   Regards
 Hardik Mishra
 Software Engineer

 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.
 ATT1.cATT2.c



--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace Eclipse Configuration Error

2010-06-05 Thread Sands Alden Fish
Hardik,

That is the top level of SVN.  Is that to say that you are checking out the 
top-level trunk at https://dspace.svn.sourceforge.net/svnroot/dspace ?  We need 
to narrow it down to a specific release.  DSpace 1.5.2 can be had from these 
locations, if it's not the trunk:

  https://dspace.svn.sourceforge.net/svnroot/dspace/tags/dspace-1.5.2/

  https://dspace.svn.sourceforge.net/svnroot/dspace/branches/dspace-1_5_x/

Also, for future use, current management of the code-base has moved here:

  http://scm.dspace.org/svn/repo/dspace/



--
sands fish
Software Engineer
MIT Libraries
Technology Research  Development
sa...@mit.edumailto:sa...@mit.edu
E25-131




On Jun 5, 2010, at 8:33 AM, Hardik Mishra wrote:

Hi

Before configuring Eclipse with Dspace , I was using Dspace 1.5.2 which has 
dependency files at .m2 location.

I checked there , I have no idea what else could be the problem

SVN URL : https://dspace.svn.sourceforge.net/svnroot/dspace

for Dspace source


Thanks   Regards
Hardik Mishra
Software Engineer

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.


On Sat, Jun 5, 2010 at 3:51 PM, Sands Alden Fish 
sa...@mit.edumailto:sa...@mit.edu wrote:
Hi Hardik,

What SVN URL did you check out your 1.5.2 source code from?

It appears that your modules POM is requiring a release version of 
dspace-parent:1.5.2, but the repository definition for 
maven.dspace.orghttp://maven.dspace.org/ has release artifacts turned off, 
and only snapshots turned on.

I'm curious to know what tag you checked out to see if it is a problem with the 
distribution or something that was changed after the fact.


--
sands fish
Software Engineer
MIT Libraries
Technology Research  Development
sa...@mit.edumailto:sa...@mit.edu
E25-131




On Jun 5, 2010, at 4:09 AM, Hardik Mishra wrote:


I got this error in Eclipse , Maven configuration.

I have checked in back , there is no 
dspace-parent\1.5.2\dspace-parent-1.5.2.pom hierarchy at

C:\Documents and 
Settings\Hardik\.m2\repository\org\dspace\dspace-parent\1.5.2\dspace-parent-1.5.2.pom

It has,

C:\Documents and Settings\Hardik\.m2\repository\org\dspace\dspace-api-lang and 
many more...


[INFO] Scanning for projects...
[ERROR] The build could not read 3 projects - [Help 1]
[ERROR]   The project org.dspace:modules:1.5.2 
(E:\workspace\dspace-1.5.2\dspace\modules\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM org.dspace:dspace-parent:1.5.2 for 
org.dspace:modules:1.5.2: Failed to resolve POM for 
org.dspace:dspace-parent:1.5.2 due to The repository system is offline and the 
requested artifact is not locally available at C:\Documents and 
Settings\Hardik\.m2\repository\org\dspace\dspace-parent\1.5.2\dspace-parent-1.5.2.pom
  org.dspace:dspace-parent:pom:1.5.2

from the specified remote repositories:
  maven.dspace.org-snapshot (http://maven.dspace.org/snapshot, releases=false, 
snapshots=true),
  central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
- [Help 2]
[ERROR]   The project org.dspace:dspace-sword-api:1.5.2 
(E:\workspace\dspace-1.5.2\dspace-sword\dspace-sword-api\pom.xml) has 2 errors
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: javax.servlet:servlet-api:jar - version (?) vs 2.4
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: xom:xom:jar - duplicate declaration of version 1.1
[ERROR]   The project org.dspace:dspace-sword-api:1.5.2 
(E:\workspace\dspace-1.5.2\dspace-sword\dspace-sword-api\pom.xml) has 2 errors
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: javax.servlet:servlet-api:jar - version (?) vs 2.4
[ERROR] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: xom:xom:jar - duplicate declaration of version 1.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/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException



Thanks   Regards
Hardik Mishra
Software Engineer

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.
ATT1.cATT2.c



--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech