This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
/
pom.xml
65 lines (57 loc) · 2.41 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
<!--
~ RHQ Management Platform
~ Copyright 2014, Red Hat Middleware LLC, and individual contributors
~ as indicated by the @author tags. See the copyright.txt file in the
~ distribution for a full listing of individual contributors.
~
~ This library is free software; you can redistribute it and/or
~ modify it under the terms of the GNU Lesser General Public
~ License as published by the Free Software Foundation; either
~ version 2.1 of the License, or (at your option) any later version.
~
~ This library is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this library; if not, write to the Free Software
~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-->
<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>
<groupId>exec-cli-command</groupId>
<artifactId>exec-cli-command</artifactId>
<version>1.0-SNAPSHOT</version>
<!-- This project has the custom plugin packaging -->
<packaging>rhq-agent-plugin</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<rhq.version>4.11.0</rhq.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>@project.groupId@</groupId>
<artifactId>@project.artifactId@</artifactId>
<version>@project.version@</version>
<extensions>true</extensions>
<executions>
<execution>
<id>exec-cli-command</id>
<phase>package</phase>
<goals>
<goal>exec-cli-command</goal>
</goals>
<configuration>
<rhqVersion>${rhq.version}</rhqVersion>
<command>scriptUtil.saveBytesToFile(new java.lang.String("Hello Maven Invoker!").getBytes(), "${project.build.directory}/cli-command.out")</command>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>