You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlo de Wolf (JIRA)" <ji...@codehaus.org> on 2012/03/20 13:36:03 UTC
[jira] (MNG-5264) When using maven.test.skip it should skip
downloading plugins which will not be run
Carlo de Wolf created MNG-5264:
----------------------------------
Summary: When using maven.test.skip it should skip downloading plugins which will not be run
Key: MNG-5264
URL: https://jira.codehaus.org/browse/MNG-5264
Project: Maven 2 & 3
Issue Type: Improvement
Reporter: Carlo de Wolf
Priority: Minor
Given the following section:
{noformat}
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<configuration>
<testSourceDir>src/test/scala</testSourceDir>
</configuration>
<executions>
<execution>
<id>scala-test-compile</id>
<phase>process-test-resources</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
{noformat}
Maven will try to download the plugin irrespective of setting maven.test.skip or skipTests.
{noformat}
[ERROR] Plugin org.scala-tools:maven-scala-plugin:2.15.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.scala-tools:maven-scala-plugin:jar:2.15.2: The repository system is offline but the artifact org.scala-tools:maven-scala-plugin:pom:2.15.2 is not available in the local repository. -> [Help 1]
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira