Update Javax APIs in order to build with Java 11 constraints. OSGi
[gpl/argeo-tp.git] / META-INF / spring / javax.xml
index 3f439f7c97c19bd0b3ebdd6e3fccf4d3536e34d8..b9e0deaee50296a55c08e8ff1736b3a5c68545f7 100644 (file)
                </property>
        </bean>
 
-       <bean id="javax.transaction" p:version="1.1.0"
-               p:sourceCoords="javax.transaction:jta:1.1"
+       <bean id="javax.transaction-api"
+               p:sourceCoords="javax.transaction:javax.transaction-api:1.3"
                parent="template.mavenJavax">
                <property name="license">
+                       <!-- GPL with classpath exception -->
                        <util:constant
-                               static-field="org.argeo.slc.repo.FreeLicense.CDDL" />
+                               static-field="org.argeo.slc.repo.FreeLicense.GPL" />
+               </property>
+               <property name="doNotModify" value="true" />
+               <!-- <property name="bndProperties"> -->
+               <!-- <props merge="true"> -->
+               <!-- <prop key="Fragment-Host">system.bundle; extension:=framework</prop> -->
+               <!-- </props> -->
+               <!-- </property> -->
+       </bean>
+
+       <bean id="javax.interceptor-api"
+               p:sourceCoords="javax.interceptor:javax.interceptor-api:1.2.2"
+               parent="template.mavenJavax">
+               <property name="license">
+                       <!-- GPL with classpath exception -->
+                       <util:constant
+                               static-field="org.argeo.slc.repo.FreeLicense.GPL" />
+               </property>
+               <property name="doNotModify" value="true" />
+       </bean>
+
+       <bean id="javax.el-api"
+               p:sourceCoords="javax.el:javax.el-api:2.2.5"
+               parent="template.mavenJavax">
+               <property name="license">
+                       <!-- GPL with classpath exception -->
+                       <util:constant
+                               static-field="org.argeo.slc.repo.FreeLicense.GPL" />
                </property>
-               <property name="bndProperties">
-                       <props merge="true">
-                               <prop key="Fragment-Host">system.bundle; extension:=framework</prop>
-                       </props>
+               <property name="doNotModify" value="true" />
+       </bean>
+
+       <bean id="javax.enterprise.cdi-api" p:version="2.0.0.SP1"
+               p:sourceCoords="javax.enterprise:cdi-api:2.0.SP1"
+               parent="template.mavenJavax">
+               <property name="license">
+                       <!-- GPL with classpath exception -->
+                       <util:constant
+                               static-field="org.argeo.slc.repo.FreeLicense.APACHE" />
                </property>
+               <property name="doNotModify" value="true" />
        </bean>
 
        <!-- Javax transaction 1.3 has dependencies -->
@@ -60,8 +95,8 @@
                </property>
        </bean>
 
-       <bean id="javax.annotation" p:version="1.2.0"
-               p:sourceCoords="javax.annotation:javax.annotation-api:1.2"
+       <bean id="javax.annotation"
+               p:sourceCoords="javax.annotation:javax.annotation-api:1.3.2"
                parent="template.mavenJavax">
                <property name="license">
                        <!-- GPL with classpath exception -->
                </property>
        </bean>
 
+       <!-- Hipster technologies -->
+       <bean id="javax.websocket"
+               p:sourceCoords="javax.websocket:javax.websocket-api:1.1"
+               parent="template.mavenJavax">
+               <property name="doNotModify" value="true" />
+       </bean>
+
+       <bean id="javax.persistence"
+               p:sourceCoords="org.eclipse.persistence:javax.persistence:2.2.1"
+               parent="template.mavenJavax">
+               <property name="doNotModify" value="true" />
+       </bean>
+
+       <bean id="javax.ws.rs"
+               p:sourceCoords="javax.ws.rs:javax.ws.rs-api:2.1.1"
+               parent="template.mavenJavax">
+       </bean>
+
+       <bean id="javax.xml.bind" p:version="2.4.0"
+               p:sourceCoords="javax.xml.bind:jaxb-api:2.4.0-b180830.0359"
+               parent="template.mavenJavax">
+       </bean>
+
        <!-- Templates -->
        <bean name="template.mavenJavax" p:groupId="org.argeo.tp.javax"
                abstract="true" parent="template.mavenWrapper" />