forked from ahgittin/brooklyn-mapr
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpom.xml
209 lines (194 loc) · 8.73 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.cloudsoft.mapr</groupId>
<artifactId>brooklyn-mapr</artifactId>
<version>0.2.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Brooklyn MapR Descriptor</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<brooklyn.version>0.5.0-rc.2</brooklyn.version>
<slf4j.version>1.6.6</slf4j.version>
<mysql.connector.version>5.1.6</mysql.connector.version>
<testng.version>6.7</testng.version>
</properties>
<dependencies>
<dependency>
<groupId>io.brooklyn</groupId>
<artifactId>brooklyn-all</artifactId>
<version>${brooklyn.version}</version>
<exclusions>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${testng.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.connector.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>cloudsoft-releases</id>
<url>http://developers.cloudsoftcorp.com/download/maven2/</url>
</repository>
<repository>
<id>libs-snapshot-local</id>
<url>http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
</repositories>
<build>
<testSourceDirectory>src/test/java</testSourceDirectory>
<testResources>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0</version>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.9</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
</plugin>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.8</version>
<configuration>
<additionalProjectnatures>
<projectnature>org.maven.ide.eclipse.maven2Nature</projectnature>
</additionalProjectnatures>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<!-- 'release' is not used; easier just to checkout, tag, `mvn deploy` manually
with -Dbrooklyn.deployTo=TARGET ... and note we need to update docs and examples,
which is a non-maven task!) -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.1</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<useReleaseProfile>false</useReleaseProfile>
<arguments>-Dbrooklyn.deployTo=sonatype</arguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.2</version>
<!-- The configuration of the plugin -->
<configuration>
<!-- Specifies the configuration file of the assembly plugin -->
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<!-- sign and make javadoc when deploying; note, this means you'll need gpg set up to deploy -->
<profile>
<id>make-more-things-when-deploying</id>
<activation> <property><name>brooklyn.deployTo</name></property> </activation>
<build><plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins></build>
</profile>
<!-- different properties used to deploy to different locations depending on profiles;
default is cloudsoft filesystem repo, but some sources still use cloudsoft artifactory as source
(and soon we will support artifactory) -->
<profile>
<id>cloudsoft-filesystem-repo</id>
<activation> <property><name>brooklyn.deployTo</name><value>cloudsoftFilesystem</value></property> </activation>
<distributionManagement>
<repository>
<id>cloudsoft-deploy-cloudfront-origin-releases</id>
<name>Cloudsoft Release Filesystem repo (used as origin for cloudfront)</name>
<url>scpexe://root@developers-origin.cloudsoftcorp.com/var/www/developers/maven/releases/</url>
</repository>
<snapshotRepository>
<id>cloudsoft-deploy-cloudfront-origin-snapshots</id>
<name>Cloudsoft Snapshot Filesystem repo (used as origin for cloudfront)</name>
<url>scpexe://root@developers-origin.cloudsoftcorp.com/var/www/developers/maven/snapshots/</url>
</snapshotRepository>
</distributionManagement>
</profile>
<profile>
<id>cloudsoft-artifactory-repo</id>
<activation> <property><name>brooklyn.deployTo</name><value>cloudsoftArtifactory</value></property> </activation>
<distributionManagement>
<repository>
<id>cloudsoft-deploy-artifactory-release</id>
<name>Cloudsoft Artifactory libs-release-local repo</name>
<url>http://ccweb.cloudsoftcorp.com/maven/libs-release-local/</url>
</repository>
<snapshotRepository>
<id>cloudsoft-deploy-artifactory-snapshot</id>
<name>Cloudsoft Artifactory libs-snapshot-local repo</name>
<url>http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/</url>
</snapshotRepository>
</distributionManagement>
</profile>
<profile>
<id>sonatype-nexus-repo</id>
<activation> <property><name>brooklyn.deployTo</name><value>sonatype</value></property> </activation>
<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>
</project>