I am 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>
-- 
View this message in context: 
http://www.nabble.com/how-to-add-jar-in-dependeny-which-is-just-installed-in-repo-through-maven-install-plugin-tp25355276p25355276.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to