I've commented out this plugin in pom.xml, but still the same problem. 
Now there is no trace of navive2ascii during mvn clean compile left:
[INFO] [warpath:add-classes {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 33 source files to .../target/classes

What means "Using default encoding to copy filtered resources" ? 




Matt Raible-3 wrote:
> 
> The native2ascii plugin only includes certain files, so this shouldn't
> causing any issues (unless there's a bug in it of course):
> 
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>native2ascii-maven-plugin</artifactId>
>                 <version>1.0-beta-1-SNAPSHOT</version>
>                 <configuration>
>                     <dest>target/classes</dest>
>                     <src>src/main/resources</src>
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <id>native2ascii-utf8</id>
>                         <goals>
>                             <goal>native2ascii</goal>
>                         </goals>
>                         <configuration>
>                             <encoding>UTF8</encoding>
>                             <includes>ApplicationResources_zh*</includes>
>                         </configuration>
>                     </execution>
>                     <execution>
>                         <id>native2ascii-8859_1</id>
>                         <goals>
>                             <goal>native2ascii</goal>
>                         </goals>
>                         <configuration>
>                             <encoding>8859_1</encoding>
>                             <includes>
>                                 ApplicationResources_de.properties,
>                                 ApplicationResources_fr.properties,
>                                 ApplicationResources_nl.properties,
>                                 ApplicationResources_pt*.properties
>                             </includes>
>                         </configuration>
>                     </execution>
>                 </executions>
>             </plugin>
> 
> Did you try the <exclude> stuff (link below) for *.png?
> 
> Matt
> 
> On 2/13/07, ros <[EMAIL PROTECTED]> wrote:
>>
>> I need a copy /src/main/resources/aaa.png in /target/classes/aaa.png, buy
>> I
>> do not need it to modified. Source file size is 32kb and target file size
>> is
>> 64kb. It looks like file was parsed with something like native2ascii...
>> Any
>> ideas how to switch this parsing off?
>>
>>
>> Matt Raible-3 wrote:
>> >
>> > This happens because we filter this directory by default and replace
>> > the variables in jdbc.properties with values from pom.xml.  To exclude
>> > certain files or patterns, you need to add an exclude:
>> >
>> >
>> http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html
>> >
>> > Matt
>> >
>> > On 2/13/07, ros <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hi!
>> >> In Appfuse 2 I've placed png image in /src/main/resources folder,
>> >> (e.g. http://www.libpng.org/pub/png/img_png/rpng2-bg14-toucan.png
>> 35kb)
>> >>
>> >> After mvn clean compile i've got it in /target/classes but it's size
>> is
>> >> 64kb
>> >> and it's corrupted.
>> >>
>> >> The output is:
>> >> [WARNING]
>> >>         Artifact junit:junit:jar:3.8.2:test retains local scope 'test'
>> >> overriding broader scope 'compile'
>> >>         given by a dependency. If this is not intended, modify or
>> remove
>> >> the
>> >> local scope.
>> >> [INFO] [warpath:add-classes {execution: default}]
>> >> [INFO] [native2ascii:native2ascii {execution: native2ascii-utf8}]
>> >> [INFO] [native2ascii:native2ascii {execution: native2ascii-8859_1}]
>> >> [INFO] [resources:resources]
>> >> [INFO] Using default encoding to copy filtered resources.
>> >> [INFO] [compiler:compile]
>> >> Compiling 33 source files to .../target/classes
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] BUILD SUCCESSFUL
>> >> ...
>> >>
>> >> Why PNG image in /target/classes is corrupted?
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/resourcs-in-target-tf3222545s2369.html#a8950434
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > http://raibledesigns.com
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/resourcs-in-target-tf3222545s2369.html#a8951306
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/resourcs-in-target-tf3222545s2369.html#a8951944
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to