-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
77 lines (73 loc) · 2.95 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
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>worker</artifactId>
<groupId>cz.mrq</groupId>
<version>1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>cz.mrq.vocloud.worker</groupId>
<artifactId>korel</artifactId>
<packaging>war</packaging>
<name>korel-worker</name>
<properties>
<korel.serverUrl>http://localhost:8080</korel.serverUrl>
</properties>
<build>
<finalName>korel-worker</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
<profiles>
<profile>
<id>vocloud-dev</id>
<properties>
<korel.serverUrl>http://vocloud-dev:8001</korel.serverUrl>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.glassfish.maven.plugin</groupId>
<artifactId>maven-glassfish-plugin</artifactId>
<version>2.1</version>
<configuration>
<glassfishDirectory>/usr/local/glassfish3</glassfishDirectory>
<echo>true</echo>
<debug>true</debug>
<autoCreate>true</autoCreate>
<user>admin</user>
<adminPassword>${vocloud.pass}</adminPassword>
<domain>
<host>vocloud-dev</host>
<name>domain1</name>
<httpPort>8001</httpPort>
<adminPort>4848</adminPort>
</domain>
<components>
<component>
<name>${project.artifactId}</name>
<artifact>${project.build.directory}/${project.build.finalName}.war</artifact>
</component>
</components>
</configuration>
<executions>
<execution>
<id>install</id>
<phase>install</phase>
<goals>
<goal>redeploy</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>