-
Notifications
You must be signed in to change notification settings - Fork 11
/
pom.xml
143 lines (140 loc) · 4.55 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.camel-tooling.lsp</groupId>
<artifactId>eclipse</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>${base.name}</name>
<packaging>pom</packaging>
<properties>
<tycho.version>3.0.4</tycho.version>
<base.name>Eclipse Client for Apache Camel Language Server</base.name>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- compiler settings -->
<maven.compiler.release>17</maven.compiler.release>
<!-- sonar properties -->
<sonar.organization>camel-tooling</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.code.codeCoveragePlugin>jacoco</sonar.code.codeCoveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.test.inclusions>**/*Test.*,**/tests/**/*,**/*IT.*,**/**reddeer**/**/*</sonar.test.inclusions>
<!-- points to the target folder of the global parent project -->
<sonar.jacoco.reportPath>../target/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>../target/jacoco-it.exec</sonar.jacoco.itReportPath>
<sonar.jacoco.reportPaths>${sonar.jacoco.reportPath},${sonar.jacoco.itReportPath}</sonar.jacoco.reportPaths>
</properties>
<modules>
<module>camel-lsp-target-platform</module>
<module>com.github.camel-tooling.lsp.eclipse.updatesite</module>
<module>com.github.camel-tooling.lsp.eclipse.client</module>
<module>com.github.cameltooling.lsp.eclipse.client.feature</module>
<module>com.github.camel-tooling.lsp.eclipse.client.tests.ui</module>
<module>com.github.camel-tooling.lsp.eclipse.client.tests.integration</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<target>
<artifact>
<groupId>${project.groupId}</groupId>
<artifactId>camel-lsp-target-platform</artifactId>
<version>${project.version}</version>
</artifact>
</target>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
<configuration>
<append>true</append>
<includes>com.github.cameltooling.lsp.*,com.github.cameltooling.*</includes>
</configuration>
<executions>
<execution>
<id>agent-for-ut</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<destFile>${sonar.jacoco.reportPath}</destFile>
</configuration>
</execution>
<execution>
<id>agent-for-it</id>
<goals>
<goal>prepare-agent-integration</goal>
</goals>
<configuration>
<destFile>${sonar.jacoco.itReportPath}</destFile>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<argLine>${argLine}</argLine>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<!-- make sure lib dir is removed after clean to avoid "dirty" build -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.3.2</version>
<configuration>
<filesets>
<fileset>
<directory>${basedir}/libs</directory>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>