Update Javax APIs in order to build with Java 11 constraints. OSGi
[gpl/argeo-tp.git] / META-INF / spring / javax.xml
index 1daeb1e8f24cfe4d1f59d94a08c6e5233615477c..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 -->