diff --git a/ear/plugin.jelly b/ear/plugin.jelly index c3682c87..733adf35 100644 --- a/ear/plugin.jelly +++ b/ear/plugin.jelly @@ -133,12 +133,12 @@ - Generating appxml file:"${maven.ear.appxml} version ${maven.ear.appxml.version}" + Generating appxml file:"${maven.ear.appxml} version ${maven.ear.appxml.version} encoding: ${maven.ear.appxml.encoding}" diff --git a/ear/plugin.properties b/ear/plugin.properties index 56206d8f..da363147 100644 --- a/ear/plugin.properties +++ b/ear/plugin.properties @@ -30,4 +30,5 @@ maven.ear.manifest=${maven.ear.descriptordir}/MANIFEST.MF maven.ear.appxml.generate=false maven.ear.displayname=${pom.id} maven.ear.appxml.version=1.3 -maven.ear.resources=${maven.build.dir}/ear \ No newline at end of file +maven.ear.resources=${maven.build.dir}/ear +maven.ear.appxml.encoding=UTF-8 \ No newline at end of file diff --git a/ear/xdocs/changes.xml b/ear/xdocs/changes.xml index 9669c0b4..3c80b33e 100644 --- a/ear/xdocs/changes.xml +++ b/ear/xdocs/changes.xml @@ -25,6 +25,7 @@ + Added property maven.ear.appxml.encoding. The plugin now displays the version of the bundled artifacts on the console. diff --git a/ear/xdocs/properties.xml b/ear/xdocs/properties.xml index 8e0a8ad7..42828966 100644 --- a/ear/xdocs/properties.xml +++ b/ear/xdocs/properties.xml @@ -25,7 +25,7 @@ -
+
@@ -42,7 +42,7 @@ @@ -75,7 +75,7 @@ + + + + + +
PropertyOptional?DescriptionDefault
maven.ear.appxml Yes - Location of the application.xml file + Location of the application.xml file to be used within the ear file. @@ -53,7 +53,7 @@ maven.ear.appxml.generate Yes - Indicates if application.xml files should + Indicates if application.xml files should be autogenerated @@ -64,10 +64,10 @@ maven.ear.appxml.version Yes - Inserts the doctype header depending on the specified version. Default is 1.3 + Inserts the doctype header depending on the specified version. - false + 1.3
Yes Display name of the application to be used - when application.xml file is autogenerated + when application.xml file is autogenerated ${pom.id} @@ -101,6 +101,16 @@ ${maven.src.dir}/application
maven.ear.appxml.encodingYes + Character encoding for the auto-generated application.xml file. + + UTF-8 +
@@ -146,8 +156,8 @@

Those artifact will be also "visible" during generation - of application.xml file. In case of war artifacts you can also - specify context root which will be set in application.xml file: + of application.xml file. In case of war artifacts you can also + specify context root which will be set in application.xml file: