[mevenide-dev] [jira] Resolved: (MEVENIDE-657) Export result file (jar, war, etc) for project

"Milos Kleint (JIRA)" <jira-yCVjj/[email protected]> Mon, 18 Aug 2008 07:36:27 -0500 (CDT)
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.devel
Message-ID <27346627.1219062987037.JavaMail.haus-jira@codehaus01.managed.contegix.com>
     [ http://jira.codehaus.org/browse/MEVENIDE-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint resolved MEVENIDE-657.
-----------------------------------

    Resolution: Won't Fix

by web project I assume you mean the netbeans default Ant based project, right?

Unfortunately these 2 project types cannot be connected the way you suggest. The API for adding a project as dependency to other project assumes an ant based project (with existing build.xml file and a defined set of targets for building) which the maven projects cannot fullfill.

I suggest you use the jar file location in local repository, (since 6.5 preferably with the env. variable path root at ~/.m2/repository). That's the most reliable way of connecting maven and non-maven projects IMHO.



> Export result file (jar, war, etc) for project
> ----------------------------------------------
>
>                 Key: MEVENIDE-657
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-657
>             Project: mevenide
>          Issue Type: Improvement
>          Components: mevenide2-netbeans
>         Environment: Netbeans 6.5 Beta, Ubuntu Linux 8.10, JDK 1.6_06
>            Reporter: Jose
>            Assignee: Milos Kleint
>
> I have a maven project that generates a jar file that I have to include in a Web Application project. If I try to include the Maven project as a dependency library, the jar file that it generates is not shown in the "import project" dialog, so I have to manually tell the location of the generated jar file (normally in target/<modulename>.jar. Since the Maven project knows where the generated artifacts are, it would be great if it exported those files (being it war, jars or zips) so they can be imported in non maven projects directly.

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email