/
pom.xml
105 lines (101 loc) · 3.15 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
<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">
<modelVersion>4.0.0</modelVersion>
<artifactId>io.sarl.eclipse</artifactId>
<packaging>eclipse-plugin</packaging>
<name>Eclipse Integration</name>
<parent>
<groupId>io.sarl</groupId>
<artifactId>io.sarl.tycho-parent-ui</artifactId>
<version>0.9.0-SNAPSHOT</version>
<relativePath>../../../tycho-parent/tycho-parent-ui</relativePath>
</parent>
<build>
<resources>
<resource>
<directory>OSGI-INF</directory>
<filtering>false</filtering>
<targetPath>OSGI-INF</targetPath>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<executions>
<execution>
<id>prepare-eclipse-aboutbox</id>
<phase>process-resources</phase>
<goals>
<goal>replace</goal>
</goals>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<file>${project.basedir}/src-templates/about.mappings</file>
<outputFile>${project.basedir}/about.mappings</outputFile>
</configuration>
</execution>
<execution>
<id>prepare-osgi-nls</id>
<phase>prepare-package</phase>
<goals>
<goal>replace</goal>
</goals>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<basedir>${project.build.outputDirectory}/OSGI-INF/l10n</basedir>
<outputBasedir>.</outputBasedir>
<includes>
<include>*.properties</include>
</includes>
</configuration>
</execution>
<execution>
<id>prepare-pom-template</id>
<phase>process-resources</phase>
<goals>
<goal>replace</goal>
</goals>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<file>${project.basedir}/src-templates/pom_template.xml</file>
<outputFile>${project.basedir}/src/io/sarl/eclipse/wizards/newproject/pom_template.xml</outputFile>
</configuration>
</execution>
</executions>
<configuration>
<replacements>
<replacement>
<token>%website%</token>
<value>${sarlUrl}</value>
</replacement>
<replacement>
<token>%sarlBuildId%</token>
<value>${buildId}</value>
</replacement>
<replacement>
<token>%copyrightdate%</token>
<value>${project.inceptionYear}-${year}</value>
</replacement>
<replacement>
<token>%copyrighters%</token>
<value>${copyrighters}</value>
</replacement>
<replacement>
<token>%sarlreleaseversion%</token>
<value>${sarl.release_version}</value>
</replacement>
<replacement>
<token>%sarlspecificationreleasedate%</token>
<value>${sarl.specification.release_date}</value>
</replacement>
<replacement>
<token>%mavencompilerversion%</token>
<value>${mavencompiler.version}</value>
</replacement>
</replacements>
</configuration>
</plugin>
</plugins>
</build>
</project>