diff --git a/htrace-htraced/go/gobuild.sh b/htrace-htraced/go/gobuild.sh
index e627147..f23c639 100755
--- a/htrace-htraced/go/gobuild.sh
+++ b/htrace-htraced/go/gobuild.sh
@@ -101,6 +101,8 @@ else
fi
case $ACTION in
+ # Add any directory you want to clean up into the pom too. We cannot run
+ # this gobuild clean from mvn.
clean)
rm -rf -- "${GOBIN}" ${SCRIPT_DIR}/pkg
;;
diff --git a/htrace-htraced/pom.xml b/htrace-htraced/pom.xml
index 16d2206..87ad4a5 100644
--- a/htrace-htraced/pom.xml
+++ b/htrace-htraced/pom.xml
@@ -127,19 +127,11 @@ language governing permissions and limitations under the License. -->
-
- clean
- go_clean
- run
-
-
-
-
-
-
-
-
-
+
@@ -150,6 +142,13 @@ language governing permissions and limitations under the License. -->
bin
+
+
+ go/build
+
+
+ go/pkg
+
diff --git a/htrace-webapp/pom.xml b/htrace-webapp/pom.xml
index dc1a05c..a291cd4 100644
--- a/htrace-webapp/pom.xml
+++ b/htrace-webapp/pom.xml
@@ -31,6 +31,7 @@ language governing permissions and limitations under the License. -->
org.apache.maven.plugins
maven-war-plugin
+ ${maven-war-plugin.version}
src/main/webapp/WEB-INF/web.xml