On Thu, Nov 03, 2005 at 10:05:50AM +1100, Brett Porter wrote:
> How are you calling it?
>
> Sounds like you are running install:install over a multiproject -
> instead you should use "install".
Well, I believe I'm doing something fairly standard.
I'm calling:
$ mvn -Pnodebug install
or
$ mvn -Pnodebug clean install
With "nodebug" containing:
<build>
<plugins>
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<fork>true</fork>
<debug>false</debug>
<verbose>true</verbose>
<compilerArguments>
<g:none></g:none>
</compilerArguments>
</configuration>
</plugin>
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<classifier>nodebug</classifier>
</configuration>
</plugin>
</plugins>
</build>
There are two levels of POM inheritance if that may also diagnose...
By the way, thanks a lot for your answers to my other emails,
I'll try to find time to add improvements requests in JIRA.
--
Julien Stern
>
> I've used this successfully with classifiers before.
>
> -Brett
>
> On 11/3/05, Julien Stern <[EMAIL PROTECTED]> wrote:
> > The install plugin does not seem to work when used with classifiers.
> > When I use the jar plugin with a classifier, the install fails
> > (the install plugin tries to use "$MYPROJECTDIR/target/classes"
> > as the artifact name to install.
> >
> > Is it forbidden to use classifier with install/deploy ?
> > Or is it a bug ?
> > Or is there a correct way to configure the use of this case ?
> >
> > Thanks,
> >
> > --
> > Julien Stern
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]