2009/6/24 Jason Stirnaman <[email protected]>:
> Sean,
> Just wondering if you've made any progress with this?
>
> Jason
I tried using cocoon 3 (as that appears to be the only development
version) by editing
dspace-xmlui/dspace-xmlui-wing/pom.xml
changing:
<dependency>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-core</artifactId>
<version>2.2.0</version>
</dependency>
to:
<dependency>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-core</artifactId>
<version>3.0.0-alpha-1</version>
</dependency>
But maven didn't like that:
Downloading:
http://repo1.maven.org/maven2/org/apache/cocoon/cocoon-core/3.0.0-alpha-1/cocoon-core-3.0.0-alpha-1.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/cocoon/cocoon-core/3.0.0-alpha-1/cocoon-core-3.0.0-alpha-1.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.cocoon:cocoon-core:jar:3.0.0-alpha-1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.cocoon
-DartifactId=cocoon-core -Dversion=3.0.0-alpha-1 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.cocoon
-DartifactId=cocoon-core -Dversion=3.0.0-alpha-1 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.dspace:dspace-xmlui-wing:jar:1.5.2
2) org.apache.cocoon:cocoon-core:jar:3.0.0-alpha-1
----------
1 required artifact is missing.Downloading:
http://repo1.maven.org/maven2/org/apache/cocoon/cocoon-core/3.0.0-alpha-1/cocoon-core-3.0.0-alpha-1.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/cocoon/cocoon-core/3.0.0-alpha-1/cocoon-core-3.0.0-alpha-1.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.cocoon:cocoon-core:jar:3.0.0-alpha-1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.cocoon
-DartifactId=cocoon-core -Dversion=3.0.0-alpha-1 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.cocoon
-DartifactId=cocoon-core -Dversion=3.0.0-alpha-1 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.dspace:dspace-xmlui-wing:jar:1.5.2
2) org.apache.cocoon:cocoon-core:jar:3.0.0-alpha-1
----------
1 required artifact is missing.
for artifact:
org.dspace:dspace-xmlui-wing:jar:1.5.2
from the specified remote repositories:
maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
central (http://repo1.maven.org/maven2)
for artifact:
org.dspace:dspace-xmlui-wing:jar:1.5.2
from the specified remote repositories:
maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
central (http://repo1.maven.org/maven2)
I did try downloading manually, but the
cocoon-all-3.0.0-alpha-1.tar.gz file doesn't contain
cocoon-core-3.0.0-alpha-1.jar
$ find cocoon-all-3.0.0-alpha-1/ -name "*.jar"
cocoon-all-3.0.0-alpha-1/lib/cocoon-sitemap-3.0.0-alpha-1.jar
cocoon-all-3.0.0-alpha-1/lib/cocoon-servlet-3.0.0-alpha-1.jar
cocoon-all-3.0.0-alpha-1/lib/cocoon-rest-3.0.0-alpha-1.jar
cocoon-all-3.0.0-alpha-1/lib/cocoon-stringtemplate-3.0.0-alpha-1.jar
cocoon-all-3.0.0-alpha-1/lib/cocoon-pipeline-3.0.0-alpha-1.jar
cocoon-all-3.0.0-alpha-1/lib/cocoon-controller-3.0.0-alpha-1.jar
So I guess I'm stuck with a busy server restarting every hour until
someone who actually knows what s/he's doing has a go at this.
Sean
--
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech