Filed under: Java, Maven, — Tags: MacRoman, Platform dependent, Platform encoding, UTF-8 — Thomas Sundberg — 2011-02-22
Chasing the warning:
[WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!(more...)
Filed under: Java, Maven, — Tags: Cp1252, MacRoman, National characters, UTF-8 — Thomas Sundberg — 2011-02-17
We had a problem in my current Java project. Whenever somebody wrote a comment using Swedish national characters, åäö or ÅÄÖ, and later tried to build the system with Maven we got the error:
unmappable character for encoding UTF-8(more...)
Filed under: Automation, — Tags: Ant, Manual, scp — Thomas Sundberg — 2011-02-14
Today I got a call. Somebody couldn't get scp work from Ant.
(more...)Filed under: Maven, — Tags: Ant, Antrun, CI, MAVEN_OPTS, Test automation, maven.test.failure.ignore — Thomas Sundberg — 2011-02-11
A friend of mine needed an example of how to use the Antrun Maven plugin.
This is a simple example that will show how to execute any Ant targets from a Maven build during the install phase.
(more...)