A related question... Can the same thing be done to exclude pom.xml and pom.properties files from the ears and rars.
Thanks In Advance Anita --- Edwin Punzalan <[EMAIL PROTECTED]> wrote: > > Maybe you can give us your error... 'cause I tried your configuration > in > a project of mine and it worked. > > > tulasi wrote: > > Hi, > > > > I am trying to exclude pom.xml and pom.properties while creating > jar. for > > this i am maven-jar-plugin. But i am getting build error. > > but i am getting error at "addMavenDescriptor". > > > > what was settings i missed?. > > > > > > i am configured like : > > <build> > > <plugins> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-jar-plugin</artifactId> > > <configuration> > > <archive> > > <addMavenDescriptor>false</addMavenDescriptor> > > </archive> > > </configuration> > > </plugin> > > </plugins> > > </build> > > > > > > -- > > View this message in context: > http://www.nabble.com/Exclude-pom.xml-and-pom.properties.-t1797122.html#a4897323 > > Sent from the Maven - Users forum at Nabble.com. > > > > > > > --------------------------------------------------------------------- > > 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] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]