Hi,

when running "mvn test" on Dspace 1.6.1 (copy from trunk) you get the
following error (previous output removed):

[INFO] Building DSpace JSP-UI :: Web Application Resources
[INFO]    task-segment: [test]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
Downloading:
http://maven.dspace.org/snapshot/org/dspace/dspace-ui-shared/1.6.1-SNAPSHOT/dspace-ui-shared-1.6.1-SNAPSHOT.war
[INFO] Unable to find resource
'org.dspace:dspace-ui-shared:war:1.6.1-SNAPSHOT' in repository
maven.dspace.org-snapshot (http://maven.dspace.org/snapshot)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.dspace:dspace-ui-shared:war:1.6.1-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-ui-shared -Dversion=1.6.1-SNAPSHOT -Dpackaging=war
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.dspace
-DartifactId=dspace-ui-shared -Dversion=1.6.1-SNAPSHOT -Dpackaging=war
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.dspace:dspace-jspui-webapp:war:1.6.1-SNAPSHOT
        2) org.dspace:dspace-ui-shared:war:1.6.1-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
  org.dspace:dspace-jspui-webapp:war:1.6.1-SNAPSHOT

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)


The package org.dspace:dspace-ui-shared:war:1.6.1-SNAPSHOT is not available
in the Maven repository as far as I've seen, only 1.6.0 available, and this
causes the error

Building with "mvn package" works fine (that's why I took a bit to detect
it)

Best regards,
Pere Villega
------------------------------------------------------------------------------

_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to