Well, you can automate with other tools (e.g. shell scripts), but why would you automate something that happens one time?

On Sep 8, 2009, at 6:56 PM, "rehanwmu" <rehan...@hotmail.com> wrote:


thanks for quick reply but I don't want to run manually. its a part of
automation

justinedelson wrote:

It's atypical to use the install-file goal in the build lifecycle like
this. Instead, just run it on the command line one time. The plugin
docs only show that usage pattern, at least for install-file, IIRC.

Justin

On Sep 8, 2009, at 6:28 PM, "rehanwmu" <rehan...@hotmail.com> wrote:


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


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




--
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-tp25355276p25355597.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


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

Reply via email to