|
| 1 | +<project |
| 2 | + xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
| 5 | + http://maven.apache.org/maven-v4_0_0.xsd "> |
| 6 | + <modelVersion>4.0.0</modelVersion> |
| 7 | + |
| 8 | + <parent> |
| 9 | + <groupId>de.tu-dortmund.itmc</groupId> |
| 10 | + <artifactId>one-extensions</artifactId> |
| 11 | + <version>1.0-SNAPSHOT</version> |
| 12 | + <relativePath>..</relativePath> |
| 13 | + </parent> |
| 14 | + |
| 15 | + <groupId>de.tu-dortmund.itmc</groupId> |
| 16 | + <artifactId>one-cdmi</artifactId> |
| 17 | + <packaging>bundle</packaging> |
| 18 | + <name>one-cdmi</name> |
| 19 | + <version>1.0-SNAPSHOT</version> |
| 20 | + |
| 21 | + <properties> |
| 22 | + <one.cdmi.export>de.udo.*</one.cdmi.export> |
| 23 | + </properties> |
| 24 | + |
| 25 | + <dependencies> |
| 26 | + <dependency> |
| 27 | + <groupId>log4j</groupId> |
| 28 | + <artifactId>log4j</artifactId> |
| 29 | + <version>1.2.12</version> |
| 30 | + <scope>provided</scope> |
| 31 | + </dependency> |
| 32 | + |
| 33 | + <dependency> |
| 34 | + <groupId>junit</groupId> |
| 35 | + <artifactId>junit</artifactId> |
| 36 | + <version>3.8.1</version> |
| 37 | + <scope>test</scope> |
| 38 | + </dependency> |
| 39 | + |
| 40 | + <dependency> |
| 41 | + <groupId>commons-io</groupId> |
| 42 | + <artifactId>commons-io</artifactId> |
| 43 | + <version>2.0</version> |
| 44 | + </dependency> |
| 45 | + |
| 46 | + <dependency> |
| 47 | + <groupId>org.apache.httpcomponents</groupId> |
| 48 | + <artifactId>httpclient</artifactId> |
| 49 | + <version>4.1.1</version> |
| 50 | + </dependency> |
| 51 | + |
| 52 | + <dependency> |
| 53 | + <groupId>org.jboss.resteasy</groupId> |
| 54 | + <artifactId>resteasy-jaxrs</artifactId> |
| 55 | + <version>2.2.1.GA</version> |
| 56 | + </dependency> |
| 57 | + |
| 58 | + <dependency> |
| 59 | + <groupId>org.jboss.resteasy</groupId> |
| 60 | + <artifactId>resteasy-jackson-provider</artifactId> |
| 61 | + <version>2.2.1.GA</version> |
| 62 | + </dependency> |
| 63 | + |
| 64 | + <dependency> |
| 65 | + <groupId>org.datanucleus</groupId> |
| 66 | + <artifactId>datanucleus-json</artifactId> |
| 67 | + <version>2.1.2</version> |
| 68 | + </dependency> |
| 69 | + |
| 70 | + <dependency> |
| 71 | + <groupId>jcommon</groupId> |
| 72 | + <artifactId>jcommon</artifactId> |
| 73 | + <version>1.0.16</version> |
| 74 | + </dependency> |
| 75 | + |
| 76 | + <dependency> |
| 77 | + <groupId>jsci</groupId> |
| 78 | + <artifactId>jsci-core</artifactId> |
| 79 | + <version>1.1</version> |
| 80 | + </dependency> |
| 81 | + |
| 82 | + <dependency> |
| 83 | + <groupId>joda-time</groupId> |
| 84 | + <artifactId>joda-time</artifactId> |
| 85 | + <version>1.6</version> |
| 86 | + </dependency> |
| 87 | + |
| 88 | + <!-- DEPENDENCIES of SPRING & OSGi --> |
| 89 | + <dependency> |
| 90 | + <groupId>org.springframework.osgi</groupId> |
| 91 | + <artifactId>spring-osgi-annotation</artifactId> |
| 92 | + <version>1.2.0</version> |
| 93 | + <type>jar</type> |
| 94 | + <scope>provided</scope> |
| 95 | + </dependency> |
| 96 | + |
| 97 | + <dependency> |
| 98 | + <groupId>org.springframework.osgi</groupId> |
| 99 | + <artifactId>spring-osgi-core</artifactId> |
| 100 | + <version>1.2.0</version> |
| 101 | + <scope>provided</scope> |
| 102 | + </dependency> |
| 103 | + |
| 104 | + <dependency> |
| 105 | + <groupId>org.springframework</groupId> |
| 106 | + <artifactId>spring-context</artifactId> |
| 107 | + <version>2.5.6</version> |
| 108 | + <scope>provided</scope> |
| 109 | + </dependency> |
| 110 | + |
| 111 | + <dependency> |
| 112 | + <groupId>org.apache.felix</groupId> |
| 113 | + <artifactId>org.apache.felix.framework</artifactId> |
| 114 | + <version>${felix-version}</version> |
| 115 | + <scope>provided</scope> |
| 116 | + </dependency> |
| 117 | + |
| 118 | + |
| 119 | + <!-- END --> |
| 120 | + |
| 121 | + |
| 122 | + </dependencies> |
| 123 | + |
| 124 | + <build> |
| 125 | + <resources> |
| 126 | + <resource> |
| 127 | + <filtering>false</filtering> |
| 128 | + <directory>src/main/resources</directory> |
| 129 | + <includes> |
| 130 | + <include>**/*.xml</include> |
| 131 | + </includes> |
| 132 | + </resource> |
| 133 | + <resource> |
| 134 | + <filtering>false</filtering> |
| 135 | + <directory>src/gui</directory> |
| 136 | + <includes> |
| 137 | + <include>**/*.png</include> |
| 138 | + </includes> |
| 139 | + </resource> |
| 140 | + </resources> |
| 141 | + </build> |
| 142 | + |
| 143 | + <profiles> |
| 144 | + <profile> |
| 145 | + <id>activator</id> |
| 146 | + <activation> |
| 147 | + <activeByDefault>true</activeByDefault> |
| 148 | + </activation> |
| 149 | + <properties> |
| 150 | + <!-- enable bundlor --> |
| 151 | + <bundlor.enabled>true</bundlor.enabled> |
| 152 | + </properties> |
| 153 | + <build> |
| 154 | + <plugins> |
| 155 | + <plugin> <!-- (2) START --> |
| 156 | + <groupId>org.apache.felix</groupId> |
| 157 | + <artifactId>maven-bundle-plugin</artifactId> |
| 158 | + <version>${felix-version}</version> |
| 159 | + <extensions>true</extensions> |
| 160 | + <configuration> |
| 161 | + <instructions> |
| 162 | + <Bundle-Name>one-cdmi</Bundle-Name> |
| 163 | + <Bundle-SymbolicName>one-cdmi</Bundle-SymbolicName> |
| 164 | + <Import-Package> |
| 165 | + org.apache.log4j;resolution:=optional, |
| 166 | + org.apache.commons.io;resolution:=optional;version:=2.0 |
| 167 | + </Import-Package> |
| 168 | + <Export-Package>${one.cdmi.export};version="${project.version}"</Export-Package> |
| 169 | + <Embed-Dependency>jsci-core;inline=false;joda-time;inline=false</Embed-Dependency> |
| 170 | + </instructions> |
| 171 | + </configuration> |
| 172 | + </plugin> |
| 173 | + </plugins> |
| 174 | + </build> |
| 175 | + </profile> |
| 176 | + </profiles> |
| 177 | + |
| 178 | +</project> |
0 commit comments