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

"Laurent ForĂȘt" <[email protected]> Wed, 20 Aug 2008 14:45:26 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.devel
Message-ID <[email protected]>
You can also customize the build.xml ant file with maven ant tasks  (
http://maven.apache.org/ant-tasks.html).

Laurent.

On Mon, Aug 18, 2008 at 2:36 PM, Milos Kleint (JIRA) <jira-yCVjj/[email protected]>wrote:

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