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]