Hi,
I am having problems getting maven to work with the 1.1 salve plugin.
I have this in my pom
<build>
<plugins>
<plugin>
<groupId>salve</groupId>
<version>${salve.version}</version>
<artifactId>maven-salve-plugin</artifactId>
<configuration>
<verbose>true</verbose>
</configuration>
<executions>
<execution>
<goals>
<goal>instrument</goal>
<goal>instrument-test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>salve.repository</id>
<name>Salve Maven2 Repository</name>
<url>
http://salve.googlecode.com/svn/maven2</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
mvn install command is failing with this error:
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/salve/maven-salve-plugin/1.1/maven-salve-plugin-1.1.jar
[INFO] Unable to find resource 'salve:maven-salve-plugin:maven-plugin:
1.1' in repository central (
http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found -
check that the goal name is correct: Unable to download the artifact
from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=salve -DartifactId=maven-salve-
plugin -Dversion=1.1 -Dpackaging=maven-plugin -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=salve -DartifactId=maven-salve-
plugin -Dversion=1.1 -Dpackaging=maven-plugin -Dfile=/path/to/file -
Durl=[url] -DrepositoryId=[id]
salve:maven-salve-plugin:maven-plugin:1.1
from the specified remote repositories:
central (
http://repo1.maven.org/maven2)
salve:maven-salve-plugin:maven-plugin:1.1
from the specified remote repositories:
central (
http://repo1.maven.org/maven2)