>
> Martin Heiden wrote:
>>
>> yosauron schrieb:
>>> I've tried to compile without using tests. I've used this sentence:
>>> %./build.sh -Dmave.test.skip=true install
>>>
>>
>> There's a typo in your command:
>>
>> It should be:
>> mvn -Dmaven.test.skip=true install
>>
>> See
>>
>> http://maven.apache.org/plugins/maven-surefire-plugin/examples/skipping-test.html
>>
>> for reference.
>>
>> Good luck!
>>
>> Martin
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
I've run the sentence that you told me, and I got the same error :(. Do you
have any idea?
Thanks.
The error was:
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Cocoon Servlet Service Components
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [enforcer:enforce-once {execution: enforce-maven}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading:
> http://people.apache.org/~gkossakowski/maven2/repository/org/apache/cocoon/cocoon-core/2.2.1-SNAPSHOT/cocoon-core-2.2.1-SNAPSHOT-tests.jar
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/cocoon/cocoon-core/2.2.1-SNAPSHOT/cocoon-core-2.2.1-SNAPSHOT-tests.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.cocoon:cocoon-core:test-jar:tests:2.2.1-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-core -Dversion=2.2.1-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-core -Dversion=2.2.1-SNAPSHOT -Dclassifier=tests
> -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1)
> org.apache.cocoon:cocoon-servlet-service-components:jar:1.1.0-SNAPSHOT
> 2) org.apache.cocoon:cocoon-core:test-jar:tests:2.2.1-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.apache.cocoon:cocoon-servlet-service-components:jar:1.1.0-SNAPSHOT
>
> from the specified remote repositories:
> gkossakowski-maven2
> (http://people.apache.org/~gkossakowski/maven2/repository),
> 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: 3 minutes 40 seconds
> [INFO] Finished at: Mon Sep 01 13:55:48 CEST 2008
> [INFO] Final Memory: 99M/178M
> [INFO]
> ------------------------------------------------------------------------
>
--
View this message in context:
http://www.nabble.com/C22---Maven-artifact-missing-tp17780552p19265410.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]