-
Notifications
You must be signed in to change notification settings - Fork 305
/
pom.xml
160 lines (154 loc) · 7.35 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
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.kura</groupId>
<artifactId>target-platform</artifactId>
<version>4.1.4-SNAPSHOT</version>
</parent>
<artifactId>p2-repo-tests-deps</artifactId>
<packaging>pom</packaging>
<properties>
<io.dropwizard.metrics.version>3.2.2</io.dropwizard.metrics.version>
</properties>
<repositories>
<repository>
<id>Metrics</id>
<name>Metrics Repository</name>
<url>https://mvnrepository.com/artifact/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>${basedir}/../config/kura.target-platform.build.properties</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
<!-- Copying common artifacts across all platforms into a known location
${project.build.directory}/plugins/common is only one way how to create content
to be published. Any other source of bundles and/or features can be used
to be published as long as it end up in ${project.basedir}/target/source/plugins
and or ~/features The publisher will use every content that is located in
this directory -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.9</version>
<executions>
<execution>
<id>copy-bundles-for-publishing</id>
<phase>process-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>${io.dropwizard.metrics.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.kura</groupId>
<artifactId>moquette-broker</artifactId>
<version>${moquette-broker.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.hamcrest</groupId>
<artifactId>org.hamcrest</artifactId>
<version>${org.hamcrest.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.hamcrest</groupId>
<artifactId>org.hamcrest.integration</artifactId>
<version>${org.hamcrest.integration.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.hamcrest</groupId>
<artifactId>org.hamcrest.library</artifactId>
<version>${org.hamcrest.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.hamcrest</groupId>
<artifactId>org.hamcrest.text</artifactId>
<version>${org.hamcrest.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito-core.version}</version>
</artifactItem>
<artifactItem>
<groupId>org.objenesis</groupId>
<artifactId>objenesis</artifactId>
<version>${objenesis.version}</version>
</artifactItem>
</artifactItems>
<stripVersion>true</stripVersion>
<outputDirectory>${project.basedir}/target/source/plugins</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<version>0.26.0</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>publish-features-and-bundles</goal>
</goals>
</execution>
</executions>
<configuration>
<compress>false</compress>
</configuration>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>install-commons</id>
<phase>install</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<delete dir="../../kura/target-definition/test-deps/" />
<mkdir dir="../../kura/target-definition/test-deps/repository" />
<copy todir="../../kura/target-definition/test-deps/repository">
<fileset dir="${project.build.directory}/repository" />
</copy>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>