Re: How to cancel the "maven" dir in META-INF?

2006-09-10 Thread jiangshachina

Hi, Wendy
Thanks very much!
The problem disappeared.

a cup of Java, cheers!
Sha Jiang



Wendy Smoak-3 wrote:
> 
> On 9/10/06, jiangshachina <[EMAIL PROTECTED]> wrote:
> 
>> The output is
>> ...
>> [INFO] Failed to configure plugin parameters for:
>> org.apache.maven.plugins:maven-jar-plugin:2.0
>> Cause: Cannot find setter nor field in
>> org.apache.maven.archiver.MavenArchiveConfiguration for
>> 'addMavenDescriptor'
>> ...
> 
> Try it with maven-jar-plugin 2.1 instead.  (Run mvn with -U to make it
> update plugins.)
> 
> -- 
> Wendy
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-cancel-the-%22maven%22-dir-in-META-INF--tf2246107.html#a6240101
Sent from the Maven - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to cancel the "maven" dir in META-INF?

2006-09-10 Thread Wendy Smoak

On 9/10/06, jiangshachina <[EMAIL PROTECTED]> wrote:


The output is
...
[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-jar-plugin:2.0
Cause: Cannot find setter nor field in
org.apache.maven.archiver.MavenArchiveConfiguration for 'addMavenDescriptor'
...


Try it with maven-jar-plugin 2.1 instead.  (Run mvn with -U to make it
update plugins.)

--
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to cancel the "maven" dir in META-INF?

2006-09-10 Thread jiangshachina

Hello,
Thanks for your reply.
I use the configuration in maven-war-plugin, it's ok.
But I use almost the same configuration in maven-jar-plugin, it doesn't
work.

  

  
org.apache.maven.plugins
maven-jar-plugin

  
false
  

  

  

The output is
...
[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-jar-plugin:2.0
Cause: Cannot find setter nor field in
org.apache.maven.archiver.MavenArchiveConfiguration for 'addMavenDescriptor'
...


Wendy Smoak-3 wrote:
> 
> On 9/9/06, jiangshachina <[EMAIL PROTECTED]> wrote:
> 
>> I use "mvn package" for packaging.
>> In the archive file, there is a "maven" directory in MAET-INF, but that's
>> not my want.
>> How not to generate the directory?
> 
> http://maven.apache.org/guides/mini/guide-archive-configuration.html
> 
> -- 
> Wendy
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-cancel-the-%22maven%22-dir-in-META-INF--tf2246107.html#a6240007
Sent from the Maven - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to cancel the "maven" dir in META-INF?

2006-09-10 Thread Wendy Smoak

On 9/9/06, jiangshachina <[EMAIL PROTECTED]> wrote:


I use "mvn package" for packaging.
In the archive file, there is a "maven" directory in MAET-INF, but that's
not my want.
How not to generate the directory?


http://maven.apache.org/guides/mini/guide-archive-configuration.html

--
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to cancel the "maven" dir in META-INF?

2006-09-10 Thread jiangshachina

Hello,
I use "mvn package" for packaging.
In the archive file, there is a "maven" directory in MAET-INF, but that's
not my want.
How not to generate the directory?

a cup of Java, cheers!
Sha Jiang
-- 
View this message in context: 
http://www.nabble.com/How-to-cancel-the-%22maven%22-dir-in-META-INF--tf2246107.html#a6229623
Sent from the Maven - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]