Hi Folks,

I'm still struggling on this one. I've tried a few jdks and settled on 
java-1.5.0-sun. I've also got my out of memory messages sorted. So, I'll 
start again to explain the remaining problem.

>On this blog:
>http://mrhaki.blogspot.com/2008/09/running-cocoon-22-samples.html you can
>see step-by-step how to get the samples running.
>
>Regards,
>
>Job

So, I've checkedout the source code from:

http://svn.apache.org/repos/asf/cocoon/trunk.

When I run either "mvn -P allblocks install -Dmaven.test.skip=true" 
or "./build.sh clean install" I now get the error message as below.

If I look in my local repository I can see:
/home/peter/.m2/repository/org/apache/cocoon/cocoon-serializers-charsets/1.0.0-SNAPSHOT/
 maven-metadata-apache.snapshots.xml
 maven-metadata-gkossakowski-maven2.xml

and also:
/home/peter/.m2/repository/org/apache/cocoon/cocoon-serializers-charsets/1.0.1-SNAPSHOT/
 cocoon-serializers-charsets-1.0.1-SNAPSHOT.jar
 cocoon-serializers-charsets-1.0.1-SNAPSHOT.pom
 maven-metadata-local.xml

So, please advise best way to fix, or another approach to get Samples of 2.2 
working.

Many thanks,
Peter.

[INFO] ------------------------------------------------------------------------
[INFO] Building Portal Block Implementation
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 
directory 
/home/peter/Desktop/eclipse-workspace/trunk/blocks/cocoon-portal/cocoon-portal-impl/target
[INFO] Deleting 
directory 
/home/peter/Desktop/eclipse-workspace/trunk/blocks/cocoon-portal/cocoon-portal-impl/target/classes
[INFO] Deleting 
directory 
/home/peter/Desktop/eclipse-workspace/trunk/blocks/cocoon-portal/cocoon-portal-impl/target/test-classes
[INFO] Deleting 
directory 
/home/peter/Desktop/eclipse-workspace/trunk/blocks/cocoon-portal/cocoon-portal-impl/target/site
[INFO] [enforcer:enforce-once {execution: enforce-maven}]
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] Copying 7 resources
[INFO] Copying 2 resources to META-INF
Downloading: 
http://people.apache.org/~gkossakowski/maven2/repository/org/apache/cocoon/cocoon-serializers-charsets/1.0.0-SNAPSHOT/cocoon-serializers-charsets-1.0.0-SNAPSHOT.pom
[INFO] Unable to find 
resource 'org.apache.cocoon:cocoon-serializers-charsets:pom:1.0.0-SNAPSHOT' 
in repository gkossakowski-maven2 
(http://people.apache.org/~gkossakowski/maven2/repository)
Downloading: 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/cocoon/cocoon-serializers-charsets/1.0.0-SNAPSHOT/cocoon-serializers-charsets-1.0.0-SNAPSHOT.pom
[INFO] Unable to find 
resource 'org.apache.cocoon:cocoon-serializers-charsets:pom:1.0.0-SNAPSHOT' 
in repository apache.snapshots 
(http://people.apache.org/repo/m2-snapshot-repository)
Downloading: 
http://people.apache.org/~gkossakowski/maven2/repository/org/apache/cocoon/cocoon-serializers-charsets/1.0.0-SNAPSHOT/cocoon-serializers-charsets-1.0.0-SNAPSHOT.jar
[INFO] Unable to find 
resource 'org.apache.cocoon:cocoon-serializers-charsets:jar:1.0.0-SNAPSHOT' 
in repository gkossakowski-maven2 
(http://people.apache.org/~gkossakowski/maven2/repository)
Downloading: 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/cocoon/cocoon-serializers-charsets/1.0.0-SNAPSHOT/cocoon-serializers-charsets-1.0.0-SNAPSHOT.jar
[INFO] Unable to find 
resource 'org.apache.cocoon:cocoon-serializers-charsets:jar:1.0.0-SNAPSHOT' 
in repository apache.snapshots 
(http://people.apache.org/repo/m2-snapshot-repository)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.cocoon:cocoon-serializers-charsets:jar:1.0.0-SNAPSHOT

  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-serializers-charsets -Dversion=1.0.0-SNAPSHOT 
-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-serializers-charsets -Dversion=1.0.0-SNAPSHOT 
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.apache.cocoon:cocoon-portal-impl:jar:1.0.0-SNAPSHOT
        2) org.apache.cocoon:cocoon-serializers-charsets:jar:1.0.0-SNAPSHOT

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

for artifact:
  org.apache.cocoon:cocoon-portal-impl:jar:1.0.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  gkossakowski-maven2 
(http://people.apache.org/~gkossakowski/maven2/repository),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 8 seconds
[INFO] Finished at: Thu Nov 26 12:09:02 GMT 2009
[INFO] Final Memory: 172M/394M
[INFO] ------------------------------------------------------------------------
pe...@asus-p2:~/Desktop/eclipse-workspace/trunk$        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to