Thank you. Any plans to publish 2.0-alpha-5 soon?
On Nov 27, 2007 6:17 PM, Brian E. Fox <[EMAIL PROTECTED]> wrote: > The excludes is used for unpacking and it's available in > 2.0-alpha-5-SNAPSHOT > > > -----Original Message----- > From: Erez Nahir [mailto:[EMAIL PROTECTED] > Sent: Monday, November 26, 2007 2:53 AM > To: [email protected] > Subject: latest version of maven-dependency-plugin - missing excludes on > ArtifactItem > > Hi, > > I'm trying to use maven-dependency-plugin with <excludes> tag in my > configuration part: > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-dependency-plugin</artifactId> > <executions> > <execution> > <id>get-resources</id> > <phase>process-resources</phase> > <goals> > <goal>copy</goal> > </goals> > <configuration> > <artifactItems> > <artifactItem> > > <groupId>my.company.groupid</groupId> > <artifactId>myartifact</artifactId> > <version>${my.version}</version> > <excludes>**/*.class</excludes> > <classifier>foo</classifier> > > <destFileName>my-foo.zip</destFileName> > <type>zip</type> > </artifactItem> > ... > </plugin> > But, I get this error: > [INFO] Using default encoding to copy filtered resources. > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to configure plugin parameters for: > org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-4 > > > > Cause: Cannot find setter nor field in > org.apache.maven.plugin.dependency.fromConfiguration.ArtifactItem for > 'excludes' > > > Looking at javadoc and sources of maven-dependency-plugin I can see > setExcludes(String excludes). > In which version does "excludes" cofniguration is available and how > can I get it? > > Thanks, > Erez. > > --------------------------------------------------------------------- > 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]
