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 <[email protected]> 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
> [email protected]
> 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.
> <ATT00001.c><ATT00002.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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech