Hi Sean,
Where did you download DSpace 3.2 from? Was it the zip package from
SourceForge, or did you "clone" it from GitHub?
It almost sounds like you are accidentally attempting to build the
"master" code (unstable, pre-4.0) from GitHub, instead of building the
DSpace 3.2 release. If you are attempting to build the code from
GitHub, you should make sure to checkout the "dspace-3.2" tag for the
DSpace 3.2 stable release.
If this is unclear, just ask...we'd be glad to try and help clarify as
needed.
- Tim
On 7/31/2013 4:08 PM, Sean Zhao wrote:
> Hello All
>
> I am trying to upgrade from 3.1 to 3.2, and after merging, I am trying
> to compile when this error appears:
>
> [INFO] Building DSpace Kernel :: Additions and Local Customizations
>
> [INFO] task-segment: [clean, package]
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] [clean:clean {execution: default-clean}]
>
> [INFO] Deleting directory
> /var/www/dspace-3.2-source/dspace/modules/additions/target
>
> [INFO] snapshot org.dspace:dspace-api:4.0-SNAPSHOT: checking for updates
> from sonatype-releases
>
> [INFO] snapshot org.dspace:dspace-api:4.0-SNAPSHOT: checking for updates
> from sonatype-nexus-snapshots
>
> Downloading:
> http://oss.sonatype.org/content/repositories/releases//org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.pom
> <http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.pom>
>
> [INFO] Unable to find resource 'org.dspace:dspace-api:pom:4.0-SNAPSHOT'
> in repository sonatype-releases
> (http://oss.sonatype.org/content/repositories/releases/)
>
> Downloading:
> https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.pom
>
> [INFO] Unable to find resource 'org.dspace:dspace-api:pom:4.0-SNAPSHOT'
> in repository sonatype-nexus-snapshots
> (https://oss.sonatype.org/content/repositories/snapshots)
>
> [INFO] artifact org.dspace:dspace-api-lang: checking for updates from
> sonatype-releases
>
> [INFO] artifact org.dspace:dspace-api-lang: checking for updates from
> central
>
> Downloading:
> http://oss.sonatype.org/content/repositories/releases//org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.jar
> <http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.jar>
>
> [INFO] Unable to find resource 'org.dspace:dspace-api:jar:4.0-SNAPSHOT'
> in repository sonatype-releases
> (http://oss.sonatype.org/content/repositories/releases/)
>
> Downloading:
> https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.jar
>
> [INFO] Unable to find resource 'org.dspace:dspace-api:jar:4.0-SNAPSHOT'
> in repository sonatype-nexus-snapshots
> (https://oss.sonatype.org/content/repositories/snapshots)
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD ERROR
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Failed to resolve artifact.
>
> Missing:
>
> ----------
>
> 1) org.dspace:dspace-api:jar:4.0-SNAPSHOT
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>
> mvn install:install-file -DgroupId=org.dspace
> -DartifactId=dspace-api -Dversion=4.0-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
>
> I feel this is related to misconfiguration, and the suggested download
> is not necessary.
>
> If anyone got any idea what’s going on here, that will be much appreciated.
>
> Thanks in advance.
>
> Sean Zhao |Information Technology Services| (416) 946 0114
>
> Standardized Email Signature_96dpi
>
>
>
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette