maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MPH-69) how to add jar in dependeny which is just installed in repo through maven-install-plugin
Date Tue, 08 Sep 2009 22:24:32 GMT

     [ http://jira.codehaus.org/browse/MPH-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Bentmann closed MPH-69.
--------------------------------

      Assignee: Benjamin Bentmann
    Resolution: Not A Bug

This is a matter of configuration and those questions belong to the [user mailing list|http://maven.apache.org/mail-lists.html].

> 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
>            Assignee: Benjamin Bentmann
>            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

        

Mime
View raw message