Note, you can't run individual builds in dspace-jspui/... because the required 
dspace-api and other dependencies that are part of the trunk.  This is one of 
the reasons I am advocating moving to separate apart the modules into 
individual versioned projects that are deployed to maven using a CI system. So 
that building/testing individual modules can run independently.  This is how 
things do work at this time with dspace-services and the other dspace-storage 
and other modules I have been creating lately. Each should be capable of being 
built independently (for instance as separate Eclipse or IDEA projects/modules).

Mark

On Jun 1, 2010, at 3:17 PM, Mark Diggory wrote:

> Pere,
> 
> where are you running test from? I don't believe these are deployed as 
> snapshots yet.  But I can do that if you need it ATM.
> 
> Mark
> 
> On Jun 1, 2010, at 2:59 PM, Pere Villega wrote:
> 
>> 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
> 
> Mark R. Diggory
> Head of U.S. Operations - @mire
> 
> http://www.atmire.com - Institutional Repository Solutions
> http://www.togather.eu - Before getting together, get t...@ther
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Dspace-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-devel

Mark R. Diggory
Head of U.S. Operations - @mire

http://www.atmire.com - Institutional Repository Solutions
http://www.togather.eu - Before getting together, get t...@ther

------------------------------------------------------------------------------

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

Reply via email to