how to add jar in dependeny which is just installed in repo through
maven-install-plugin
----------------------------------------------------------------------------------------
Key: MPH-69
URL: http://jira.codehaus.org/browse/MPH-69
Project: Maven 2.x Help Plugin
Issue Type: Task
Affects Versions: 2.1
Environment: linux, intellij
Reporter: rehan
Priority: Blocker
I using below mention plugin to install jar file in my local repo. I want to
use same jar file for project dependency so that I can use its class for
project. but the problem is maven download all dependency first then execute
plugin. how can slove this problem
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<id>install-dummy</id>
<phase>install</phase>
<configuration>
<groupId>dummy</groupId>
<artifactId>dummy</artifactId>
<version>2.0.0</version>
<packaging>jar</packaging>
<file>target/dummy.jar</file>
</configuration>
<goals>
<goal>install-file</goal>
</goals>
</execution>
</plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira