]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - dep/org.argeo.slc.dep.backend/pom.xml
[maven-release-plugin] prepare release argeo-slc-2.1.17
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.backend / pom.xml
index d11661355483637f0c945e44dbd3247748d2516a..99c667298124c46d24c059c28ff1224e6d31ddd1 100644 (file)
@@ -3,42 +3,18 @@
        <parent>
                <groupId>org.argeo.slc</groupId>
                <artifactId>dep</artifactId>
-               <version>2.1.5-SNAPSHOT</version>
+               <version>2.1.17</version>
                <relativePath>..</relativePath>
        </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>maven-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>
                        <groupId>org.argeo.slc</groupId>
-                       <artifactId>org.argeo.slc.dep.minimal</artifactId>
-                       <version>2.1.5-SNAPSHOT</version>
+                       <artifactId>org.argeo.slc.dep.spring</artifactId>
+                       <version>2.1.17</version>
+                       <type>pom</type>
                </dependency>
 
                <!-- SLC Libs -->
                <dependency>
                        <groupId>org.argeo.slc</groupId>
                        <artifactId>org.argeo.slc.support</artifactId>
-                       <version>2.1.5-SNAPSHOT</version>
+                       <version>2.1.17</version>
                </dependency>
 
                <!-- SLC Repo -->
                <dependency>
                        <groupId>org.argeo.slc</groupId>
                        <artifactId>org.argeo.slc.repo</artifactId>
-                       <version>2.1.5-SNAPSHOT</version>
+                       <version>2.1.17</version>
                </dependency>
                <dependency>
                        <groupId>org.argeo.slc</groupId>
                        <artifactId>org.argeo.slc.factory</artifactId>
-                       <version>2.1.5-SNAPSHOT</version>
+                       <version>2.1.17</version>
                </dependency>
                <dependency>
                        <groupId>org.argeo.slc</groupId>
                        <artifactId>org.argeo.slc.server.repo</artifactId>
-                       <version>2.1.5-SNAPSHOT</version>
+                       <version>2.1.17</version>
                </dependency>
                <!-- <dependency> -->
                <!-- <groupId>org.argeo.slc</groupId> -->
                <!-- <version>2.1.1-SNAPSHOT</version> -->
                <!-- </dependency> -->
 
-               <!-- Node -->
-               <dependency>
-                       <groupId>org.argeo.commons</groupId>
-                       <artifactId>org.argeo.dep.cms.sdk</artifactId>
-                       <version>${version.argeo-commons}</version>
-               </dependency>
-
                <!-- UI -->
                <dependency>
                        <groupId>org.argeo.slc</groupId>
                        <artifactId>org.argeo.slc.client.ui</artifactId>
-                       <version>2.1.5-SNAPSHOT</version>
+                       <version>2.1.17</version>
                </dependency>
                <dependency>
                        <groupId>org.argeo.slc</groupId>
                        <artifactId>org.argeo.slc.client.ui.dist</artifactId>
-                       <version>2.1.5-SNAPSHOT</version>
+                       <version>2.1.17</version>
                </dependency>
                <dependency>
                        <groupId>org.argeo.slc</groupId>
                        <artifactId>org.argeo.slc.client.rap</artifactId>
-                       <version>2.1.5-SNAPSHOT</version>
+                       <version>2.1.17</version>
                </dependency>
 
-               <!-- For target platform generation -->
+               <!-- OSGi Boot for platform generation only, as it could be used by regular 
+                       Java applications to launch an OSGi runtime. -->
                <dependency>
-                       <groupId>org.argeo.slc</groupId>
-                       <artifactId>org.argeo.slc.unit</artifactId>
-                       <version>2.1.5-SNAPSHOT</version>
+                       <groupId>org.argeo.commons</groupId>
+                       <artifactId>org.argeo.osgi.boot</artifactId>
+                       <version>${version.argeo-commons}</version>
                        <scope>test</scope>
                </dependency>
 
-               <!-- Third parties (extras) -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.misc</groupId> -->
-<!--                   <artifactId>biz.aQute.bnd</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.misc</groupId> -->
-<!--                   <artifactId>org.junit</artifactId> -->
-<!--           </dependency> -->
+               <!-- Legacy Argeo Commons platform (Eclipse 3) -->
+               <dependency>
+                       <groupId>org.argeo.slc.legacy.commons</groupId>
+                       <artifactId>org.argeo.dep.cms.platform</artifactId>
+                       <version>${version.argeo-commons-legacy}</version>
+                       <type>pom</type>
+               </dependency>
 
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.extras</groupId> -->
-<!--                   <artifactId>net.sf.jxl</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.extras</groupId> -->
-<!--                   <artifactId>org.postgresql.postgresql</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.extras</groupId> -->
-<!--                   <artifactId>org.dbunit</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!--                   <artifactId>org.eclipse.aether.api</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!--                   <artifactId>org.eclipse.aether.spi</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!--                   <artifactId>org.eclipse.aether.util</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!--                   <artifactId>org.eclipse.aether.impl</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!--                   <artifactId>org.eclipse.aether.connector.basic</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!--                   <artifactId>org.eclipse.aether.transport.classpath</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.extras.eclipse</groupId> -->
-<!--                   <artifactId>org.eclipse.aether.transport.file</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.extras</groupId> -->
-<!--                   <artifactId>org.redline-rpm</artifactId> -->
-<!--           </dependency> -->
-<!--           <dependency> -->
-<!--                   <groupId>org.argeo.tp.extras</groupId> -->
-<!--                   <artifactId>org.tmatesoft.svnkit</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>
                        <build>
                                <plugins>
                                        <plugin>
-                                               <groupId>org.apache.maven.plugins</groupId>
-                                               <artifactId>maven-dependency-plugin</artifactId>
+                                               <artifactId>maven-assembly-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>
-                                                                       <includeTypes>jar</includeTypes>
-                                                                       <includeScope>runtime</includeScope>
-                                                               </configuration>
-                                                       </execution>
-                                                       <execution>
-                                                               <id>copy-tp</id>
+                                                               <id>prepare-source</id>
                                                                <phase>package</phase>
                                                                <goals>
-                                                                       <goal>copy-dependencies</goal>
+                                                                       <goal>single</goal>
                                                                </goals>
                                                                <configuration>
-                                                                       <includeTypes>jar</includeTypes>
-                                                                       <outputDirectory>${project.build.directory}/lib-tp</outputDirectory>
-                                                                       <excludeGroupIds>org.argeo.slc</excludeGroupIds>
-                                                                       <excludeTransitive>true</excludeTransitive>
-                                                                       <includeTypes>jar</includeTypes>
-                                                                       <includeScope>runtime</includeScope>
+                                                                       <descriptorRefs>
+                                                                               <descriptorRef>a2-source</descriptorRef>
+                                                                       </descriptorRefs>
                                                                </configuration>
                                                        </execution>
                                                </executions>
                                                                                        <username>root</username>
                                                                                        <groupname>root</groupname>
                                                                                        <filemode>644</filemode>
-                                                                                       <directoryIncluded>false</directoryIncluded>
+                                                                                       <directoryIncluded>true</directoryIncluded>
                                                                                        <sources>
                                                                                                <source>
-                                                                                                       <location>${project.build.directory}/lib-argeo</location>
+                                                                                                       <location>${project.build.directory}/${project.artifactId}-${project.version}-a2-source</location>
                                                                                                        <includes>
-                                                                                                               <include>*.jar</include>
+                                                                                                               <include>**/*.jar</include>
                                                                                                        </includes>
                                                                                                </source>
                                                                                        </sources>
                                                                        </mappings>
                                                                        <requires>
                                                                                <require>argeo-cms-platform</require>
-                                                                               <require>slc-agent</require>
-                                                                               <require>slc-platform-tp</require>
-                                                                       </requires>
-                                                               </configuration>
-                                                       </execution>
-                                               </executions>
-                                       </plugin>
-                               </plugins>
-                       </build>
-               </profile>
-               <profile>
-                       <id>rpmbuild-tp</id>
-                       <build>
-                               <plugins>
-                                       <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-platform-tp</name>
-                                                                       <projversion>${version.argeo-distribution}</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}/lib-tp</location>
-                                                                                                       <includes>
-                                                                                                               <include>*.jar</include>
-                                                                                                       </includes>
-                                                                                               </source>
-                                                                                       </sources>
-                                                                               </mapping>
-                                                                       </mappings>
-                                                                       <requires>
                                                                                <require>argeo-cms-sdk-tp</require>
+                                                                               <require>slc-spring</require>
                                                                        </requires>
                                                                </configuration>
                                                        </execution>