]> git.argeo.org Git - gpl/argeo-slc.git/blob - lib/pom.xml
Simplify Maven configurations
[gpl/argeo-slc.git] / lib / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <groupId>org.argeo.slc</groupId>
6 <artifactId>argeo-slc</artifactId>
7 <version>1.1.4-SNAPSHOT</version>
8 <relativePath>..</relativePath>
9 </parent>
10 <artifactId>lib</artifactId>
11 <packaging>pom</packaging>
12 <name>SLC Standard Libs</name>
13 <description>SLC execution modules for generic tasks, to be used as parent pom</description>
14 <properties>
15 <additionalImports.slc-lib>
16 com.jcraft.jsch;resolution:=optional,
17 org.apache.commons.exec;resolution:=optional,
18 </additionalImports.slc-lib>
19 </properties>
20 <build>
21 <resources>
22 <resource>
23 <directory>.</directory>
24 <includes>
25 <include>**</include>
26 </includes>
27 <excludes>
28 <exclude>.*</exclude>
29 <exclude>.*/**</exclude>
30 <exclude>pom.xml</exclude>
31 <exclude>build.properties</exclude>
32 </excludes>
33 </resource>
34 </resources>
35 <plugins>
36 <plugin>
37 <groupId>org.apache.felix</groupId>
38 <artifactId>maven-bundle-plugin</artifactId>
39 <configuration>
40 <instructions>
41 <SLC-ExecutionModule>default</SLC-ExecutionModule>
42 <!-- Minimal imports + some optional convenience imports -->
43 <Import-Package>
44 *,
45 net.sf.cglib.core,
46 net.sf.cglib.proxy,
47 net.sf.cglib.reflect,
48 org.aopalliance.aop,
49 org.argeo.slc.core.execution,
50 org.argeo.slc.core.execution.tasks,
51 org.argeo.slc.execution,
52 org.argeo.slc.osgi,
53 org.argeo.slc.test,
54 org.springframework.aop,
55 org.springframework.aop.framework,
56 org.springframework.aop.scope,
57 org.springframework.beans.factory.config,
58 org.springframework.core.io,
59 ${additionalImports.slc-lib}
60 </Import-Package>
61 </instructions>
62 </configuration>
63 </plugin>
64 </plugins>
65 </build>
66 <dependencies>
67 <dependency>
68 <groupId>org.argeo.slc</groupId>
69 <artifactId>org.argeo.slc.dep.minimal</artifactId>
70 <version>1.1.4-SNAPSHOT</version>
71 <type>pom</type>
72 </dependency>
73 <dependency>
74 <groupId>org.argeo.slc</groupId>
75 <artifactId>org.argeo.slc.dep.backend</artifactId>
76 <version>1.1.4-SNAPSHOT</version>
77 <type>pom</type>
78 <optional>true</optional>
79 </dependency>
80 </dependencies>
81 </project>