You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mansour <ma...@yahoo.com> on 2008/02/08 23:26:53 UTC

Cocoon source build

What options do I have to build Cocoon from source?
I am using "mvn build allBlocks"
Is there any other option other than "allBlocks"?
BTW: It's failing with:

[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-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-pipeline-impl \
          -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests 
-Dpackaging=test-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-pipeline-impl \
          -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests 
-Dpackaging=test-jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) 
org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT
        2) 
org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-SNAPSHOT

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

for artifact:
  org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT

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


[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 28 seconds
[INFO] Finished at: Fri Feb 08 18:16:55 AST 2008
[INFO] Final Memory: 38M/63M



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon source build

Posted by Mansour <ma...@yahoo.com>.
Jason, the first issue is still there. I tried it few times today and 
still failing:

[INFO] Can't resolve artifact 
org.apache.cocoon:cocoon-rcl-webapp-wrapper:1.0.0-RC1-SNAPSHOT

Embedded error: Missing:
----------
1) org.apache.cocoon:cocoon-rcl-webapp-wrapper:jar:1.0.0-RC1-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-rcl-webapp-wrapper \
          -Dversion=1.0.0-RC1-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-rcl-webapp-wrapper \
          -Dversion=1.0.0-RC1-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) unspecified:unspecified:jar:0.0
        2) 
org.apache.cocoon:cocoon-rcl-webapp-wrapper:jar:1.0.0-RC1-SNAPSHOT

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

for artifact:
  unspecified:unspecified:jar:0.0

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

[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 10 minutes 29 seconds
[INFO] Finished at: Sun Feb 10 15:04:48 AST 2008
[INFO] Final Memory: 45M/63M


I don't know at this point if the idea of including the dependencies and 
use ant is justified !






Jason Johnston wrote:
> Mansour wrote:
>> I have deleted the whole .m2 directory and started over. Still 
>> there's an error.
>
> Well I can't reproduce this one.  The Nekohtml artifact is definitely 
> in the central repository.  The only thing I can suggest is that maybe 
> it was a temporary network issue and to try again.  If the issue 
> persists then maybe someone else will have some ideas.
>
>
>>
>> [INFO] 
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) nekohtml:nekohtml:jar:0.9.5
>>
>>  Try downloading the file manually from the project website.
>>
>>  Then, install it using the command:
>>      mvn install:install-file -DgroupId=nekohtml -DartifactId=nekohtml \
>>          -Dversion=0.9.5 -Dpackaging=jar -Dfile=/path/to/file
>> Alternatively, if you host your own repository you can deploy the 
>> file there:       mvn deploy:deploy-file -DgroupId=nekohtml 
>> -DartifactId=nekohtml \
>>          -Dversion=0.9.5 -Dpackaging=jar -Dfile=/path/to/file \
>>           -Durl=[url] -DrepositoryId=[id]
>>
>>  Path to dependency:
>>        1) org.apache.cocoon:cocoon-forms-impl:jar:1.1.0-SNAPSHOT
>>        2) org.outerj.daisy:daisy-htmlcleaner:jar:1.4.1
>>        3) nekohtml:nekohtml:jar:0.9.5
>>
>> ----------
>> 1 required artifact is missing.
>>
>> for artifact:
>>  org.apache.cocoon:cocoon-forms-impl:jar:1.1.0-SNAPSHOT
>>
>> from the specified remote repositories:
>>  apache.snapshots 
>> (http://people.apache.org/repo/m2-snapshot-repository),
>>  central (http://repo1.maven.org/maven2)
>>
>>
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Total time: 10 minutes 27 seconds
>> [INFO] Finished at: Sat Feb 09 20:23:41 AST 2008
>> [INFO] Final Memory: 42M/63M
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon source build

Posted by Jason Johnston <jj...@apache.org>.
Mansour wrote:
> I have deleted the whole .m2 directory and started over. Still there's 
> an error.

Well I can't reproduce this one.  The Nekohtml artifact is definitely in 
the central repository.  The only thing I can suggest is that maybe it 
was a temporary network issue and to try again.  If the issue persists 
then maybe someone else will have some ideas.


> 
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) nekohtml:nekohtml:jar:0.9.5
> 
>  Try downloading the file manually from the project website.
> 
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=nekohtml -DartifactId=nekohtml \
>          -Dversion=0.9.5 -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file 
> there:       mvn deploy:deploy-file -DgroupId=nekohtml 
> -DartifactId=nekohtml \
>          -Dversion=0.9.5 -Dpackaging=jar -Dfile=/path/to/file \
>           -Durl=[url] -DrepositoryId=[id]
> 
>  Path to dependency:
>        1) org.apache.cocoon:cocoon-forms-impl:jar:1.1.0-SNAPSHOT
>        2) org.outerj.daisy:daisy-htmlcleaner:jar:1.4.1
>        3) nekohtml:nekohtml:jar:0.9.5
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact:
>  org.apache.cocoon:cocoon-forms-impl:jar:1.1.0-SNAPSHOT
> 
> from the specified remote repositories:
>  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>  central (http://repo1.maven.org/maven2)
> 
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 10 minutes 27 seconds
> [INFO] Finished at: Sat Feb 09 20:23:41 AST 2008
> [INFO] Final Memory: 42M/63M

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon source build

Posted by Mansour <ma...@yahoo.com>.
I have deleted the whole .m2 directory and started over. Still there's 
an error.

[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) nekohtml:nekohtml:jar:0.9.5

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=nekohtml -DartifactId=nekohtml \
          -Dversion=0.9.5 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file 
there:       mvn deploy:deploy-file -DgroupId=nekohtml 
-DartifactId=nekohtml \
          -Dversion=0.9.5 -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.apache.cocoon:cocoon-forms-impl:jar:1.1.0-SNAPSHOT
        2) org.outerj.daisy:daisy-htmlcleaner:jar:1.4.1
        3) nekohtml:nekohtml:jar:0.9.5

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

for artifact:
  org.apache.cocoon:cocoon-forms-impl:jar:1.1.0-SNAPSHOT

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


[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 10 minutes 27 seconds
[INFO] Finished at: Sat Feb 09 20:23:41 AST 2008
[INFO] Final Memory: 42M/63M



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon source build

Posted by Jason Johnston <jj...@apache.org>.
Mansour wrote:
> Getting further but failing with a different error:
> 
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [WARNING] POM for 'org.apache.maven.surefire:surefire-junit:pom:2.3' is 
> invalid. It will be ignored for artifact resolution. Reason: Not a 
> v4.0.0 POM. for project org.apache.maven.surefire:surefire-junit at 
> /home/mansour/.m2/repository/org/apache/maven/surefire/surefire-junit/2.3/surefire-junit-2.3.pom 

"Not a v4.0.0 POM"?  Haven't seen that one before.  Maybe you got a 
corrupted copy of the surefire POM.  Try deleting your 
~/.m2/repository/org/apache/maven/surefire directory so it gets 
downloaded again.


> 
> [INFO] Surefire report directory: 
> /home/mansour/workspace/cocoon-src/trunk/core/cocoon-pipeline/cocoon-pipeline-api/target/surefire-reports 
> 
> org.apache.maven.surefire.booter.SurefireExecutionException: Unable to 
> instantiate and execute Surefire; nested exception is 
> java.lang.ClassNotFoundException: org.apache.maven.surefire.Surefire
> java.lang.ClassNotFoundException: org.apache.maven.surefire.Surefire
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at 
> org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:103) 
> 
>        at 
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:281) 
> 
>        at 
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) 
> 
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 27 seconds
> [INFO] Finished at: Sat Feb 09 16:53:29 AST 2008
> [INFO] Final Memory: 35M/63M
> [INFO] 
> ---------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon source build

Posted by Mansour <ma...@yahoo.com>.
Getting further but failing with a different error:

[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[WARNING] POM for 'org.apache.maven.surefire:surefire-junit:pom:2.3' is 
invalid. It will be ignored for artifact resolution. Reason: Not a 
v4.0.0 POM. for project org.apache.maven.surefire:surefire-junit at 
/home/mansour/.m2/repository/org/apache/maven/surefire/surefire-junit/2.3/surefire-junit-2.3.pom
[INFO] Surefire report directory: 
/home/mansour/workspace/cocoon-src/trunk/core/cocoon-pipeline/cocoon-pipeline-api/target/surefire-reports
org.apache.maven.surefire.booter.SurefireExecutionException: Unable to 
instantiate and execute Surefire; nested exception is 
java.lang.ClassNotFoundException: org.apache.maven.surefire.Surefire
java.lang.ClassNotFoundException: org.apache.maven.surefire.Surefire
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:103)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:281)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 27 seconds
[INFO] Finished at: Sat Feb 09 16:53:29 AST 2008
[INFO] Final Memory: 35M/63M
[INFO] 
------------------------------------------------------------------------





Jason Johnston wrote:
> The fix has been checked in.  Please update and see if your build 
> succeeds now.
>
>
> Mansour wrote:
>> Jason,
>> Yep, I am getting the same thing.
>> Thank you for helping.
>>
>>
>> Jason Johnston wrote:
>>> I was able to reproduce the error with that command.  The key was 
>>> clearing out the org/apache/cocoon area in my local repository.
>>>
>>> The problem is that by skipping the tests, maven doesn't produce the 
>>> test-jar artifacts which are needed later on by other modules' 
>>> tests. It seems like that shouldn't matter since the test-jar 
>>> dependencies are declared in test scope, so they shouldn't have to 
>>> resolve if you're skipping tests.  But I guess Maven doesn't handle 
>>> that properly.
>>>
>>> Anyway, if you remove the -Dmaven.test.skip=true you should get 
>>> further.  But currently I still get another error, caused by one of 
>>> the blocks requiring the rcl webapp wrapper from tools, before those 
>>> tools are built.  I'll bring this up on the dev list and hopefully 
>>> get it fixed asap.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon source build

Posted by Jason Johnston <jj...@apache.org>.
The fix has been checked in.  Please update and see if your build 
succeeds now.


Mansour wrote:
> Jason,
> Yep, I am getting the same thing.
> Thank you for helping.
> 
> 
> Jason Johnston wrote:
>> I was able to reproduce the error with that command.  The key was 
>> clearing out the org/apache/cocoon area in my local repository.
>>
>> The problem is that by skipping the tests, maven doesn't produce the 
>> test-jar artifacts which are needed later on by other modules' tests. 
>> It seems like that shouldn't matter since the test-jar dependencies 
>> are declared in test scope, so they shouldn't have to resolve if 
>> you're skipping tests.  But I guess Maven doesn't handle that properly.
>>
>> Anyway, if you remove the -Dmaven.test.skip=true you should get 
>> further.  But currently I still get another error, caused by one of 
>> the blocks requiring the rcl webapp wrapper from tools, before those 
>> tools are built.  I'll bring this up on the dev list and hopefully get 
>> it fixed asap.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon source build

Posted by Mansour <ma...@yahoo.com>.
Jason,
Yep, I am getting the same thing.
Thank you for helping.


Jason Johnston wrote:
> I was able to reproduce the error with that command.  The key was 
> clearing out the org/apache/cocoon area in my local repository.
>
> The problem is that by skipping the tests, maven doesn't produce the 
> test-jar artifacts which are needed later on by other modules' tests. 
> It seems like that shouldn't matter since the test-jar dependencies 
> are declared in test scope, so they shouldn't have to resolve if 
> you're skipping tests.  But I guess Maven doesn't handle that properly.
>
> Anyway, if you remove the -Dmaven.test.skip=true you should get 
> further.  But currently I still get another error, caused by one of 
> the blocks requiring the rcl webapp wrapper from tools, before those 
> tools are built.  I'll bring this up on the dev list and hopefully get 
> it fixed asap.
>
>
> Mansour wrote:
>> OK, I found it: " mvn install -Dmaven.test.skip=true "  for the 
>> minimum blocks. But it's still failing with the same error.
>>
>>
>> Ralph Goers wrote:
>>> Don't the instructions say to use "mvn -P allBlocks install"?
>>>
>>> Mansour wrote:
>>>> Sorry, it was a typo:
>>>> I am using "mvn install allBlocks"
>>>>
>>>>
>>>> Mansour wrote:
>>>>> What options do I have to build Cocoon from source?
>>>>> I am using "mvn build allBlocks"
>>>>> Is there any other option other than "allBlocks"?
>>>>> BTW: It's failing with:
>>>>>
>>>>> [INFO] Failed to resolve artifact.
>>>>>
>>>>> Missing:
>>>>> ----------
>>>>> 1) 
>>>>> org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-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-pipeline-impl \
>>>>>          -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests 
>>>>> -Dpackaging=test-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-pipeline-impl \
>>>>>          -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests 
>>>>> -Dpackaging=test-jar -Dfile=/path/to/file \
>>>>>           -Durl=[url] -DrepositoryId=[id]
>>>>>
>>>>>  Path to dependency:
>>>>>        1) 
>>>>> org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT
>>>>>        2) 
>>>>> org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-SNAPSHOT 
>>>>>
>>>>>
>>>>> ----------
>>>>> 1 required artifact is missing.
>>>>>
>>>>> for artifact:
>>>>>  org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT
>>>>>
>>>>> from the specified remote repositories:
>>>>>  apache.snapshots 
>>>>> (http://people.apache.org/repo/m2-snapshot-repository),
>>>>>  central (http://repo1.maven.org/maven2)
>>>>>
>>>>>
>>>>> [INFO] 
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>> [INFO] For more information, run Maven with the -e switch
>>>>> [INFO] 
>>>>> ------------------------------------------------------------------------ 
>>>>>
>>>>> [INFO] Total time: 28 seconds
>>>>> [INFO] Finished at: Fri Feb 08 18:16:55 AST 2008
>>>>> [INFO] Final Memory: 38M/63M
>>>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon source build

Posted by Jason Johnston <jj...@apache.org>.
I was able to reproduce the error with that command.  The key was 
clearing out the org/apache/cocoon area in my local repository.

The problem is that by skipping the tests, maven doesn't produce the 
test-jar artifacts which are needed later on by other modules' tests. 
It seems like that shouldn't matter since the test-jar dependencies are 
declared in test scope, so they shouldn't have to resolve if you're 
skipping tests.  But I guess Maven doesn't handle that properly.

Anyway, if you remove the -Dmaven.test.skip=true you should get further. 
  But currently I still get another error, caused by one of the blocks 
requiring the rcl webapp wrapper from tools, before those tools are 
built.  I'll bring this up on the dev list and hopefully get it fixed asap.


Mansour wrote:
> OK, I found it: " mvn install -Dmaven.test.skip=true "  for the minimum 
> blocks. But it's still failing with the same error.
> 
> 
> Ralph Goers wrote:
>> Don't the instructions say to use "mvn -P allBlocks install"?
>>
>> Mansour wrote:
>>> Sorry, it was a typo:
>>> I am using "mvn install allBlocks"
>>>
>>>
>>> Mansour wrote:
>>>> What options do I have to build Cocoon from source?
>>>> I am using "mvn build allBlocks"
>>>> Is there any other option other than "allBlocks"?
>>>> BTW: It's failing with:
>>>>
>>>> [INFO] Failed to resolve artifact.
>>>>
>>>> Missing:
>>>> ----------
>>>> 1) 
>>>> org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-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-pipeline-impl \
>>>>          -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests 
>>>> -Dpackaging=test-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-pipeline-impl \
>>>>          -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests 
>>>> -Dpackaging=test-jar -Dfile=/path/to/file \
>>>>           -Durl=[url] -DrepositoryId=[id]
>>>>
>>>>  Path to dependency:
>>>>        1) 
>>>> org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT
>>>>        2) 
>>>> org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-SNAPSHOT 
>>>>
>>>>
>>>> ----------
>>>> 1 required artifact is missing.
>>>>
>>>> for artifact:
>>>>  org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT
>>>>
>>>> from the specified remote repositories:
>>>>  apache.snapshots 
>>>> (http://people.apache.org/repo/m2-snapshot-repository),
>>>>  central (http://repo1.maven.org/maven2)
>>>>
>>>>
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>>
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO] 
>>>> ------------------------------------------------------------------------ 
>>>>
>>>> [INFO] Total time: 28 seconds
>>>> [INFO] Finished at: Fri Feb 08 18:16:55 AST 2008
>>>> [INFO] Final Memory: 38M/63M
>>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon source build

Posted by Mansour <ma...@yahoo.com>.
OK, I found it: " mvn install -Dmaven.test.skip=true "  for the minimum 
blocks. But it's still failing with the same error.


Ralph Goers wrote:
> Don't the instructions say to use "mvn -P allBlocks install"?
>
> Mansour wrote:
>> Sorry, it was a typo:
>> I am using "mvn install allBlocks"
>>
>>
>> Mansour wrote:
>>> What options do I have to build Cocoon from source?
>>> I am using "mvn build allBlocks"
>>> Is there any other option other than "allBlocks"?
>>> BTW: It's failing with:
>>>
>>> [INFO] Failed to resolve artifact.
>>>
>>> Missing:
>>> ----------
>>> 1) 
>>> org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-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-pipeline-impl \
>>>          -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests 
>>> -Dpackaging=test-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-pipeline-impl \
>>>          -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests 
>>> -Dpackaging=test-jar -Dfile=/path/to/file \
>>>           -Durl=[url] -DrepositoryId=[id]
>>>
>>>  Path to dependency:
>>>        1) 
>>> org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT
>>>        2) 
>>> org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-SNAPSHOT 
>>>
>>>
>>> ----------
>>> 1 required artifact is missing.
>>>
>>> for artifact:
>>>  org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT
>>>
>>> from the specified remote repositories:
>>>  apache.snapshots 
>>> (http://people.apache.org/repo/m2-snapshot-repository),
>>>  central (http://repo1.maven.org/maven2)
>>>
>>>
>>> [INFO] 
>>> ------------------------------------------------------------------------ 
>>>
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO] 
>>> ------------------------------------------------------------------------ 
>>>
>>> [INFO] Total time: 28 seconds
>>> [INFO] Finished at: Fri Feb 08 18:16:55 AST 2008
>>> [INFO] Final Memory: 38M/63M
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>> For additional commands, e-mail: users-help@cocoon.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon source build

Posted by Ralph Goers <Ra...@dslextreme.com>.
Don't the instructions say to use "mvn -P allBlocks install"?

Mansour wrote:
> Sorry, it was a typo:
> I am using "mvn install allBlocks"
>
>
> Mansour wrote:
>> What options do I have to build Cocoon from source?
>> I am using "mvn build allBlocks"
>> Is there any other option other than "allBlocks"?
>> BTW: It's failing with:
>>
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) 
>> org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-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-pipeline-impl \
>>          -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests 
>> -Dpackaging=test-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-pipeline-impl \
>>          -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests 
>> -Dpackaging=test-jar -Dfile=/path/to/file \
>>           -Durl=[url] -DrepositoryId=[id]
>>
>>  Path to dependency:
>>        1) 
>> org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT
>>        2) 
>> org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-SNAPSHOT
>>
>> ----------
>> 1 required artifact is missing.
>>
>> for artifact:
>>  org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT
>>
>> from the specified remote repositories:
>>  apache.snapshots 
>> (http://people.apache.org/repo/m2-snapshot-repository),
>>  central (http://repo1.maven.org/maven2)
>>
>>
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Total time: 28 seconds
>> [INFO] Finished at: Fri Feb 08 18:16:55 AST 2008
>> [INFO] Final Memory: 38M/63M
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon source build

Posted by Mansour <ma...@yahoo.com>.
Sorry, it was a typo:
I am using "mvn install allBlocks"


Mansour wrote:
> What options do I have to build Cocoon from source?
> I am using "mvn build allBlocks"
> Is there any other option other than "allBlocks"?
> BTW: It's failing with:
>
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) 
> org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-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-pipeline-impl \
>          -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests 
> -Dpackaging=test-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-pipeline-impl \
>          -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests 
> -Dpackaging=test-jar -Dfile=/path/to/file \
>           -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) 
> org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT
>        2) 
> org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>  org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT
>
> from the specified remote repositories:
>  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>  central (http://repo1.maven.org/maven2)
>
>
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 28 seconds
> [INFO] Finished at: Fri Feb 08 18:16:55 AST 2008
> [INFO] Final Memory: 38M/63M
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org