This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 81
/
pom.xml
81 lines (71 loc) · 2.61 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
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.rhq</groupId>
<artifactId>rhq-common-parent</artifactId>
<version>4.12.0.JON330GA</version>
</parent>
<artifactId>rhq-cassandra-util</artifactId>
<name>RHQ Cassandra Util</name>
<dependencies>
<dependency>
<groupId>com.datastax.cassandra</groupId>
<artifactId>cassandra-driver-core</artifactId>
<version>${cassandra.driver.version}</version>
</dependency>
<dependency>
<groupId>${rhq.groupId}</groupId>
<artifactId>rhq-core-util</artifactId>
<version>${rhq-core-util.version}</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>dev</id>
<properties>
<rhq.rootDir>../../..</rhq.rootDir>
<rhq.containerDir>${rhq.rootDir}/${rhq.devContainerServerPath}</rhq.containerDir>
<rhq.deploymentDir>${rhq.containerDir}/${rhq.earLibDir}</rhq.deploymentDir>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>package</phase>
<configuration>
<target>
<mkdir dir="${rhq.deploymentDir}"/>
<property name="deployment.file" location="${rhq.deploymentDir}/${project.build.finalName}.jar"/>
<echo>*** Updating ${deployment.file}...</echo>
<jar destfile="${deployment.file}" basedir="${project.build.outputDirectory}"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>undeploy</id>
<phase>clean</phase>
<configuration>
<target>
<property name="deployment.file" location="${rhq.deploymentDir}/${project.build.finalName}.jar"/>
<echo>*** Deleting ${deployment.file}...</echo>
<delete file="${deployment.file}"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>