Make SLC v1 compatible with Java 11.
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 15 Feb 2020 06:47:35 +0000 (07:47 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 15 Feb 2020 06:47:35 +0000 (07:47 +0100)
24 files changed:
dep/org.argeo.slc.dep.backend/pom.xml
dep/org.argeo.slc.dep.e4.rap/pom.xml
dep/org.argeo.slc.dep.minimal/pom.xml
dep/org.argeo.slc.dep.spring/pom.xml
dep/pom.xml
legacy/argeo-commons/dep/org.argeo.dep.cms.platform/pom.xml
legacy/argeo-commons/dep/pom.xml
legacy/argeo-commons/org.argeo.cms.ui.workbench.rap/pom.xml
legacy/argeo-commons/org.argeo.cms.ui.workbench/pom.xml
legacy/argeo-commons/org.argeo.ext.rap.ui.workbench/pom.xml
legacy/argeo-commons/pom.xml
legacy/org.argeo.legacy.fake.java8/.classpath [new file with mode: 0644]
legacy/org.argeo.legacy.fake.java8/.gitignore [new file with mode: 0644]
legacy/org.argeo.legacy.fake.java8/.project [new file with mode: 0644]
legacy/org.argeo.legacy.fake.java8/META-INF/.gitignore [new file with mode: 0644]
legacy/org.argeo.legacy.fake.java8/bnd.bnd [new file with mode: 0644]
legacy/org.argeo.legacy.fake.java8/build.properties [new file with mode: 0644]
legacy/org.argeo.legacy.fake.java8/pom.xml [new file with mode: 0644]
legacy/org.argeo.legacy.fake.java8/src/javax/rmi/Fake.java [new file with mode: 0644]
legacy/org.argeo.legacy.fake.java8/src/javax/xml/ws/Fake.java [new file with mode: 0644]
legacy/org.argeo.legacy.fake.java8/src/org/omg/CORBA/Fake.java [new file with mode: 0644]
legacy/pom.xml
org.argeo.slc.support/bnd.bnd
pom.xml

index 77792933cb095d65405c29e8ac587be332be00b5..4089d164adeeee01fba5af45224049831313af75 100644 (file)
        </parent>
        <artifactId>org.argeo.slc.dep.backend</artifactId>
        <name>SLC Backend</name>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-                               <configuration>
-                                       <instructions>
-                                               <SLC-ModularDistribution>default</SLC-ModularDistribution>
-                                       </instructions>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.argeo.maven.plugins</groupId>
-                               <artifactId>argeo-osgi-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>generate-descriptors</id>
-                                               <goals>
-                                                       <goal>descriptors</goal>
-                                               </goals>
-                                               <phase>generate-resources</phase>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
-       </build>
        <dependencies>
                <!-- SLC Minimal -->
                <dependency>
                </dependency>
 
                <dependency>
-                       <groupId>org.argeo.tp.sdk</groupId>
-                       <artifactId>biz.aQute.bndlib</artifactId>
+               <groupId>org.argeo.tp.sdk</groupId>
+               <artifactId>biz.aQute.bndlib</artifactId>
                </dependency>
                <dependency>
-                       <groupId>org.argeo.tp.sdk</groupId>
-                       <artifactId>org.junit</artifactId>
+               <groupId>org.argeo.tp.sdk</groupId>
+               <artifactId>org.junit</artifactId>
                </dependency>
                <dependency>
-                       <groupId>org.argeo.tp.sdk</groupId>
-                       <artifactId>org.redline-rpm</artifactId>
+               <groupId>org.argeo.tp.sdk</groupId>
+               <artifactId>org.redline-rpm</artifactId>
                </dependency>
                <dependency>
-                       <groupId>org.argeo.tp.misc</groupId>
-                       <artifactId>com.googlecode.javaewah.JavaEWAH</artifactId>
+               <groupId>org.argeo.tp.misc</groupId>
+               <artifactId>com.googlecode.javaewah.JavaEWAH</artifactId>
                </dependency>
                <dependency>
-                       <groupId>org.argeo.tp.misc</groupId>
-                       <artifactId>org.eclipse.jgit</artifactId>
+               <groupId>org.argeo.tp.misc</groupId>
+               <artifactId>org.eclipse.jgit</artifactId>
                </dependency>
 
 
                                                        </execution>
                                                </executions>
                                        </plugin>
-                                       <!-- <plugin> -->
-                                       <!-- <groupId>org.apache.maven.plugins</groupId> -->
-                                       <!-- <artifactId>maven-dependency-plugin</artifactId> -->
-                                       <!-- <executions> -->
-                                       <!-- <execution> -->
-                                       <!-- <id>copy-argeo</id> -->
-                                       <!-- <phase>package</phase> -->
-                                       <!-- <goals> -->
-                                       <!-- <goal>copy-dependencies</goal> -->
-                                       <!-- </goals> -->
-                                       <!-- <configuration> -->
-                                       <!-- <includeTypes>jar</includeTypes> -->
-                                       <!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
-                                       <!-- <includeGroupIds>org.argeo.slc</includeGroupIds> -->
-                                       <!-- <excludeTransitive>true</excludeTransitive> -->
-                                       <!-- <excludeArtifactIds>org.argeo.slc.dep.minimal</excludeArtifactIds> -->
-                                       <!-- <includeTypes>jar</includeTypes> -->
-                                       <!-- <includeScope>runtime</includeScope> -->
-                                       <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
-                                       <!-- </configuration> -->
-                                       <!-- </execution> -->
-                                       <!-- </executions> -->
-                                       <!-- </plugin> -->
                                        <plugin>
                                                <groupId>org.codehaus.mojo</groupId>
                                                <artifactId>rpm-maven-plugin</artifactId>
                                                                                                </source>
                                                                                        </sources>
                                                                                </mapping>
-                                                                               <!-- <mapping> -->
-                                                                               <!-- <directory>/usr/share/osgi/org/argeo/slc/${project.artifactId}/${project.version}</directory> -->
-                                                                               <!-- <username>root</username> -->
-                                                                               <!-- <groupname>root</groupname> -->
-                                                                               <!-- <directoryIncluded>false</directoryIncluded> -->
-                                                                               <!-- <artifact /> -->
-                                                                               <!-- </mapping> -->
                                                                        </mappings>
                                                                        <requires>
                                                                                <require>argeo-cms-platform</require>
                                                                                <require>argeo-cms-sdk-tp</require>
-                                                                               <require>slc-agent</require>
+                                                                               <require>slc-spring</require>
                                                                        </requires>
                                                                </configuration>
                                                        </execution>
index aea4c1ef06d82ee76f5e5095aeada3112f28a9da..cc9220c669296e0f9d9e3ec3f60bb04a85455856 100644 (file)
        </parent>
        <artifactId>org.argeo.slc.dep.e4.rap</artifactId>
        <name>SLC E4 RAP</name>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-                               <configuration>
-                                       <instructions>
-                                               <SLC-ModularDistribution>default</SLC-ModularDistribution>
-                                       </instructions>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.argeo.maven.plugins</groupId>
-                               <artifactId>argeo-osgi-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>generate-descriptors</id>
-                                               <goals>
-                                                       <goal>descriptors</goal>
-                                               </goals>
-                                               <phase>generate-resources</phase>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
-       </build>
        <dependencies>
                <!-- Parent dependencies -->
                <dependency>
                <!-- <groupId>org.argeo.tp.apache.ant</groupId> -->
                <!-- <artifactId>org.apache.ant.launch</artifactId> -->
                <!-- </dependency> -->
-               <dependency>
-                       <groupId>org.argeo.tp.sdk</groupId>
-                       <artifactId>biz.aQute.bndlib</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.tp.sdk</groupId>
-                       <artifactId>org.junit</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.tp.sdk</groupId>
-                       <artifactId>org.redline-rpm</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.tp.misc</groupId>
-                       <artifactId>com.googlecode.javaewah.JavaEWAH</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.tp.misc</groupId>
-                       <artifactId>org.eclipse.jgit</artifactId>
-               </dependency>
+
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.tp.sdk</groupId> -->
+<!--                   <artifactId>biz.aQute.bndlib</artifactId> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.tp.sdk</groupId> -->
+<!--                   <artifactId>org.junit</artifactId> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.tp.sdk</groupId> -->
+<!--                   <artifactId>org.redline-rpm</artifactId> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.tp.misc</groupId> -->
+<!--                   <artifactId>com.googlecode.javaewah.JavaEWAH</artifactId> -->
+<!--           </dependency> -->
+<!--           <dependency> -->
+<!--                   <groupId>org.argeo.tp.misc</groupId> -->
+<!--                   <artifactId>org.eclipse.jgit</artifactId> -->
+<!--           </dependency> -->
        </dependencies>
        <profiles>
                <profile>
                                                                        </mappings>
                                                                        <requires>
                                                                                <require>argeo-cms-e4-rap</require>
-                                                                               <require>slc-agent</require>
+                                                                               <require>argeo-cms-sdk-tp</require>
+                                                                               <require>slc-spring</require>
                                                                        </requires>
                                                                </configuration>
                                                        </execution>
index 6367fda6636b09985b1c551745229ff0407179e6..375be5664a94662192941c61fe740b2617d3ba61 100644 (file)
        </parent>
        <artifactId>org.argeo.slc.dep.minimal</artifactId>
        <name>SLC Agent</name>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-                               <configuration>
-                                       <instructions>
-                                               <SLC-ModularDistribution>default</SLC-ModularDistribution>
-                                       </instructions>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.argeo.maven.plugins</groupId>
-                               <artifactId>argeo-osgi-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>generate-descriptors</id>
-                                               <goals>
-                                                       <goal>descriptors</goal>
-                                               </goals>
-                                               <phase>generate-resources</phase>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                       <!-- <plugin> -->
-                       <!-- <groupId>org.apache.maven.plugins</groupId> -->
-                       <!-- <artifactId>maven-dependency-plugin</artifactId> -->
-                       <!-- <executions> -->
-                       <!-- <execution> -->
-                       <!-- <id>copy-dependencies</id> -->
-                       <!-- <phase>package</phase> -->
-                       <!-- <goals> -->
-                       <!-- <goal>copy-dependencies</goal> -->
-                       <!-- </goals> -->
-                       <!-- </execution> -->
-                       <!-- </executions> -->
-                       <!-- </plugin> -->
-               </plugins>
-       </build>
        <dependencies>
                <!-- Parent dependencies -->
                <dependency>
index 05ab65c55697111fee0ed7c04b2cd5cb02b4b47a..c0ee727527ea4990ac5c5def6f15c5c296dae7fd 100644 (file)
@@ -1,4 +1,6 @@
-<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">
+<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>
        <parent>
                <groupId>org.argeo.slc</groupId>
@@ -8,45 +10,6 @@
        </parent>
        <artifactId>org.argeo.slc.dep.spring</artifactId>
        <name>SLC Agent based on Spring</name>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-                               <configuration>
-                                       <instructions>
-                                               <SLC-ModularDistribution>default</SLC-ModularDistribution>
-                                       </instructions>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.argeo.maven.plugins</groupId>
-                               <artifactId>argeo-osgi-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>generate-descriptors</id>
-                                               <goals>
-                                                       <goal>descriptors</goal>
-                                               </goals>
-                                               <phase>generate-resources</phase>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                       <!-- <plugin> -->
-                       <!-- <groupId>org.apache.maven.plugins</groupId> -->
-                       <!-- <artifactId>maven-dependency-plugin</artifactId> -->
-                       <!-- <executions> -->
-                       <!-- <execution> -->
-                       <!-- <id>copy-dependencies</id> -->
-                       <!-- <phase>package</phase> -->
-                       <!-- <goals> -->
-                       <!-- <goal>copy-dependencies</goal> -->
-                       <!-- </goals> -->
-                       <!-- </execution> -->
-                       <!-- </executions> -->
-                       <!-- </plugin> -->
-               </plugins>
-       </build>
        <dependencies>
                <!-- Parent dependencies -->
                <dependency>
                        <version>2.1.17-SNAPSHOT</version>
                </dependency>
 
+               <!-- Transitional fake Java 8 APIs, required by old version of Spring, 
+                       in the process of being removed -->
+               <dependency>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.legacy.fake.java8</artifactId>
+                       <version>2.1.17-SNAPSHOT</version>
+               </dependency>
+
                <!-- Base Spring dependency -->
                <dependency>
                        <groupId>org.argeo.tp.spring</groupId>
                        <artifactId>org.argeo.slc.agent.jcr</artifactId>
                        <version>2.1.17-SNAPSHOT</version>
                </dependency>
-               <!-- <dependency> -->
-               <!-- <groupId>org.argeo.slc</groupId> -->
-               <!-- <artifactId>org.argeo.slc.node.jackrabbit</artifactId> -->
-               <!-- <version>2.1.5-SNAPSHOT</version> -->
-               <!-- </dependency> -->
-
-
-               <!-- Base Spring dependency -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.spring</groupId> -->
-<!--                   <artifactId>org.springframework.beans</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.spring</groupId> -->
-<!--                   <artifactId>org.springframework.core</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.javax</groupId> -->
-<!--                   <artifactId>javax.el</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.gemini</groupId> -->
-<!--                   <artifactId>org.eclipse.gemini.blueprint.core</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.gemini</groupId> -->
-<!--                   <artifactId>org.eclipse.gemini.blueprint.extender</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.gemini</groupId> -->
-<!--                   <artifactId>org.eclipse.gemini.blueprint.io</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.misc</groupId> -->
-<!--                   <artifactId>org.aspectj.weaver</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.misc</groupId> -->
-<!--                   <artifactId>org.aopalliance</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.spring</groupId> -->
-<!--                   <artifactId>org.springframework.aop</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.spring</groupId> -->
-<!--                   <artifactId>org.springframework.context</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.spring</groupId> -->
-<!--                   <artifactId>org.springframework.expression</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.spring</groupId> -->
-<!--                   <artifactId>org.springframework.instrument</artifactId> -->
-<!--           </dependency> -->
-
-               <!-- Spring -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.spring</groupId> -->
-<!--                   <artifactId>org.springframework.aspects</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.spring</groupId> -->
-<!--                   <artifactId>org.springframework.context.support</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.spring</groupId> -->
-<!--                   <artifactId>org.springframework.jdbc</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.spring</groupId> -->
-<!--                   <artifactId>org.springframework.tx</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.spring</groupId> -->
-<!--                   <artifactId>org.springframework.web</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.spring</groupId> -->
-<!--                   <artifactId>org.springframework.web.servlet</artifactId> -->
-<!--           </dependency> -->
-
        </dependencies>
        <profiles>
                <profile>
                                                        </execution>
                                                </executions>
                                        </plugin>
-                                       <!-- <plugin> -->
-                                       <!-- <groupId>org.apache.maven.plugins</groupId> -->
-                                       <!-- <artifactId>maven-dependency-plugin</artifactId> -->
-                                       <!-- <executions> -->
-                                       <!-- <execution> -->
-                                       <!-- <id>copy-argeo</id> -->
-                                       <!-- <phase>package</phase> -->
-                                       <!-- <goals> -->
-                                       <!-- <goal>copy-dependencies</goal> -->
-                                       <!-- </goals> -->
-                                       <!-- <configuration> -->
-                                       <!-- <includeTypes>jar</includeTypes> -->
-                                       <!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
-                                       <!-- <includeGroupIds>org.argeo.slc</includeGroupIds> -->
-                                       <!-- <excludeTransitive>true</excludeTransitive> -->
-                                       <!-- <excludeArtifactIds>org.argeo.dep.cms.node</excludeArtifactIds> -->
-                                       <!-- <includeTypes>jar</includeTypes> -->
-                                       <!-- <includeScope>runtime</includeScope> -->
-                                       <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
-                                       <!-- </configuration> -->
-                                       <!-- </execution> -->
-                                       <!-- </executions> -->
-                                       <!-- </plugin> -->
                                        <plugin>
                                                <groupId>org.codehaus.mojo</groupId>
                                                <artifactId>rpm-maven-plugin</artifactId>
                                                                        <goal>rpm</goal>
                                                                </goals>
                                                                <configuration>
-                                                                       <name>slc-agent</name>
+                                                                       <name>slc-spring</name>
                                                                        <mappings>
                                                                                <mapping>
                                                                                        <directory>/usr/share/osgi</directory>
                                                                                                </source>
                                                                                        </sources>
                                                                                </mapping>
-                                                                               <!-- <mapping> -->
-                                                                               <!-- <directory>/usr/share/osgi/org/argeo/slc/${project.artifactId}/${project.version}</directory> -->
-                                                                               <!-- <username>root</username> -->
-                                                                               <!-- <groupname>root</groupname> -->
-                                                                               <!-- <directoryIncluded>false</directoryIncluded> -->
-                                                                               <!-- <artifact /> -->
-                                                                               <!-- </mapping> -->
                                                                        </mappings>
                                                                        <requires>
                                                                                <require>argeo-cms-node</require>
+                                                                               <require>slc-spring-tp</require>
                                                                        </requires>
                                                                </configuration>
                                                        </execution>
                                </plugins>
                        </build>
                </profile>
+               <profile>
+                       <id>rpmbuild-tp</id>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               <artifactId>maven-assembly-plugin</artifactId>
+                                               <executions>
+                                                       <execution>
+                                                               <id>prepare-source-tp</id>
+                                                               <phase>package</phase>
+                                                               <goals>
+                                                                       <goal>single</goal>
+                                                               </goals>
+                                                               <configuration>
+                                                                       <descriptorRefs>
+                                                                               <descriptorRef>a2-source-tp</descriptorRef>
+                                                                       </descriptorRefs>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                                       <plugin>
+                                               <groupId>org.codehaus.mojo</groupId>
+                                               <artifactId>rpm-maven-plugin</artifactId>
+                                               <executions>
+                                                       <execution>
+                                                               <id>rpm-tp</id>
+                                                               <phase>package</phase>
+                                                               <goals>
+                                                                       <goal>rpm</goal>
+                                                               </goals>
+                                                               <configuration>
+                                                                       <name>slc-spring-tp</name>
+                                                                       <projversion>${version.argeo-tp}</projversion>
+                                                                       <mappings>
+                                                                               <mapping>
+                                                                                       <directory>/usr/share/osgi</directory>
+                                                                                       <username>root</username>
+                                                                                       <groupname>root</groupname>
+                                                                                       <filemode>644</filemode>
+                                                                                       <directoryIncluded>false</directoryIncluded>
+                                                                                       <sources>
+                                                                                               <source>
+                                                                                                       <location>${project.build.directory}/${project.artifactId}-${project.version}-a2-source-tp</location>
+                                                                                                       <includes>
+                                                                                                               <include>**/*.jar</include>
+                                                                                                       </includes>
+                                                                                               </source>
+                                                                                       </sources>
+                                                                               </mapping>
+                                                                       </mappings>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
        </profiles>
 </project>
\ No newline at end of file
index d473533aa5fc67cf2fb0de187c00dd485e1661fe..6a5d92084a1a5e49538ba8d0cc28b717c7c0808a 100644 (file)
                        <plugin>
                                <groupId>org.apache.felix</groupId>
                                <artifactId>maven-bundle-plugin</artifactId>
+                               <configuration>
+                                       <instructions>
+                                               <SLC-ModularDistribution>default</SLC-ModularDistribution>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.argeo.maven.plugins</groupId>
+                               <artifactId>argeo-osgi-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>generate-descriptors</id>
+                                               <goals>
+                                                       <goal>descriptors</goal>
+                                               </goals>
+                                               <phase>generate-resources</phase>
+                                       </execution>
+                               </executions>
                        </plugin>
                        <plugin>
                                <artifactId>maven-assembly-plugin</artifactId>
                        </dependencies>
                </profile>
        </profiles>
-<!--   <profiles> -->
-<!--           <profile> -->
-<!--                   <id>rpmbuild</id> -->
-<!--                   <build> -->
-<!--                           <plugins> -->
-<!--                                   <plugin> -->
-<!--                                           <artifactId>maven-antrun-plugin</artifactId> -->
-<!--                                           <executions> -->
-<!--                                                   <execution> -->
-<!--                                                           <phase>install</phase> -->
-<!--                                                           <goals> -->
-<!--                                                                   <goal>run</goal> -->
-<!--                                                           </goals> -->
-<!--                                                           <configuration> -->
-<!--                                                                   <target> -->
-<!--                                                                           <copy todir="${rpm.stagingRepository}" verbose="true" -->
-<!--                                                                                   failonerror="false"> -->
-<!--                                                                                   <fileset dir="${project.build.directory}/rpm" -->
-<!--                                                                                           includes="*/RPMS/**/*.rpm" /> -->
-<!--                                                                                   <flattenmapper /> -->
-<!--                                                                           </copy> -->
-<!--                                                                   </target> -->
-<!--                                                           </configuration> -->
-<!--                                                   </execution> -->
-<!--                                           </executions> -->
-<!--                                   </plugin> -->
-<!--                           </plugins> -->
-<!--                   </build> -->
-<!--           </profile> -->
-<!--   </profiles> -->
 </project>
\ No newline at end of file
index 249782a8bc2dbe2d647186ff5b1527e97acc9300..fb125e920e0d81c0973cec813b5a37ee4c2ef808 100644 (file)
@@ -6,7 +6,7 @@
        <parent>
                <groupId>org.argeo.slc.legacy.commons</groupId>
                <artifactId>legacy-dep</artifactId>
-               <version>2.1.85-SNAPSHOT</version>
+               <version>2.1.86-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
        <artifactId>org.argeo.dep.cms.platform</artifactId>
                <dependency>
                        <groupId>org.argeo.slc.legacy.commons</groupId>
                        <artifactId>org.argeo.cms.ui.workbench</artifactId>
-                       <version>2.1.85-SNAPSHOT</version>
+                       <version>${version.argeo-commons-legacy}</version>
                </dependency>
                <dependency>
                        <groupId>org.argeo.slc.legacy.commons</groupId>
                        <artifactId>org.argeo.cms.ui.workbench.rap</artifactId>
-                       <version>2.1.85-SNAPSHOT</version>
+                       <version>${version.argeo-commons-legacy}</version>
                </dependency>
                <dependency>
                        <groupId>org.argeo.slc.legacy.commons</groupId>
                        <artifactId>org.argeo.ext.rap.ui.workbench</artifactId>
-                       <version>2.1.85-SNAPSHOT</version>
+                       <version>${version.argeo-commons-legacy}</version>
                </dependency>
 
                <!-- Misc Third Parties -->
                        <groupId>org.argeo.tp.spring</groupId>
                        <artifactId>org.springframework.tx</artifactId>
                </dependency>
-               <dependency>
-                       <groupId>org.argeo.tp.spring</groupId>
-                       <artifactId>org.springframework.web</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.tp.spring</groupId>
-                       <artifactId>org.springframework.web.servlet</artifactId>
-               </dependency>
+               <!-- <dependency> -->
+               <!-- <groupId>org.argeo.tp.spring</groupId> -->
+               <!-- <artifactId>org.springframework.web</artifactId> -->
+               <!-- </dependency> -->
+               <!-- <dependency> -->
+               <!-- <groupId>org.argeo.tp.spring</groupId> -->
+               <!-- <artifactId>org.springframework.web.servlet</artifactId> -->
+               <!-- </dependency> -->
 
                <!-- Equinox HTTP registry is required by Eclipse 3 but causes problem 
                        with Eclipse 4 -->
                                                        </execution>
                                                </executions>
                                        </plugin>
-                                       <!-- <plugin> -->
-                                       <!-- <groupId>org.apache.maven.plugins</groupId> -->
-                                       <!-- <artifactId>maven-dependency-plugin</artifactId> -->
-                                       <!-- <executions> -->
-                                       <!-- <execution> -->
-                                       <!-- <id>copy-argeo</id> -->
-                                       <!-- <phase>package</phase> -->
-                                       <!-- <goals> -->
-                                       <!-- <goal>copy-dependencies</goal> -->
-                                       <!-- </goals> -->
-                                       <!-- <configuration> -->
-                                       <!-- <includeTypes>jar</includeTypes> -->
-                                       <!-- <outputDirectory>${project.build.directory}/lib-argeo</outputDirectory> -->
-                                       <!-- <includeGroupIds>org.argeo.commons</includeGroupIds> -->
-                                       <!-- <excludeTransitive>true</excludeTransitive> -->
-                                       <!-- <excludeArtifactIds>org.argeo.dep.cms.node</excludeArtifactIds> -->
-                                       <!-- <includeTypes>jar</includeTypes> -->
-                                       <!-- <includeScope>runtime</includeScope> -->
-                                       <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
-                                       <!-- </configuration> -->
-                                       <!-- </execution> -->
-                                       <!-- </executions> -->
-                                       <!-- </plugin> -->
                                        <plugin>
                                                <groupId>org.codehaus.mojo</groupId>
                                                <artifactId>rpm-maven-plugin</artifactId>
                                                                                                </source>
                                                                                        </sources>
                                                                                </mapping>
-                                                                               <!-- <mapping> -->
-                                                                               <!-- <directory>/usr/share/osgi/org/argeo/commons/${project.artifactId}/${project.version}</directory> -->
-                                                                               <!-- <username>root</username> -->
-                                                                               <!-- <groupname>root</groupname> -->
-                                                                               <!-- <directoryIncluded>false</directoryIncluded> -->
-                                                                               <!-- <artifact /> -->
-                                                                               <!-- </mapping> -->
                                                                        </mappings>
                                                                        <requires>
                                                                                <require>argeo-cms-node</require>
                                                        </execution>
                                                </executions>
                                        </plugin>
-                                       <!-- <plugin> -->
-                                       <!-- <groupId>org.apache.maven.plugins</groupId> -->
-                                       <!-- <artifactId>maven-dependency-plugin</artifactId> -->
-                                       <!-- <executions> -->
-                                       <!-- <execution> -->
-                                       <!-- <id>copy-tp</id> -->
-                                       <!-- <phase>package</phase> -->
-                                       <!-- <goals> -->
-                                       <!-- <goal>copy-dependencies</goal> -->
-                                       <!-- </goals> -->
-                                       <!-- <configuration> -->
-                                       <!-- <includeTypes>jar</includeTypes> -->
-                                       <!-- <outputDirectory>${project.build.directory}/lib-tp</outputDirectory> -->
-                                       <!-- <excludeGroupIds>org.argeo.commons</excludeGroupIds> -->
-                                       <!-- <excludeTransitive>true</excludeTransitive> -->
-                                       <!-- <includeTypes>jar</includeTypes> -->
-                                       <!-- <includeScope>runtime</includeScope> -->
-                                       <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
-                                       <!-- </configuration> -->
-                                       <!-- </execution> -->
-                                       <!-- </executions> -->
-                                       <!-- </plugin> -->
                                        <plugin>
                                                <groupId>org.codehaus.mojo</groupId>
                                                <artifactId>rpm-maven-plugin</artifactId>
index d4abd083ecefaff1d9c7de3c0544b161540c5afb..693762f48b7212a68668b32b9ad233900fd3529a 100644 (file)
@@ -6,7 +6,7 @@
        <parent>
                <groupId>org.argeo.slc.legacy.commons</groupId>
                <artifactId>argeo-commons-legacy</artifactId>
-               <version>2.1.85-SNAPSHOT</version>
+               <version>2.1.86-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
        <artifactId>legacy-dep</artifactId>
index d756da075787f03e3f203b4f8a127f6f14c704ab..72f5f3c81eecf4acef0c3ddf8804d21548ba8a33 100644 (file)
@@ -6,7 +6,7 @@
        <parent>
                <groupId>org.argeo.slc.legacy.commons</groupId>
                <artifactId>argeo-commons-legacy</artifactId>
-               <version>2.1.85-SNAPSHOT</version>
+               <version>2.1.86-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
        <artifactId>org.argeo.cms.ui.workbench.rap</artifactId>
@@ -16,7 +16,7 @@
                <dependency>
                        <groupId>org.argeo.slc.legacy.commons</groupId>
                        <artifactId>org.argeo.cms.ui.workbench</artifactId>
-                       <version>2.1.85-SNAPSHOT</version>
+                       <version>${version.argeo-commons-legacy}</version>
                </dependency>
                <!-- RAP specific -->
                <dependency>
index 134a73adf1f0a067e4f61e10af07b901a8a5c49a..f351a3c0f8b4f89615b59c6adc7a4f30c40c2811 100644 (file)
@@ -6,7 +6,7 @@
        <parent>
                <groupId>org.argeo.slc.legacy.commons</groupId>
                <artifactId>argeo-commons-legacy</artifactId>
-               <version>2.1.85-SNAPSHOT</version>
+               <version>2.1.86-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
        <artifactId>org.argeo.cms.ui.workbench</artifactId>
index fe372e2d32407e8e86b6d2666682fd3d08210931..2e9f95168c1d8d7b90adafe399a57031a28c2c2a 100644 (file)
@@ -5,7 +5,7 @@
        <parent>
                <groupId>org.argeo.slc.legacy.commons</groupId>
                <artifactId>argeo-commons-legacy</artifactId>
-               <version>2.1.85-SNAPSHOT</version>
+               <version>2.1.86-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
        <artifactId>org.argeo.ext.rap.ui.workbench</artifactId>
index e9524b3473e8f3a9590bf35a15d7c94e0eab6ce4..8a459a44f69fa847b0704a6ae0220970e80cc4c2 100644 (file)
@@ -4,13 +4,14 @@
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <parent>
-               <groupId>org.argeo.commons</groupId>
-               <artifactId>argeo-commons</artifactId>
-               <version>2.1.84</version>
+               <groupId>org.argeo.slc</groupId>
+               <artifactId>legacy</artifactId>
+               <version>2.1.17-SNAPSHOT</version>
+               <relativePath>..</relativePath>
        </parent>
        <groupId>org.argeo.slc.legacy.commons</groupId>
        <artifactId>argeo-commons-legacy</artifactId>
-       <version>2.1.85-SNAPSHOT</version>
+       <version>2.1.86-SNAPSHOT</version>
        <name>Commons Legacy</name>
        <packaging>pom</packaging>
        <properties>
diff --git a/legacy/org.argeo.legacy.fake.java8/.classpath b/legacy/org.argeo.legacy.fake.java8/.classpath
new file mode 100644 (file)
index 0000000..98582e1
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" output="target/classes" path="src"/>
+       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>>>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/legacy/org.argeo.legacy.fake.java8/.gitignore b/legacy/org.argeo.legacy.fake.java8/.gitignore
new file mode 100644 (file)
index 0000000..09e3bc9
--- /dev/null
@@ -0,0 +1,2 @@
+/bin/
+/target/
diff --git a/legacy/org.argeo.legacy.fake.java8/.project b/legacy/org.argeo.legacy.fake.java8/.project
new file mode 100644 (file)
index 0000000..30f4034
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.argeo.legacy.fake.java8</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.ManifestBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.SchemaBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+               <nature>org.eclipse.pde.PluginNature</nature>
+       </natures>
+</projectDescription>
diff --git a/legacy/org.argeo.legacy.fake.java8/META-INF/.gitignore b/legacy/org.argeo.legacy.fake.java8/META-INF/.gitignore
new file mode 100644 (file)
index 0000000..4854a41
--- /dev/null
@@ -0,0 +1 @@
+/MANIFEST.MF
diff --git a/legacy/org.argeo.legacy.fake.java8/bnd.bnd b/legacy/org.argeo.legacy.fake.java8/bnd.bnd
new file mode 100644 (file)
index 0000000..f007773
--- /dev/null
@@ -0,0 +1,2 @@
+Export-Package: javax.*;version=0.0.0,\
+org.omg.*;version=0.0.0
diff --git a/legacy/org.argeo.legacy.fake.java8/build.properties b/legacy/org.argeo.legacy.fake.java8/build.properties
new file mode 100644 (file)
index 0000000..39323f1
--- /dev/null
@@ -0,0 +1,4 @@
+bin.includes = META-INF/
+jars.compile.order = .
+source.. = src/
+output.. = target/classes/
diff --git a/legacy/org.argeo.legacy.fake.java8/pom.xml b/legacy/org.argeo.legacy.fake.java8/pom.xml
new file mode 100644 (file)
index 0000000..845217f
--- /dev/null
@@ -0,0 +1,26 @@
+<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>
+       <parent>
+               <groupId>org.argeo.slc</groupId>
+               <artifactId>legacy</artifactId>
+               <version>2.1.17-SNAPSHOT</version>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>org.argeo.legacy.fake.java8</artifactId>
+       <name>Legacy Fake Java 8 APIs</name>
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <configuration>
+                                       <instructions>
+                                               <Bundle-RequiredExecutionEnvironment>JavaSE-11</Bundle-RequiredExecutionEnvironment>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
+</project>
\ No newline at end of file
diff --git a/legacy/org.argeo.legacy.fake.java8/src/javax/rmi/Fake.java b/legacy/org.argeo.legacy.fake.java8/src/javax/rmi/Fake.java
new file mode 100644 (file)
index 0000000..e5c7921
--- /dev/null
@@ -0,0 +1,5 @@
+package javax.rmi;
+
+public class Fake {
+
+}
diff --git a/legacy/org.argeo.legacy.fake.java8/src/javax/xml/ws/Fake.java b/legacy/org.argeo.legacy.fake.java8/src/javax/xml/ws/Fake.java
new file mode 100644 (file)
index 0000000..d579f5e
--- /dev/null
@@ -0,0 +1,5 @@
+package javax.xml.ws;
+
+public class Fake {
+
+}
diff --git a/legacy/org.argeo.legacy.fake.java8/src/org/omg/CORBA/Fake.java b/legacy/org.argeo.legacy.fake.java8/src/org/omg/CORBA/Fake.java
new file mode 100644 (file)
index 0000000..cd153e5
--- /dev/null
@@ -0,0 +1,5 @@
+package org.omg.CORBA;
+
+public class Fake {
+
+}
index 9d931832081906801c984f9128893b3a9a9a54f4..1a4c72a77e9a818409222fe95607d1f1d45499e4 100644 (file)
@@ -12,6 +12,7 @@
        <packaging>pom</packaging>
        <name>SLC Legacy Argeo Software</name>
        <modules>
+               <module>org.argeo.legacy.fake.java8</module>
                <module>argeo-commons</module>
        </modules>
 </project>
\ No newline at end of file
index a6f93eda77a81084106fc70ee13360614d316a33..fc726210d027dea804dc35ccfa334ef779db6ceb 100644 (file)
@@ -1,6 +1,7 @@
 Import-Package: org.apache.commons.logging,\
 org.dbunit.*;resolution:="optional",\
 junit.framework;resolution:="optional",\
+javax.mail.*;resolution:="optional",\
 org.apache.commons.vfs.*,\
 javax.swing.plaf.metal,\
 org.osgi.*;version=0.0.0,\
diff --git a/pom.xml b/pom.xml
index 7fcd3adcce782dd7300562e5a441a1ff76289c05..572202b33f9680850fd8b63a6e0b17d17be25ddd 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
 
                <version.argeo-tp-extras>2.1.13</version.argeo-tp-extras>
 
-               <version.argeo-commons-legacy>2.1.85-SNAPSHOT</version.argeo-commons-legacy>
+               <version.argeo-commons-legacy>2.1.86-SNAPSHOT</version.argeo-commons-legacy>
        </properties>
        <modules>
                <!-- Runtime -->