You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2012/07/11 22:23:35 UTC

[jira] [Closed] (LOG4J2-52) 'mvn test' requires initial 'mvn install'

     [ https://issues.apache.org/jira/browse/LOG4J2-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers closed LOG4J2-52.
-----------------------------


Closing since there have been no other comments since this was marked resolved.
                
> 'mvn test' requires initial 'mvn install'
> -----------------------------------------
>
>                 Key: LOG4J2-52
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-52
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>            Reporter: John Vasileff
>            Priority: Minor
>
> "mvn install" is required before "mvn test" can be run.
> Example:
> $ rm -rf ~/.m2/repository/org/apache/logging
> $ mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
> Java version: 1.6.0_26
> Java home: /Library/Java/JavaVirtualMachines/1.6.0_26-b03-383.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x" version: "10.7.1" arch: "x86_64" Family: "mac"
> $ mvn test
> ....
> Downloading: https://repository.cloudera.com/content/repositories/releases//org/apache/logging/log4j2-core/1.99.0-SNAPSHOT/log4j2-core-1.99.0-SNAPSHOT-tests.jar
> [WARNING] Unable to get resource 'org.apache.logging:log4j2-core:test-jar:tests:1.99.0-SNAPSHOT' from repository cloudera (https://repository.cloudera.com/content/repositories/releases/): Error transferring file: Server retur
> ned HTTP response code: 409 for URL: https://repository.cloudera.com/content/repositories/releases/org/apache/logging/log4j2-core/1.99.0-SNAPSHOT/log4j2-core-1.99.0-SNAPSHOT-tests.jar
> Downloading: http://repository.apache.org/snapshots/org/apache/logging/log4j2-core/1.99.0-SNAPSHOT/log4j2-core-1.99.0-SNAPSHOT-tests.jar
> [INFO] Unable to find resource 'org.apache.logging:log4j2-core:test-jar:tests:1.99.0-SNAPSHOT' in repository apache.snapshots (http://repository.apache.org/snapshots)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
> ----------
> 1) org.apache.logging:log4j2-core:test-jar:tests:1.99.0-SNAPSHOT
>   
>   Try downloading the file manually from the project website.
>   
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.apache.logging -DartifactId=log4j2-core -Dversion=1.99.0-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.logging -DartifactId=log4j2-core -Dversion=1.99.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>   
>   Path to dependency: 
>     1) org.apache.logging:log4j12-api:jar:1.99.0-SNAPSHOT
>     2) org.apache.logging:log4j2-core:test-jar:tests:1.99.0-SNAPSHOT
> ---------- 
> 1 required artifact is missing.
> for artifact: 
>   org.apache.logging:log4j12-api:jar:1.99.0-SNAPSHOT
> from the specified remote repositories:
>   apache.snapshots (http://repository.apache.org/snapshots),
>   central (http://repo1.maven.org/maven2),
>   cloudera (https://repository.cloudera.com/content/repositories/releases/)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org