-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
69 lines (67 loc) · 2.6 KB
/
Copy pathpom.xml
File metadata and controls
69 lines (67 loc) · 2.6 KB
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
<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>it.sevenbits.modules</groupId>
<artifactId>modules</artifactId>
<packaging>pom</packaging>
<version>1.0</version>
<modules>
<module>web-prototype</module>
<module>common-validator</module>
</modules>
<name>modules</name>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<url>http://localhost:8080/manager/text</url>
<server>tomcat_manager</server>
<username>admin</username>
<password>admin</password>
</configuration>
</plugin>
</plugins>
</build>
<!--example for local profile with setting classpath for resources and migration-->
<profiles>
<profile>
<id>local</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>env</name>
<value>local</value>
</property>
</activation>
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources/local</directory>
<includes>
<include>*.*</include>
</includes>
</resource>
<resource>
<targetPath>${basedir}/src/main/webapp/WEB-INF/classes/db/migration</targetPath>
<directory>${basedir}/src/main/resources/local/db/migration</directory>
<includes>
<include>*.*</include>
</includes>
</resource>
</resources>
</build>
</profile>
</profiles>
</project>