On 08/04/2008, kace <[EMAIL PROTECTED]> wrote:
>
>
> Hi fellas:
>
> I am looking to have the following project structure using maven: one core
> module used by many seperate apps.  To achieve this I got the core project
> set up and then went to create a modular jsf project.  I deleted the core
> module from this and updated the parent pom file.  I also added the
> dependancy in the web module pom for the core module I created earlier.
>
> I then proceeded to run appfuse:fullsource on the newly created modular
> project.  Is there an easy way to modify the package references from the
> old
> core to the new core or would I just have to go in and do this manually.
>
> I have a situation where I will be looking to use the same core module on
> a
> number of apps and would appreciate if anyone has any advice.
>
> Is it also possible to have the seperate core module's source available to
> each project in IDEA just like as if you had created the modular app.  So
> instead of showing the core module the modular application comes with it
> shows me the core module app I set up so i can make changes directly from
> any app that uses that core.  I hope I'm making sense here.


The best way to do this is to treat your core module as a normal dependent
library. If you do a release of the core using Maven (see the Maven release
plugin), it will deploy a source package into your local repository. Using
the maven idea plugin will then attach the core jar and source to your idea
project. This will allow you to browse the source during debug, etc, but
will not allow you to change the source in that project.

Mike.

Appreciate any help.
>
> Regards,
>
> ..kace
>
> --
> View this message in context:
> http://www.nabble.com/Project-structure-in-maven-tp16558744s2369p16558744.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to