[fedora-java] Help building dcm4che

Alexander Kurtakov akurtako at redhat.com
Tue May 31 08:06:06 UTC 2011


On 11:05:38 AM Tuesday, May 31, 2011 Stanislav Ochotnicky wrote:
> Excerpts from Alexander Kurtakov's message of Mon May 30 18:38:49 +0200 
2011:
> > On 07:36:38 PM Monday, May 30, 2011 Stanislav Ochotnicky wrote:
> > > Excerpts from Guido Grazioli's message of Mon May 30 11:54:57 +0200 
2011:
> > > > 2011/5/30 Ankur Sinha <sanjay.ankur at gmail.com>:
> > > > > The solution was to add:
> > > > >> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> > > > >> 
> > > > >> <project.reporting.outputEncoding>UTF-8</project.reporting.outputE
> > > > >> ncod ing>
> > > > > 
> > > > > to the properties section of the pom.xml file.
> > > > 
> > > > could that be a candidate for inclusion in settings.xml or
> > > > MAVEN_OPTS?
> > > 
> > > Good idea I believe, gonna look into it.
> > 
> > I don't think this is good idea at all because AFAIK this will override
> > whatever is set in the pom even thus breaking projects that have set
> > everything correctly. Feel free to prove me wrong on this.
> 
> While I admit that we should probably not touch sourceEncoding,
> outputEncoding should always be UTF-8 in Fedora.

Yup, I agree here. I would even say that we need to ask upstream to make it 
default.

Alex


More information about the java-devel mailing list