Browse Source

HUE-437 - Fixing Main-Class of Beeswax jar

* Moving the definition of the main class out of an <execution>,
because that didn't actually register properly. Main class now shows
up correctly.
Andrew Bayer 15 years ago
parent
commit
5c1246da90
1 changed files with 7 additions and 14 deletions
  1. 7 14
      apps/beeswax/java/pom.xml

+ 7 - 14
apps/beeswax/java/pom.xml

@@ -103,21 +103,14 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifest>
+              <mainClass>com.cloudera.beeswax.Server</mainClass>
+            </manifest>
+          </archive>
+        </configuration>
         <executions>
-          <execution>
-            <id>default-package</id>
-            <phase>package</phase>
-            <goals>
-              <goal>jar</goal>
-            </goals>
-            <configuration>
-              <archive>
-                <manifest>
-                  <mainClass>com.cloudera.beeswax.Server</mainClass>
-                </manifest>
-              </archive>
-            </configuration>
-          </execution>
           <execution>
             <id>test-package</id>
             <phase>package</phase>