cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r442296 - in /incubator/cxf/trunk: ./ common/ common/src/test/java/org/apache/cxf/configuration/foo/
Date Mon, 11 Sep 2006 19:20:25 GMT
Author: dkulp
Date: Mon Sep 11 12:20:24 2006
New Revision: 442296

URL: http://svn.apache.org/viewvc?view=rev&rev=442296
Log:
Fix checkstyle/license issues - even generated code, if checked in to SVN, has to have the
proper apache license header

Modified:
    incubator/cxf/trunk/common/pom.xml
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Address.java
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Foo.java
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/ObjectFactory.java
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Point.java
    incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/package-info.java
    incubator/cxf/trunk/pom.xml

Modified: incubator/cxf/trunk/common/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/pom.xml?view=diff&rev=442296&r1=442295&r2=442296
==============================================================================
--- incubator/cxf/trunk/common/pom.xml (original)
+++ incubator/cxf/trunk/common/pom.xml Mon Sep 11 12:20:24 2006
@@ -39,11 +39,7 @@
             (maven xjc plugin) as opposed to codegen-plugin
         -->
         <jaxb.impl.version.test>2.0.1</jaxb.impl.version.test>
-        <!--
-            see comment on build element below
-         -->
-        <checkstyle.excludes>**/build/**/*.java,**/foo/*.java</checkstyle.excludes>
-        <pmd.excludes>**/build/**/*.java,**/foo/*.java</pmd.excludes>
+
     </properties>
 
     <!--

Modified: incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Address.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Address.java?view=diff&rev=442296&r1=442295&r2=442296
==============================================================================
--- incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Address.java
(original)
+++ incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Address.java
Mon Sep 11 12:20:24 2006
@@ -1,9 +1,21 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.1-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.09.08 at 03:31:32 PM IST 
-//
+/**
+ * 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.apache.cxf.configuration.foo;
@@ -37,12 +49,13 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "address", propOrder = {
-    "city",
-    "zip",
-    "street",
-    "nr"
-})
+@XmlType(name = "address",
+         propOrder = {
+                      "city",
+                      "zip",
+                      "street",
+                      "nr"
+          })
 public class Address {
 
     @XmlElement(required = true)

Modified: incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Foo.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Foo.java?view=diff&rev=442296&r1=442295&r2=442296
==============================================================================
--- incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Foo.java (original)
+++ incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Foo.java Mon
Sep 11 12:20:24 2006
@@ -1,11 +1,21 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.1-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.09.08 at 03:31:32 PM IST 
-//
-
-
+/**
+ * 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.apache.cxf.configuration.foo;
 
 import javax.xml.bind.annotation.XmlAccessType;
@@ -38,13 +48,14 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "foo", propOrder = {
-    "position",
-    "address",
-    "name",
-    "intDefault",
-    "intNoDefault"
-})
+@XmlType(name = "foo",
+         propOrder = {
+                      "position",
+                      "address",
+                      "name",
+                      "intDefault",
+                      "intNoDefault"
+        })
 public class Foo {
 
     protected Point position;

Modified: incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/ObjectFactory.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/ObjectFactory.java?view=diff&rev=442296&r1=442295&r2=442296
==============================================================================
--- incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/ObjectFactory.java
(original)
+++ incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/ObjectFactory.java
Mon Sep 11 12:20:24 2006
@@ -1,10 +1,21 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.1-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.09.08 at 03:31:32 PM IST 
-//
-
+/**
+ * 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.apache.cxf.configuration.foo;
 
@@ -31,12 +42,16 @@
 @XmlRegistry
 public class ObjectFactory {
 
-    private final static QName _Point_QNAME = new QName("http://cxf.apache.org/configuration/foo",
"point");
-    private final static QName _Address_QNAME = new QName("http://cxf.apache.org/configuration/foo",
"address");
-    private final static QName _Foo_QNAME = new QName("http://cxf.apache.org/configuration/foo",
"foo");
+    private static final QName POINT_QNAME = new QName("http://cxf.apache.org/configuration/foo",
+                                                       "point");
+    private static final QName ADDRESS_QNAME = new QName("http://cxf.apache.org/configuration/foo",
+                                                         "address");
+    private static final QName FOO_QNAME = new QName("http://cxf.apache.org/configuration/foo",
+                                                     "foo");
 
     /**
-     * Create a new ObjectFactory that can be used to create new instances of schema derived
classes for package: org.apache.cxf.configuration.foo
+     * Create a new ObjectFactory that can be used to create new instances of schema derived
+     * classes for package: org.apache.cxf.configuration.foo
      * 
      */
     public ObjectFactory() {
@@ -72,7 +87,7 @@
      */
     @XmlElementDecl(namespace = "http://cxf.apache.org/configuration/foo", name = "point")
     public JAXBElement<Point> createPoint(Point value) {
-        return new JAXBElement<Point>(_Point_QNAME, Point.class, null, value);
+        return new JAXBElement<Point>(POINT_QNAME, Point.class, null, value);
     }
 
     /**
@@ -81,7 +96,7 @@
      */
     @XmlElementDecl(namespace = "http://cxf.apache.org/configuration/foo", name = "address")
     public JAXBElement<Address> createAddress(Address value) {
-        return new JAXBElement<Address>(_Address_QNAME, Address.class, null, value);
+        return new JAXBElement<Address>(ADDRESS_QNAME, Address.class, null, value);
     }
 
     /**
@@ -90,7 +105,7 @@
      */
     @XmlElementDecl(namespace = "http://cxf.apache.org/configuration/foo", name = "foo")
     public JAXBElement<Foo> createFoo(Foo value) {
-        return new JAXBElement<Foo>(_Foo_QNAME, Foo.class, null, value);
+        return new JAXBElement<Foo>(FOO_QNAME, Foo.class, null, value);
     }
 
 }

Modified: incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Point.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Point.java?view=diff&rev=442296&r1=442295&r2=442296
==============================================================================
--- incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Point.java (original)
+++ incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/Point.java Mon
Sep 11 12:20:24 2006
@@ -1,10 +1,21 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.1-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.09.08 at 03:31:32 PM IST 
-//
-
+/**
+ * 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.apache.cxf.configuration.foo;
 
@@ -34,10 +45,11 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "point", propOrder = {
-    "x",
-    "y"
-})
+@XmlType(name = "point",
+         propOrder = {
+                      "x",
+                      "y"
+        })
 public class Point {
 
     protected int x;

Modified: incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/package-info.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/package-info.java?view=diff&rev=442296&r1=442295&r2=442296
==============================================================================
--- incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/package-info.java
(original)
+++ incubator/cxf/trunk/common/src/test/java/org/apache/cxf/configuration/foo/package-info.java
Mon Sep 11 12:20:24 2006
@@ -1,9 +1,22 @@
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation,
v2.0.1-b01-fcs 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>

-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2006.09.08 at 03:31:32 PM IST 
-//
+/**
+ * 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.
+ */
 
-@javax.xml.bind.annotation.XmlSchema(namespace = "http://cxf.apache.org/configuration/foo",
elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://cxf.apache.org/configuration/foo",
+                                     elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
 package org.apache.cxf.configuration.foo;

Modified: incubator/cxf/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/pom.xml?view=diff&rev=442296&r1=442295&r2=442296
==============================================================================
--- incubator/cxf/trunk/pom.xml (original)
+++ incubator/cxf/trunk/pom.xml Mon Sep 11 12:20:24 2006
@@ -121,9 +121,6 @@
     <properties>
         <topDirectoryLocation>.</topDirectoryLocation>
 
-        <checkstyle.excludes>**/build/**/*.java</checkstyle.excludes>
-        <pmd.excludes>**/build/**/*.java</pmd.excludes>
-
         <surefire.fork.mode>once</surefire.fork.mode>
         <surefire.format>brief</surefire.format>
         <surefire.usefile>false</surefire.usefile>
@@ -248,7 +245,6 @@
                                 <consoleOutput>true</consoleOutput>
                                 <failsOnError>true</failsOnError>
                                 <linkXRef>false</linkXRef>
-                                <excludes>${checkstyle.excludes}</excludes>
                                 <sourceDirectory>${basedir}/src</sourceDirectory>
                                 <propertyExpansion>
                                     apache.header.file=${basedir}/${topDirectoryLocation}/etc/apache-header.txt
@@ -268,9 +264,6 @@
                             <ruleset>${basedir}/.ruleset</ruleset>
                         </rulesets>
                         <linkXRef>false</linkXRef>
-                        <excludes>
-                            <exclude>${pmd.excludes}</exclude>
-                        </excludes>
                     </configuration>
                     <executions>
                         <execution>



Mime
View raw message