forked from eclipse-n4js/n4js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
106 lines (96 loc) · 3.34 KB
/
pom.xml
File metadata and controls
106 lines (96 loc) · 3.34 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
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2016 NumberFour AG.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
NumberFour AG - Initial API and implementation
-->
<!-- root (not god pom, that is defined in /releng/org.eclipse.n4js.parent/pom.xml) -->
<!-- Triggers the build of all modules by calling the poms of inside releng
(via parent pom relationship), plugins, features, tests and later maybe for
devtools and docs, too. -->
<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>
<artifactId>org.eclipse.n4js.distribution</artifactId>
<packaging>pom</packaging>
<parent>
<groupId>org.eclipse.n4js</groupId>
<artifactId>org.eclipse.n4js.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>releng/org.eclipse.n4js.parent</relativePath>
</parent>
<properties>
<!-- control parameters for starting/stopping the test verdaccio: -->
<internal_startVerdaccioPhase>none</internal_startVerdaccioPhase>
<internal_stopVerdaccioPhase>none</internal_stopVerdaccioPhase>
</properties>
<modules>
<module>releng</module>
<module>plugins</module>
<module>testhelpers</module>
<module>features</module>
<module>docs</module>
<module>tools</module>
<module>builds</module>
</modules>
<profiles>
<!--
This profile adds the tests-folder to the build.
It's always active - unless the build is started with "-DnoTests".
-->
<profile>
<id>compileTests</id>
<activation>
<property><name>!noTests</name></property>
</activation>
<modules>
<module>tests</module>
</modules>
</profile>
<!--
If build started with '-Pexecute-hlc-integration-tests', activate the
starting and stopping of a verdaccio instance for testing purposes.
-->
<profile>
<id>execute-hlc-integration-tests</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<internal_startVerdaccioPhase>pre-integration-test</internal_startVerdaccioPhase>
<internal_stopVerdaccioPhase>post-integration-test</internal_stopVerdaccioPhase>
</properties>
</profile>
<!--
If build started with '-DstartAndKeepVerdaccio', then ...
1) enforce starting of a test verdaccio (even if '-Pexecute-hlc-integration-tests' is not given) and
2) suppress stopping of the test verdaccio (even if '-Pexecute-hlc-integration-tests' is given)
-->
<profile>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>startAndKeepVerdaccio</name>
</property>
</activation>
<properties>
<internal_startVerdaccioPhase>pre-integration-test</internal_startVerdaccioPhase>
<internal_stopVerdaccioPhase>none</internal_stopVerdaccioPhase>
</properties>
</profile>
</profiles>
<!-- central actions done for all sub-builds only once here. (inherited false) -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<inherited>false</inherited>
</plugin>
</plugins>
</build>
</project>