[
https://issues.apache.org/jira/browse/WHIRR-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146747#comment-13146747
]
Andrei Savu commented on WHIRR-352:
-----------------------------------
With Maven 3 on a vanilla OS I get the following error when running {{mvn clean
install}}:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.8:checkstyle (default) on
project whirr: Execution default of goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.8:checkstyle failed: Plugin
org.apache.maven.plugins:maven-checkstyle-plugin:2.8 or one of its dependencies
could not be resolved: Could not find artifact
org.apache.whirr:whirr-build-tools:jar:0.7.0-SNAPSHOT in apache-snapshots
(https://repository.apache.org/content/repositories/snapshots) -> [Help 1]
and the same is happening when running {{mvn package assembly:assembly}}.
I get a similar error with maven 2:
{noformat}
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.whirr:whirr-build-tools:jar:0.7.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.whirr
-DartifactId=whirr-build-tools -Dversion=0.7.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.whirr
-DartifactId=whirr-build-tools -Dversion=0.7.0-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:2.8
2) org.apache.whirr:whirr-build-tools:jar:0.7.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:2.8
from the specified remote repositories:
apache.snapshots (http://repository.apache.org/snapshots),
central (http://repo1.maven.org/maven2),
apache-snapshots
(https://repository.apache.org/content/repositories/snapshots),
cloudera (https://repository.cloudera.com/content/repositories/releases/)
{noformat}
> mvn package assembly:assembly fails
> -----------------------------------
>
> Key: WHIRR-352
> URL: https://issues.apache.org/jira/browse/WHIRR-352
> Project: Whirr
> Issue Type: Bug
> Components: build
> Affects Versions: 0.6.0
> Environment: linux
> Reporter: Karel Vervaeke
> Assignee: David Alves
> Labels: patch
> Fix For: 0.7.0
>
> Attachments: WHIRR-352.patch, WHIRR-352.patch
>
>
> mvn package assembly:assembly fails. Output ends with:
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An error has occurred in Checkstyle report generation.
> Embedded error: Failed during checkstyle execution
> Could not find resource './build-tools/src/main/resources/checkstyle.xml'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
--
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