forked from pentaho/pentaho-mongo-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
144 lines (141 loc) · 4.86 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
<?xml version="1.0"?>
<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.pentaho</groupId>
<artifactId>pentaho-ce-jar-parent-pom</artifactId>
<version>9.0.0.0-SNAPSHOT</version>
</parent>
<groupId>pentaho</groupId>
<artifactId>pentaho-mongo-utils</artifactId>
<version>9.0.0.0-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Pentaho Community Edition Project: ${project.artifactId}</name>
<description>A library for simplifying the creation and management of MongoDB connections.</description>
<url>http://www.pentaho.com</url>
<scm>
<connection>scm:git:[email protected]:pentaho/${project.artifactId}.git</connection>
<developerConnection>scm:git:[email protected]:pentaho/${project.artifactId}.git</developerConnection>
<url>scm:git:[email protected]:pentaho/${project.artifactId}.git</url>
</scm>
<properties>
<mongo-java-driver.version>3.6.3</mongo-java-driver.version>
<mockito-all.version>1.9.5</mockito-all.version>
<junit.version>4.4</junit.version>
</properties>
<dependencies>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>${mongo-java-driver.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>${mockito-all.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${maven-bundle-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>kerberos-init</id>
<activation>
<os>
<family>unix</family>
</os>
<property>
<name>runITs</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.5.0</version>
<executions>
<execution>
<phase>pre-integration-test</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>./kerberos.init.sh</executable>
<workingDirectory>${basedir}/src/it/scripts/</workingDirectory>
<arguments>
<argument>${kerberos.principal}</argument>
<argument>${kerberos.password}</argument>
<argument>${project.build.directory}/kerberos.keytab</argument>
</arguments>
</configuration>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version>
<executions>
<execution>
<id>enforce-property</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireProperty>
<property>kerberos.principal</property>
<message>You must set property kerberos.principal to run the integration tests</message>
</requireProperty>
<requireProperty>
<property>kerberos.password</property>
<message>You must set property kerberos.password to run the integration tests</message>
</requireProperty>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<id>pentaho-public</id>
<name>Pentaho Public</name>
<url>http://nexus.pentaho.org/content/groups/omni/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>interval:15</updatePolicy>
</snapshots>
</repository>
</repositories>
</project>