|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <groupId>org.geppetto</groupId> |
| 6 | + <artifactId>datasources</artifactId> |
| 7 | + <name>Geppetto Data Sources bundle</name> |
| 8 | + <version>0.2.8.1</version> |
| 9 | + <packaging>bundle</packaging> |
| 10 | + <properties> |
| 11 | + <spring.version>3.1.3.RELEASE</spring.version> |
| 12 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 13 | + </properties> |
| 14 | + <dependencies> |
| 15 | + |
| 16 | + <dependency> |
| 17 | + <groupId>org.geppetto</groupId> |
| 18 | + <artifactId>core</artifactId> |
| 19 | + <version>${project.version}</version> |
| 20 | + </dependency> |
| 21 | + <dependency> |
| 22 | + <groupId>org.springframework</groupId> |
| 23 | + <artifactId>org.springframework.core</artifactId> |
| 24 | + <version>${spring.version}</version> |
| 25 | + </dependency> |
| 26 | + <dependency> |
| 27 | + <groupId>org.springframework</groupId> |
| 28 | + <artifactId>org.springframework.beans</artifactId> |
| 29 | + <version>${spring.version}</version> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>org.springframework</groupId> |
| 33 | + <artifactId>org.springframework.context</artifactId> |
| 34 | + <version>${spring.version}</version> |
| 35 | + </dependency> |
| 36 | + <!-- test dependencies --> |
| 37 | + <dependency> |
| 38 | + <groupId>org.junit</groupId> |
| 39 | + <artifactId>com.springsource.org.junit</artifactId> |
| 40 | + <version>4.5.0</version> |
| 41 | + <scope>test</scope> |
| 42 | + </dependency> |
| 43 | + <dependency> |
| 44 | + <groupId>org.springframework</groupId> |
| 45 | + <artifactId>org.springframework.spring-library</artifactId> |
| 46 | + <type>libd</type> |
| 47 | + <version>${spring.version}</version> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>org.springframework</groupId> |
| 51 | + <artifactId>spring-test</artifactId> |
| 52 | + <version>${spring.version}</version> |
| 53 | + </dependency> |
| 54 | + </dependencies> |
| 55 | + <repositories> |
| 56 | + <repository> |
| 57 | + <id>com.springsource.repository.bundles.release</id> |
| 58 | + <name>SpringSource Enterprise Bundle Repository - SpringSource Releases</name> |
| 59 | + <url>http://repository.springsource.com/maven/bundles/release</url> |
| 60 | + </repository> |
| 61 | + <repository> |
| 62 | + <id>com.springsource.repository.bundles.external</id> |
| 63 | + <name>SpringSource Enterprise Bundle Repository - External Releases</name> |
| 64 | + <url>http://repository.springsource.com/maven/bundles/external</url> |
| 65 | + </repository> |
| 66 | + <repository> |
| 67 | + <id>com.springsource.repository.libraries.release</id> |
| 68 | + <name>SpringSource Enterprise Bundle Repository - SpringSource Library Releases</name> |
| 69 | + <url>http://repository.springsource.com/maven/libraries/release</url> |
| 70 | + </repository> |
| 71 | + <repository> |
| 72 | + <id>com.springsource.repository.libraries.external</id> |
| 73 | + <name>SpringSource Enterprise Bundle Repository - External Library Releases</name> |
| 74 | + <url>http://repository.springsource.com/maven/libraries/external</url> |
| 75 | + </repository> |
| 76 | + <repository> |
| 77 | + <id>org.geppetto-mvn-repo</id> |
| 78 | + <url>https://raw.github.com/openworm/org.geppetto.maven/mvn-repo</url> |
| 79 | + <snapshots> |
| 80 | + <enabled>true</enabled> |
| 81 | + <updatePolicy>always</updatePolicy> |
| 82 | + </snapshots> |
| 83 | + </repository> |
| 84 | + </repositories> |
| 85 | + |
| 86 | + <build> |
| 87 | + <plugins> |
| 88 | + <plugin> |
| 89 | + <groupId>org.apache.maven.plugins</groupId> |
| 90 | + <artifactId>maven-compiler-plugin</artifactId> |
| 91 | + <version>3.1</version> |
| 92 | + <configuration> |
| 93 | + <source>1.7</source> |
| 94 | + <target>1.7</target> |
| 95 | + </configuration> |
| 96 | + </plugin> |
| 97 | + <plugin> |
| 98 | + <groupId>org.apache.maven.plugins</groupId> |
| 99 | + <artifactId>maven-surefire-plugin</artifactId> |
| 100 | + <version>2.15</version> |
| 101 | + <configuration> |
| 102 | + <junitArtifactName>org.junit:com.springsource.org.junit</junitArtifactName> |
| 103 | + </configuration> |
| 104 | + </plugin> |
| 105 | + <plugin> |
| 106 | + <groupId>org.apache.felix</groupId> |
| 107 | + <artifactId>maven-bundle-plugin</artifactId> |
| 108 | + <version>2.3.7</version> |
| 109 | + <extensions>true</extensions> |
| 110 | + <configuration> |
| 111 | + <manifestLocation>src/main/java/META-INF</manifestLocation> |
| 112 | + <supportedProjectTypes> |
| 113 | + <supportedProjectType>jar</supportedProjectType> |
| 114 | + <supportedProjectType>bundle</supportedProjectType> |
| 115 | + </supportedProjectTypes> |
| 116 | + <instructions> |
| 117 | + <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> |
| 118 | + <Bundle-Version>${project.version}</Bundle-Version> |
| 119 | + <Bundle-ClassPath>.,{maven-dependencies}</Bundle-ClassPath> |
| 120 | + <Include-Resource> |
| 121 | + {maven-resources},META-INF/spring=src/main/java/META-INF/spring |
| 122 | + </Include-Resource> |
| 123 | + <Import-Package> |
| 124 | + org.geppetto.core.services,org.geppetto.core.features,org.aopalliance.aop,org.springframework.aop,,org.springframework.aop.scope,org.springframework.aop.framework,* |
| 125 | + </Import-Package> |
| 126 | + </instructions> |
| 127 | + </configuration> |
| 128 | + </plugin> |
| 129 | + <plugin> |
| 130 | + <groupId>org.apache.maven.plugins</groupId> |
| 131 | + <artifactId>maven-dependency-plugin</artifactId> |
| 132 | + <configuration> |
| 133 | + <outputDirectory>${project.build.outputDirectory}/lib</outputDirectory> |
| 134 | + <includeScope>runtime</includeScope> |
| 135 | + <excludeScope>provided</excludeScope> |
| 136 | + </configuration> |
| 137 | + <executions> |
| 138 | + <execution> |
| 139 | + <id>copy-dependencies</id> |
| 140 | + <phase>generate-resources</phase> |
| 141 | + <goals> |
| 142 | + <goal>copy-dependencies</goal> |
| 143 | + </goals> |
| 144 | + </execution> |
| 145 | + </executions> |
| 146 | + </plugin> |
| 147 | + </plugins> |
| 148 | + <pluginManagement> |
| 149 | + <plugins> |
| 150 | + <plugin> |
| 151 | + <groupId>org.eclipse.m2e</groupId> |
| 152 | + <artifactId>lifecycle-mapping</artifactId> |
| 153 | + <version>1.0.0</version> |
| 154 | + <configuration> |
| 155 | + <lifecycleMappingMetadata> |
| 156 | + <pluginExecutions> |
| 157 | + <pluginExecution> |
| 158 | + <pluginExecutionFilter> |
| 159 | + <groupId>org.apache.maven.plugins</groupId> |
| 160 | + <artifactId>maven-dependency-plugin</artifactId> |
| 161 | + <versionRange>[2.0,)</versionRange> |
| 162 | + <goals> |
| 163 | + <goal>copy-dependencies</goal> |
| 164 | + </goals> |
| 165 | + </pluginExecutionFilter> |
| 166 | + <action> |
| 167 | + <ignore /> |
| 168 | + </action> |
| 169 | + </pluginExecution> |
| 170 | + </pluginExecutions> |
| 171 | + </lifecycleMappingMetadata> |
| 172 | + </configuration> |
| 173 | + </plugin> |
| 174 | + </plugins> |
| 175 | + </pluginManagement> |
| 176 | + </build> |
| 177 | +</project> |
0 commit comments