You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by ra...@apache.org on 2018/12/17 22:24:09 UTC
[4/5] tomee git commit: TOMEE-2297 Added war plugin to pom.xml and
added license header to missing files
TOMEE-2297 Added war plugin to pom.xml and added license header to missing files
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/f43b8bbc
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/f43b8bbc
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/f43b8bbc
Branch: refs/heads/master
Commit: f43b8bbc30dcaa75012c7dc2a0290fd4ff660477
Parents: 66f94f2
Author: CesarHernandezGt <cf...@gmail.com>
Authored: Mon Dec 17 12:47:12 2018 -0600
Committer: Roberto Cortez <ra...@yahoo.com>
Committed: Mon Dec 17 22:22:19 2018 +0000
----------------------------------------------------------------------
examples/mp-rest-client/pom.xml | 6 ++++++
.../java/org/superbiz/rest/ApplicationConfig.java | 17 +++++++++++++++++
.../src/main/java/org/superbiz/rest/Book.java | 17 +++++++++++++++++
.../src/main/java/org/superbiz/rest/BookBean.java | 17 +++++++++++++++++
.../main/java/org/superbiz/rest/BookResource.java | 17 +++++++++++++++++
.../java/org/superbiz/rest/BookResourceClient.java | 17 +++++++++++++++++
.../java/org/superbiz/rest/BookResourceTest.java | 17 +++++++++++++++++
7 files changed, 108 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tomee/blob/f43b8bbc/examples/mp-rest-client/pom.xml
----------------------------------------------------------------------
diff --git a/examples/mp-rest-client/pom.xml b/examples/mp-rest-client/pom.xml
index bd4b2bc..3dca928 100755
--- a/examples/mp-rest-client/pom.xml
+++ b/examples/mp-rest-client/pom.xml
@@ -109,6 +109,12 @@
<target>1.8</target>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <failOnMissingWebXml>false</failOnMissingWebXml>
+ </configuration>
+ </plugin>
</plugins>
</build>
http://git-wip-us.apache.org/repos/asf/tomee/blob/f43b8bbc/examples/mp-rest-client/src/main/java/org/superbiz/rest/ApplicationConfig.java
----------------------------------------------------------------------
diff --git a/examples/mp-rest-client/src/main/java/org/superbiz/rest/ApplicationConfig.java b/examples/mp-rest-client/src/main/java/org/superbiz/rest/ApplicationConfig.java
index ec64bd1..6fa17ac 100644
--- a/examples/mp-rest-client/src/main/java/org/superbiz/rest/ApplicationConfig.java
+++ b/examples/mp-rest-client/src/main/java/org/superbiz/rest/ApplicationConfig.java
@@ -1,3 +1,20 @@
+/*
+ * 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
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * 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 org.superbiz.rest;
import javax.ws.rs.ApplicationPath;
http://git-wip-us.apache.org/repos/asf/tomee/blob/f43b8bbc/examples/mp-rest-client/src/main/java/org/superbiz/rest/Book.java
----------------------------------------------------------------------
diff --git a/examples/mp-rest-client/src/main/java/org/superbiz/rest/Book.java b/examples/mp-rest-client/src/main/java/org/superbiz/rest/Book.java
index f3eb767..274282c 100644
--- a/examples/mp-rest-client/src/main/java/org/superbiz/rest/Book.java
+++ b/examples/mp-rest-client/src/main/java/org/superbiz/rest/Book.java
@@ -1,3 +1,20 @@
+/*
+ * 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
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * 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 org.superbiz.rest;
import javax.xml.bind.annotation.XmlRootElement;
http://git-wip-us.apache.org/repos/asf/tomee/blob/f43b8bbc/examples/mp-rest-client/src/main/java/org/superbiz/rest/BookBean.java
----------------------------------------------------------------------
diff --git a/examples/mp-rest-client/src/main/java/org/superbiz/rest/BookBean.java b/examples/mp-rest-client/src/main/java/org/superbiz/rest/BookBean.java
index 76f7d88..b477603 100644
--- a/examples/mp-rest-client/src/main/java/org/superbiz/rest/BookBean.java
+++ b/examples/mp-rest-client/src/main/java/org/superbiz/rest/BookBean.java
@@ -1,3 +1,20 @@
+/*
+ * 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
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * 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 org.superbiz.rest;
import javax.annotation.PostConstruct;
http://git-wip-us.apache.org/repos/asf/tomee/blob/f43b8bbc/examples/mp-rest-client/src/main/java/org/superbiz/rest/BookResource.java
----------------------------------------------------------------------
diff --git a/examples/mp-rest-client/src/main/java/org/superbiz/rest/BookResource.java b/examples/mp-rest-client/src/main/java/org/superbiz/rest/BookResource.java
index 5885097..ea3ef14 100644
--- a/examples/mp-rest-client/src/main/java/org/superbiz/rest/BookResource.java
+++ b/examples/mp-rest-client/src/main/java/org/superbiz/rest/BookResource.java
@@ -1,3 +1,20 @@
+/*
+ * 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
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * 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 org.superbiz.rest;
http://git-wip-us.apache.org/repos/asf/tomee/blob/f43b8bbc/examples/mp-rest-client/src/test/java/org/superbiz/rest/BookResourceClient.java
----------------------------------------------------------------------
diff --git a/examples/mp-rest-client/src/test/java/org/superbiz/rest/BookResourceClient.java b/examples/mp-rest-client/src/test/java/org/superbiz/rest/BookResourceClient.java
index 5ce735f..6d4eb86 100644
--- a/examples/mp-rest-client/src/test/java/org/superbiz/rest/BookResourceClient.java
+++ b/examples/mp-rest-client/src/test/java/org/superbiz/rest/BookResourceClient.java
@@ -1,3 +1,20 @@
+/*
+ * 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
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * 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 org.superbiz.rest;
http://git-wip-us.apache.org/repos/asf/tomee/blob/f43b8bbc/examples/mp-rest-client/src/test/java/org/superbiz/rest/BookResourceTest.java
----------------------------------------------------------------------
diff --git a/examples/mp-rest-client/src/test/java/org/superbiz/rest/BookResourceTest.java b/examples/mp-rest-client/src/test/java/org/superbiz/rest/BookResourceTest.java
index 8816c80..62533cf 100644
--- a/examples/mp-rest-client/src/test/java/org/superbiz/rest/BookResourceTest.java
+++ b/examples/mp-rest-client/src/test/java/org/superbiz/rest/BookResourceTest.java
@@ -1,3 +1,20 @@
+/*
+ * 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
+ * <p/>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p/>
+ * 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 org.superbiz.rest;
import org.eclipse.microprofile.rest.client.inject.RestClient;