Updating maven-assembly-plugin to 2.4, adding ID, updating HOWTOBUILD to clarify a mainClass is required when executing osxappbundle:bundle
git-svn-id: https://svn.apache.org/repos/asf/logging/chainsaw/trunk@1448516 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/HOWTOBUILD.txt b/HOWTOBUILD.txt
index ebbd4bb..99c14d2 100644
--- a/HOWTOBUILD.txt
+++ b/HOWTOBUILD.txt
@@ -38,7 +38,7 @@
[OSX]
You can use the *nix steps above, or go one extra step for a nicer OSX experience
-mvn package osxappbundle:bundle
+mvn package osxappbundle:bundle -DmainClass=org.apache.log4j.chainsaw.LogUI
This will create an OSX distribution, look inside the target folder for the packaged OSX application and .dmg distribution. You can drag the application to your /Applications folder, or just double click it from the target folder.
diff --git a/pom.xml b/pom.xml
index c47c34d..182eab5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -245,7 +245,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-5</version>
+ <version>2.4</version>
<executions>
<execution>
<id>make-assembly</id>
diff --git a/src/assembly/bin.xml b/src/assembly/bin.xml
index 04ece7c..a108121 100644
--- a/src/assembly/bin.xml
+++ b/src/assembly/bin.xml
@@ -20,7 +20,8 @@
bin assembly to have any suffix on its name. Other assemblies need their Id suffixed, but this one
doesn't
<id>bin</id> -->
- <formats>
+ <id>bin</id>
+ <formats>
<format>zip</format>
<format>tar.gz</format>
</formats>