Re: [mevenide-user] Run a jar with config files.

"Milos Kleint" <[email protected]> Tue, 20 May 2008 08:29:37 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
hey,

I'd say
change the IDE action mappings to what they were in 3.0.x along with
the assembly and jar configurations in the pom. The default mappings
are just the default values that I think will suit the majority of
people. If you have a special case, override it.

Milos

On 5/20/08, Magne Nordtveit <magne.nordtveit-4fgah/[email protected]> wrote:
> To refine my question; How can I make mevenide 3.1.1 do what mevenide
>  3.0.x did for running jars within netbeans?
>
>  Cheers,
>
> Magne
>
>
>  On Mon, 2008-05-19 at 15:00 +0200, Magne Nordtveit wrote:
>  > I have a configuration project, packaged into a jar. This jar is used by
>  > multiple projects and resource filtered based on difference between the
>  > projects that uses them.
>  >
>  > The way I have solved this is as following:
>  >
>  > By activating a profile (which is defined in a parent pom for the
>  > sub-modules that needs the configuration) maven does the following for
>  > me now:
>  >
>  > 1. maven-dependency-plugin is bound to generate-resources and downloads
>  > the configuration project, and unpacks it.
>  >
>  > 2. maven-resources-plugin performs resource filtering on the
>  > configuration files, and places them in target/configuration.
>  >
>  > 3. maven-assembly-plugin is bound to package phase, and takes the libs
>  > needed and places them in target/project-1.0-SNAPSHOT.dir/lib. The
>  > configuration files, and places them in
>  > target/project-1.0-SNAPSHOT.dir/config and the project-1.0-SNAPSHOT.jar
>  > in target/project-1.0-SNAPSHOT.dir/
>  >
>  > So far so good, but how do I tell netbeans that it should execute
>  > run:jar on the jar file with classpathprefix lib/? And is it possible to
>  > activate that as well through a profile?
>  >
>  > Magne
>  >
>  > ---------------------------------------------------------------------
>  > 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
>
>
>

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

    http://xircles.codehaus.org/manage_email