git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[JGIT PATCH] Force maven build to assume UTF-8 encoded source files

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Sep 8, 2008, 19:46 UTC
Message-ID
<1220903169-15190-1-git-send-email-robin.rosenberg@dewire.com>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---
 jgit-maven/jgit/pom.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
We had one unit test failing because of this.
-- robin
diff --git a/jgit-maven/jgit/pom.xml b/jgit-maven/jgit/pom.xml
index fe9b0c5..8ea56ca 100644
--- a/jgit-maven/jgit/pom.xml
+++ b/jgit-maven/jgit/pom.xml
@@ -155,6 +155,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
                 <configuration>
                     <source>1.5</source>
                     <target>1.5</target>
+		    <encoding>UTF-8</encoding>
                 </configuration>
             </plugin>
         </plugins>
-- 
1.6.0.1.267.gec3a
Next: Imran M Yousuf
Message 1 of 2 in “Force maven build to assume UTF-8 encoded source files”
  1. Force maven build to assume UTF-8 encoded source filesRobin Rosenberg, Sep 8, 2008
  2. Imran M YousufSep 9, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.