try to fix rat-check
git-svn-id: https://svn.apache.org/repos/asf/xmlbeans/trunk@1879066 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build.xml b/build.xml
index ce0523c..bc43ccf 100644
--- a/build.xml
+++ b/build.xml
@@ -22,7 +22,7 @@
<property name="ant.build.javac.target" value="1.8"/>
<property name="version.base" value="4.0.0"/>
- <property name="version.rc" value="rc0"/>
+ <property name="version.rc" value=""/>
<property name="cases.location" location="src/test/resources"/>
@@ -581,9 +581,8 @@
<exclude name="**/*.iml" />
<exclude name="**/XML.xsd"/>
<exclude name="**/XMLSchema.xsd"/>
- </fileset>
- <fileset dir="src/main/resources">
- <exclude name="**/META-INF/services/**"/>
+ <exclude name="test/resources/**/*.*"/>
+ <exclude name="main/resources/**/META-INF/services/**"/>
</fileset>
</rat:report>
@@ -668,4 +667,4 @@
<attach file="${basedir}/build/xmlbeans-${version.base}-javadoc.jar" type="jar" classifier="javadoc"/>
</mvn:install>
</target>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/test/java/ValidatingXSRTests/checkin/TestUriValidation.java b/src/test/java/ValidatingXSRTests/checkin/TestUriValidation.java
index 32f83c5..749bffa 100644
--- a/src/test/java/ValidatingXSRTests/checkin/TestUriValidation.java
+++ b/src/test/java/ValidatingXSRTests/checkin/TestUriValidation.java
@@ -1,3 +1,18 @@
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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 ValidatingXSRTests.checkin;
import org.apache.xmlbeans.impl.common.InvalidLexicalValueException;
diff --git a/src/test/java/dom/detailed/w3c/alltests.java b/src/test/java/dom/detailed/w3c/alltests.java
index 17ff049..0c6e812 100755
--- a/src/test/java/dom/detailed/w3c/alltests.java
+++ b/src/test/java/dom/detailed/w3c/alltests.java
@@ -1,3 +1,17 @@
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.
+ */
/*
This Java source file was generated by test-to-java.xsl
diff --git a/src/test/java/dom/detailed/w3c/ibmtests.java b/src/test/java/dom/detailed/w3c/ibmtests.java
index 54753a8..46cb7cb 100755
--- a/src/test/java/dom/detailed/w3c/ibmtests.java
+++ b/src/test/java/dom/detailed/w3c/ibmtests.java
@@ -1,4 +1,19 @@
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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.
+ */
+
/*
This Java source file was generated by test-to-java.xsl
and is a derived work from the source document.
diff --git a/src/test/java/misc/checkin/XMLBEANS412Test.java b/src/test/java/misc/checkin/XMLBEANS412Test.java
index 3c57632..355f875 100644
--- a/src/test/java/misc/checkin/XMLBEANS412Test.java
+++ b/src/test/java/misc/checkin/XMLBEANS412Test.java
@@ -1,3 +1,18 @@
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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 misc.checkin;
import org.apache.xmlbeans.impl.regex.ParseException;
diff --git a/src/test/java/misc/detailed/JiraRegressionTest101_150.java b/src/test/java/misc/detailed/JiraRegressionTest101_150.java
index 0b675b5..23d7fc4 100644
--- a/src/test/java/misc/detailed/JiraRegressionTest101_150.java
+++ b/src/test/java/misc/detailed/JiraRegressionTest101_150.java
@@ -1,3 +1,18 @@
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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 misc.detailed;
import misc.common.JiraTestBase;
diff --git a/src/test/java/misc/detailed/LargeEnumTest.java b/src/test/java/misc/detailed/LargeEnumTest.java
index bc1b561..1826b58 100644
--- a/src/test/java/misc/detailed/LargeEnumTest.java
+++ b/src/test/java/misc/detailed/LargeEnumTest.java
@@ -1,3 +1,18 @@
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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 misc.detailed;
import org.apache.xmlbeans.SchemaType;
diff --git a/src/test/java/tools/util/Diff.java b/src/test/java/tools/util/Diff.java
index 84cf978..326c6bb 100755
--- a/src/test/java/tools/util/Diff.java
+++ b/src/test/java/tools/util/Diff.java
@@ -1,3 +1,18 @@
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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 tools.util;
// Diff -- text file difference utility.
diff --git a/src/test/java/xmlcursor/xpath/CustomerTest.java b/src/test/java/xmlcursor/xpath/CustomerTest.java
index 085c84a..eeb381f 100755
--- a/src/test/java/xmlcursor/xpath/CustomerTest.java
+++ b/src/test/java/xmlcursor/xpath/CustomerTest.java
@@ -1,5 +1,19 @@
-package xmlcursor.xpath;
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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 xmlcursor.xpath;
import org.apache.xmlbeans.XmlException;
import org.apache.xmlbeans.XmlObject;
diff --git a/src/test/java/xmlobject/checkin/XPathTest.java b/src/test/java/xmlobject/checkin/XPathTest.java
index 1aa9f0e..f2de712 100644
--- a/src/test/java/xmlobject/checkin/XPathTest.java
+++ b/src/test/java/xmlobject/checkin/XPathTest.java
@@ -1,3 +1,18 @@
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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 xmlobject.checkin;
import org.apache.xmlbeans.XmlCursor;
diff --git a/src/test/java/xmlobject/usertype/averageCase/existing/SKU.java b/src/test/java/xmlobject/usertype/averageCase/existing/SKU.java
index 63f7a27..244c3ba 100644
--- a/src/test/java/xmlobject/usertype/averageCase/existing/SKU.java
+++ b/src/test/java/xmlobject/usertype/averageCase/existing/SKU.java
@@ -1,3 +1,18 @@
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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 xmlobject.usertype.averageCase.existing;
public class SKU
diff --git a/src/test/java/xmlobject/usertype/averageCase/existing/SKUHandler.java b/src/test/java/xmlobject/usertype/averageCase/existing/SKUHandler.java
index 310bad6..7032fb6 100644
--- a/src/test/java/xmlobject/usertype/averageCase/existing/SKUHandler.java
+++ b/src/test/java/xmlobject/usertype/averageCase/existing/SKUHandler.java
@@ -1,3 +1,18 @@
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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 xmlobject.usertype.averageCase.existing;
import org.apache.xmlbeans.SimpleValue;
diff --git a/src/test/java/xmlobject/usertype/multipleItems/existing/Room.java b/src/test/java/xmlobject/usertype/multipleItems/existing/Room.java
index 94ead9b..e44d290 100644
--- a/src/test/java/xmlobject/usertype/multipleItems/existing/Room.java
+++ b/src/test/java/xmlobject/usertype/multipleItems/existing/Room.java
@@ -1,3 +1,18 @@
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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 xmlobject.usertype.multipleItems.existing;
public class Room
diff --git a/src/test/java/xmlobject/usertype/multipleItems/existing/RoomHandler.java b/src/test/java/xmlobject/usertype/multipleItems/existing/RoomHandler.java
index f7c70c6..22a05cb 100644
--- a/src/test/java/xmlobject/usertype/multipleItems/existing/RoomHandler.java
+++ b/src/test/java/xmlobject/usertype/multipleItems/existing/RoomHandler.java
@@ -1,3 +1,18 @@
+/* Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed 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 xmlobject.usertype.multipleItems.existing;
import org.apache.xmlbeans.SimpleValue;