You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Alexander <th...@gmail.com> on 2009/09/09 00:35:32 UTC
Re: how to add jar in dependeny which is just installed in repo
through maven-install-plugin
Run plugin from console directly
2009/9/9 rehanwmu <re...@hotmail.com>
>
> 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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Regards,
Alexander