[ 
https://issues.apache.org/jira/browse/MINSTALL-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965928#comment-17965928
 ] 

Olivier Lamy commented on MINSTALL-69:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-install-plugin#252|https://github.com/apache/maven-install-plugin/issues/252].
 

> how to add jar in dependeny which is just installed in repo through 
> maven-install-plugin
> ----------------------------------------------------------------------------------------
>
>                 Key: MINSTALL-69
>                 URL: https://issues.apache.org/jira/browse/MINSTALL-69
>             Project: Maven Install Plugin (Moved to GitHub Issues)
>          Issue Type: Task
>    Affects Versions: 2.0
>         Environment: linux, intellij 
>            Reporter: rehan
>            Assignee: Benjamin Bentmann
>            Priority: Blocker
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to