This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git
The following commit(s) were added to refs/heads/main by this push:
new 46f9fd746f Fix checkstyle / rat for TOMEE-4268
46f9fd746f is described below
commit 46f9fd746fe55abc24b28e581368d99a90157a05
Author: Richard Zowalla <[email protected]>
AuthorDate: Mon Oct 30 15:43:35 2023 +0100
Fix checkstyle / rat for TOMEE-4268
---
.../org/superbiz/microprofile/openapi/CustomReader.java | 16 ++++++++++++++++
.../superbiz/microprofile/openapi/WeatherService.java | 3 ++-
pom.xml | 2 ++
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git
a/examples/mp-openapi-reader/src/main/java/org/superbiz/microprofile/openapi/CustomReader.java
b/examples/mp-openapi-reader/src/main/java/org/superbiz/microprofile/openapi/CustomReader.java
index 2dc481d838..b651f833a1 100644
---
a/examples/mp-openapi-reader/src/main/java/org/superbiz/microprofile/openapi/CustomReader.java
+++
b/examples/mp-openapi-reader/src/main/java/org/superbiz/microprofile/openapi/CustomReader.java
@@ -1,3 +1,19 @@
+/*
+ * 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 org.superbiz.microprofile.openapi;
import io.smallrye.openapi.api.OpenApiConfig;
diff --git
a/examples/mp-openapi-reader/src/main/java/org/superbiz/microprofile/openapi/WeatherService.java
b/examples/mp-openapi-reader/src/main/java/org/superbiz/microprofile/openapi/WeatherService.java
index bc6df1889d..277e396e82 100644
---
a/examples/mp-openapi-reader/src/main/java/org/superbiz/microprofile/openapi/WeatherService.java
+++
b/examples/mp-openapi-reader/src/main/java/org/superbiz/microprofile/openapi/WeatherService.java
@@ -1,4 +1,4 @@
-package org.superbiz.microprofile.openapi; /**
+/*
* 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.
@@ -14,6 +14,7 @@ package org.superbiz.microprofile.openapi; /**
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+package org.superbiz.microprofile.openapi;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.ws.rs.Consumes;
diff --git a/pom.xml b/pom.xml
index 6a758950e7..d4842b36f0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -868,6 +868,8 @@
<exclude>**/*.log</exclude>
<exclude>**/*.json</exclude>
<exclude>**/*.jwk</exclude>
+ <exclude>**/*.yml</exclude>
+ <exclude>**/*.yaml</exclude>
<exclude>**/src/main/resources/META-INF/**/*.xsd</exclude>
<exclude>**/src/main/xsdlist/xsdlist.txt</exclude>
<exclude>**/META-INF/services/**</exclude>