]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.maven/pom.xml
[maven-release-plugin] prepare release argeo-slc-1.1.6
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.maven / pom.xml
index 7bfa7c24e91c115a505996ce988d9c3490136f53..541c9668f67e3e474766c0552d018dd9dd4469b6 100644 (file)
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <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>runtime</artifactId>
-               <version>0.11.4-SNAPSHOT</version>
+               <version>1.1.6</version>
                <relativePath>..</relativePath>
        </parent>
-       <groupId>org.argeo.slc.runtime</groupId>
        <artifactId>org.argeo.slc.support.maven</artifactId>
-       <packaging>jar</packaging>
-       <name>Argeo SLC Support Maven</name>
+       <packaging>bundle</packaging>
+       <name>SLC Support Maven</name>
+       <properties>
+               <version.aether>1.11</version.aether>
+               <version.maven>3.0.3</version.maven>
+               <version.wagon>1.0-beta-7</version.wagon>
+       </properties>
        <build>
                <plugins>
-                       <!-- Look to parent pom for inheritances -->
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-compiler-plugin</artifactId>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-jar-plugin</artifactId>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-source-plugin</artifactId>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-surefire-plugin</artifactId>
-                       </plugin>
                        <plugin>
                                <groupId>org.apache.felix</groupId>
                                <artifactId>maven-bundle-plugin</artifactId>
-                               <version>${version.maven-bundle-plugin}</version>
+
                                <configuration>
                                        <instructions>
                                                <Export-Package>
                                                        org.argeo.slc.maven.*
                                                </Export-Package>
-                                               <Import-Package>*,org.codehaus.plexus</Import-Package>
-                                               <Fragment-Host>org.argeo.dep.osgi.maven.embedder</Fragment-Host>
+                                               <Import-Package>
+                                                       org.w3c.dom.*;version="0.0.0",
+                                                       org.xml.sax.*;version="0.0.0",
+                                                       com.google.*;resolution:=optional,
+                                                       javax.*;resolution:=optional,
+                                                       com.sun.*;resolution:=optional,
+                                                       org.objectweb.asm.*;resolution:=optional,
+                                                       *
+                                               </Import-Package>
+                                               <_exportcontents>
+                                                       org.apache.maven.*;version=${version.maven},
+                                               </_exportcontents>
+                                               <Private-Package>org.apache.xbean.*</Private-Package>
+                                               <Embed-Transitive>true</Embed-Transitive>
+                                               <Embed-Directory>lib</Embed-Directory>
+                                               <Embed-Dependency>*;scope=provided;inline=false</Embed-Dependency>
                                        </instructions>
                                </configuration>
                        </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-dependency-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>copy-dependencies</id>
+                                               <phase>process-resources</phase>
+                                               <goals>
+                                                       <goal>copy-dependencies</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <includeScope>provided</includeScope>
+                                                       <outputDirectory>lib</outputDirectory>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
                </plugins>
        </build>
        <dependencies>
                <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
+                       <groupId>org.argeo.slc</groupId>
                        <artifactId>org.argeo.slc.specs</artifactId>
+                       <version>1.1.6</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc</groupId>
+                       <artifactId>org.argeo.slc.support.aether</artifactId>
+                       <version>1.1.6</version>
                </dependency>
 
+               <!-- <dependency> <groupId>org.argeo.dep.osgi</groupId> <artifactId>org.argeo.dep.osgi.maven.embedder</artifactId> 
+                       </dependency> -->
                <dependency>
-                       <groupId>org.springframework</groupId>
+                       <groupId>org.argeo.tp</groupId>
                        <artifactId>org.springframework.beans</artifactId>
                </dependency>
+               <dependency>
+                       <groupId>org.argeo.tp</groupId>
+                       <artifactId>org.apache.commons.io</artifactId>
+               </dependency>
 
-               <!--
-                       <dependency> <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.support.ant</artifactId> </dependency>
                <dependency>
-                       <groupId>org.argeo.dep.osgi</groupId>
-                       <artifactId>org.argeo.dep.osgi.maven.embedder</artifactId>
-                       <version>2.0.4.argeo.1-SNAPSHOT</version>
+                       <groupId>org.argeo.tp</groupId>
+                       <artifactId>slf4j.org.apache.commons.logging</artifactId>
                </dependency>
-               -->
 
                <dependency>
-                       <groupId>org.apache.commons</groupId>
-                       <artifactId>com.springsource.org.apache.commons.logging</artifactId>
+                       <groupId>org.apache.maven</groupId>
+                       <artifactId>maven-embedder</artifactId>
+                       <version>${version.maven}</version>
+                       <optional>true</optional>
+                       <scope>provided</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>commons-logging</groupId>
+                                       <artifactId>commons-logging</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>commons-cli</groupId>
+                                       <artifactId>commons-cli</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.sonatype.aether</groupId>
+                                       <artifactId>aether-spi</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.sonatype.aether</groupId>
+                                       <artifactId>aether-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.sonatype.aether</groupId>
+                                       <artifactId>aether-util</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+               <dependency>
+                       <groupId>org.sonatype.aether</groupId>
+                       <artifactId>aether-connector-wagon</artifactId>
+                       <version>${version.aether}</version>
+                       <optional>true</optional>
+                       <scope>provided</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>commons-logging</groupId>
+                                       <artifactId>commons-logging</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>commons-logging</groupId>
+                                       <artifactId>commons-logging-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>log4j</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>junit</groupId>
+                                       <artifactId>junit</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.sonatype.aether</groupId>
+                                       <artifactId>aether-spi</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.sonatype.aether</groupId>
+                                       <artifactId>aether-api</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.sonatype.aether</groupId>
+                                       <artifactId>aether-util</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.maven.wagon</groupId>
+                       <artifactId>wagon-provider-api</artifactId>
+                       <version>${version.wagon}</version>
+                       <optional>true</optional>
+                       <scope>provided</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>commons-logging</groupId>
+                                       <artifactId>commons-logging</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.maven.wagon</groupId>
+                       <artifactId>wagon-file</artifactId>
+                       <version>${version.wagon}</version>
+                       <optional>true</optional>
+                       <scope>provided</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>commons-logging</groupId>
+                                       <artifactId>commons-logging</artifactId>
+                               </exclusion>
+                       </exclusions>
                </dependency>
                <dependency>
-                       <groupId>org.apache.commons</groupId>
-                       <artifactId>com.springsource.org.apache.commons.io</artifactId>
+                       <groupId>org.apache.maven.wagon</groupId>
+                       <artifactId>wagon-http-lightweight</artifactId>
+                       <version>${version.wagon}</version>
+                       <optional>true</optional>
+                       <scope>provided</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>nekohtml</groupId>
+                                       <artifactId>xercesMinimal</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>commons-logging</groupId>
+                                       <artifactId>commons-logging</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.maven.wagon</groupId>
+                       <artifactId>wagon-webdav-jackrabbit</artifactId>
+                       <version>${version.wagon}</version>
+                       <optional>true</optional>
+                       <scope>provided</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>org.slf4j</groupId>
+                                       <artifactId>slf4j-nop</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.apache.jackrabbit</groupId>
+                                       <artifactId>jackrabbit-webdav</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.argeo.tp</groupId>
+                       <artifactId>org.sonatype.aether</artifactId>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.argeo.tp</groupId>
+                       <artifactId>junit</artifactId>
                </dependency>
-               <!--
-                       <dependency> <groupId>org.apache.maven</groupId>
-                       <artifactId>maven-embedder</artifactId> <version>2.0.4</version>
-                       <optional>true</optional> <exclusions> <exclusion>
-                       <groupId>commons-logging</groupId>
-                       <artifactId>commons-logging</artifactId> </exclusion> </exclusions>
-                       </dependency>
-               -->
        </dependencies>
-</project>
+</project>
\ No newline at end of file