Maven platform dependent builds

When you do a maven build sometimes you get this warning:

[WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!

If you do then it is probably because you have not set the encoding properties. To do this you need to set project.build.sourceEncoding and project.reporting.outputEncoding in you POM. like so:

 

 



    

        UTF-8
        UTF-8

    

    4.0.0

    com.inspire-software.erp
    myCoolProject
    pom
    1.0.0-SNAPSHOT
    Inspire Software ERP cool project


 

 

This page was last updated on: 18/05/2012 05:39