Not yet. Very tedious, but at least it works.... Hopefully it will be fixed
soon.


On Dec 27, 2007 8:44 AM, Ryan Moquin <[EMAIL PROTECTED]> wrote:

> So I take it that filtering the fileSets probably still hasn't been fixed?
>
> On Sep 21, 2007 12:52 PM, Paul Austin <[EMAIL PROTECTED]> wrote:
>
> > Will the filtering of dependencySets also be fixed?
> >
> > Paul
> >
> > Mick Knutson wrote:
> > > the filtering <filesSets> will be fixed in the next release, but you
> > have to
> > > use <files> for now. I opened the defect about a month.
> > >
> > >
> > >
> > >
> > > On 9/21/07, Dave Feltenberger <[EMAIL PROTECTED]> wrote:
> > >
> > >> I think I found a bug in the assembly plugin.  When I specify a
> single
> > >> file in my assembly, like so:
> > >>         <files>
> > >>                 <file>
> > >>                         <source>src/main/resources/faxing.sh</source>
> > >>                         <outputDirectory>/</outputDirectory>
> > >>                         <filtered>true</filtered>
> > >>                 </file>
> > >>         </files>
> > >>
> > >> it is filtered properly using the <project><build><filters>.
> > >>
> > >> But if I specify a fileset, like so:
> > >>         <fileSets>
> > >>                 <fileSet>
> > >>                         <directory>src/main/resources</directory>
> > >>                         <outputDirectory>/</outputDirectory>
> > >>                         <includes>
> > >>                                 <include>*.sh</include>
> > >>                         </includes>
> > >>                         <filtered>true</filtered>
> > >>                 </fileSet>
> > >>         </fileSets>
> > >>
> > >> the resources are *not* filtered.  This isn't intentional, is it?
> > >>
> > >> Dave
> > >>
> > >> On 9/21/07, Dave Feltenberger <[EMAIL PROTECTED]> wrote:
> > >>
> > >>> All,
> > >>>
> > >>> I'm having an issue filtering resources with the assembly plugin.
> > >>>
> > >>> In the documentation at:
> > >>>
> > >>>
> > >>
> >
> http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html
> > >>
> > >>> there is an example of using the assembly plugin.  Here is the part
> in
> > >>> the pom that says how to specify the filter file:
> > >>>
> > >>>       <plugin>
> > >>>         <artifactId>maven-assembly-plugin</artifactId>
> > >>>         <configuration>
> > >>>           <filters>
> > >>>             <filter>src/assemble/filter.properties</filter>
> > >>>           </filters>
> > >>>           <descriptors>
> > >>>             <descriptor>src/assemble/distribution.xml</descriptor>
> > >>>           </descriptors>
> > >>>         </configuration>
> > >>>       </plugin>
> > >>>
> > >>> When I add a <filters> tag in my pom in the location specified
> above,
> > >>> I get the following error:
> > >>> [INFO] Error configuring:
> > >>> org.apache.maven.plugins:maven-assembly-plugin. Reason: ERROR:
> Cannot
> > >>> override read-only parameter: filters in goal: assembly:assembly
> > >>>
> > >>> I've tried lots of permutations: adding the filters tag to the
> > >>> <project><build> structure, configuring it to run the attached goal,
> > >>> etc., and nothing will work.  When I specify the filters in the
> > >>> <build> tag, I get no error, but it also doesn't filter.
> > >>>
> > >>> Is this an error in the documentation or an issue with 2.2-beta1?
>  Or
> > >>> am I just doing something incorrectly?
> > >>>
> > >>> Dave
> > >>>
> > >>>
> > >> ---------------------------------------------------------------------
> > >> 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]
> >
> >
>



-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---

Reply via email to