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.

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <addMavenDescriptor>false</addMavenDescriptor>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>

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]

Reply via email to