Re: [mevenide-user] Using a Maven Project in another Project

"Milos Kleint" <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
nope, sorry, it's not possible.
The API for project dependencies in netbeans assumes an Ant based project.

All you can do is depend in the jar file in local repository in your
ant project. That should result in similar behaviour (eg. hyperlinks
to the actual sources if the maven project is opened etc.) However
it's not 100% percent the same. The ide will not build the maven
project if you invoke the "build" action on the ant project for
example.

Regards

Milos

On 8/27/07, Zak Mc Kracken <[email protected]> wrote:
> Hi all,
>
> I have a non Maven project and I'd like to use a Maven Project as a
> project the former depends on.
>
> This is usually done in NB by specifying (on required projects) where is
> the jar, the sources, the javadoc's jar of the required project (for
> instance you can tell all such parameters in the case of Projects built
> on the basis of an existing ant build.xml). I cannot specify any of
> these parameters in a Maven project (Using "Quickstart Project"
> archetype). Is there a way to make NB understand such dependencies?
>
> Thanks in advance for any help
>
>
> Marco.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

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

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.