From bbd4b17338087980f674441b2293368bbd8cdb82 Mon Sep 17 00:00:00 2001 From: Elliott Clark Date: Fri, 9 Jan 2015 16:20:18 -0800 Subject: [PATCH] HTRACE-64 Fix mvn clean of go directories --- htrace-core/.gitignore | 8 ++++++ htrace-core/pom.xml | 8 +++--- .../go/src/org/apache/htrace/resource/catalog.go | 29 ---------------------- 3 files changed, 12 insertions(+), 33 deletions(-) create mode 100644 htrace-core/.gitignore delete mode 100644 htrace-core/src/go/src/org/apache/htrace/resource/catalog.go diff --git a/htrace-core/.gitignore b/htrace-core/.gitignore new file mode 100644 index 0000000..9908419 --- /dev/null +++ b/htrace-core/.gitignore @@ -0,0 +1,8 @@ +src/go/bin +src/go/pkg +src/go/src/org/apache/htrace/resource +src/go/src/github.com/ +src/go/src/gopkg.in/ +src/go/src/code.google.com/ +src/go/src/golang.org/ +src/go/src/org/apache/htrace/common/version.go diff --git a/htrace-core/pom.xml b/htrace-core/pom.xml index 86bc920..ae85d57 100644 --- a/htrace-core/pom.xml +++ b/htrace-core/pom.xml @@ -112,12 +112,12 @@ language governing permissions and limitations under the License. --> + - - - - + + + diff --git a/htrace-core/src/go/src/org/apache/htrace/resource/catalog.go b/htrace-core/src/go/src/org/apache/htrace/resource/catalog.go deleted file mode 100644 index 5b71f88..0000000 --- a/htrace-core/src/go/src/org/apache/htrace/resource/catalog.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package resource - -// Map containing all resources. -var Catalog map[string]string = make(map[string]string) - -// Function called by generated code to add a resource to the catalog. -func addResource(key, val string) string { - Catalog[key] = val - return key -} -- 2.2.1