You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by cs...@apache.org on 2012/01/27 18:02:22 UTC

svn commit: r1236762 - /cxf/trunk/rt/databinding/jaxb-adapter/pom.xml

Author: cschneider
Date: Fri Jan 27 17:02:22 2012
New Revision: 1236762

URL: http://svn.apache.org/viewvc?rev=1236762&view=rev
Log:
CXF-4069 Fix for Java 5

Modified:
    cxf/trunk/rt/databinding/jaxb-adapter/pom.xml

Modified: cxf/trunk/rt/databinding/jaxb-adapter/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb-adapter/pom.xml?rev=1236762&r1=1236761&r2=1236762&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb-adapter/pom.xml (original)
+++ cxf/trunk/rt/databinding/jaxb-adapter/pom.xml Fri Jan 27 17:02:22 2012
@@ -1,22 +1,12 @@
-<!--
-  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.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<!-- 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. -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <artifactId>cxf-rt-databinding-jaxb-adapter</artifactId>
     <packaging>jar</packaging>
@@ -31,4 +21,19 @@
         <relativePath>../../../parent/pom.xml</relativePath>
     </parent>
 
+    <profiles>
+        <profile>
+            <id>jdk15</id>
+            <activation>
+                <jdk>1.5</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.xml.bind</groupId>
+                    <artifactId>jaxb-api</artifactId>
+                    <version>2.1</version>
+                </dependency>
+            </dependencies>
+        </profile>
+    </profiles>
 </project>