|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 2 | +<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"> |
5 | 3 | <modelVersion>4.0.0</modelVersion> |
6 | 4 | <parent> |
7 | 5 | <groupId>io.javaoperatorsdk</groupId> |
|
10 | 8 | </parent> |
11 | 9 |
|
12 | 10 | <artifactId>kubernetes-webhooks-framework-core</artifactId> |
13 | | - <name>Kubernetes Webhooks Framework - Core</name> |
14 | 11 | <packaging>jar</packaging> |
15 | | - |
16 | | - <build> |
17 | | - <plugins> |
18 | | - <plugin> |
19 | | - <groupId>org.apache.maven.plugins</groupId> |
20 | | - <artifactId>maven-surefire-plugin</artifactId> |
21 | | - </plugin> |
22 | | - <plugin> |
23 | | - <!-- Used to generate the version / commit information --> |
24 | | - <groupId>io.github.git-commit-id</groupId> |
25 | | - <artifactId>git-commit-id-maven-plugin</artifactId> |
26 | | - <version>${git-commit-id-maven-plugin.version}</version> |
27 | | - <executions> |
28 | | - <execution> |
29 | | - <id>get-the-git-infos</id> |
30 | | - <goals> |
31 | | - <goal>revision</goal> |
32 | | - </goals> |
33 | | - <phase>initialize</phase> |
34 | | - </execution> |
35 | | - </executions> |
36 | | - <configuration> |
37 | | - <generateGitPropertiesFile>true</generateGitPropertiesFile> |
38 | | - <generateGitPropertiesFilename>${project.build.outputDirectory}/version.properties |
39 | | - </generateGitPropertiesFilename> |
40 | | - <includeOnlyProperties> |
41 | | - <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> |
42 | | - <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> |
43 | | - <includeOnlyProperty>git.branch</includeOnlyProperty> |
44 | | - </includeOnlyProperties> |
45 | | - <commitIdGenerationMode>full</commitIdGenerationMode> |
46 | | - </configuration> |
47 | | - </plugin> |
48 | | - </plugins> |
49 | | - </build> |
50 | | - |
| 12 | + <name>Kubernetes Webhooks Framework - Core</name> |
51 | 13 |
|
52 | 14 | <dependencies> |
53 | 15 | <dependency> |
|
105 | 67 | <scope>test</scope> |
106 | 68 | </dependency> |
107 | 69 | </dependencies> |
| 70 | + |
| 71 | + <build> |
| 72 | + <plugins> |
| 73 | + <plugin> |
| 74 | + <groupId>org.apache.maven.plugins</groupId> |
| 75 | + <artifactId>maven-surefire-plugin</artifactId> |
| 76 | + </plugin> |
| 77 | + <plugin> |
| 78 | + <!-- Used to generate the version / commit information --> |
| 79 | + <groupId>io.github.git-commit-id</groupId> |
| 80 | + <artifactId>git-commit-id-maven-plugin</artifactId> |
| 81 | + <version>${git-commit-id-maven-plugin.version}</version> |
| 82 | + <configuration> |
| 83 | + <generateGitPropertiesFile>true</generateGitPropertiesFile> |
| 84 | + <generateGitPropertiesFilename>${project.build.outputDirectory}/version.properties</generateGitPropertiesFilename> |
| 85 | + <includeOnlyProperties> |
| 86 | + <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> |
| 87 | + <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> |
| 88 | + <includeOnlyProperty>git.branch</includeOnlyProperty> |
| 89 | + </includeOnlyProperties> |
| 90 | + <commitIdGenerationMode>full</commitIdGenerationMode> |
| 91 | + </configuration> |
| 92 | + <executions> |
| 93 | + <execution> |
| 94 | + <id>get-the-git-infos</id> |
| 95 | + <goals> |
| 96 | + <goal>revision</goal> |
| 97 | + </goals> |
| 98 | + <phase>initialize</phase> |
| 99 | + </execution> |
| 100 | + </executions> |
| 101 | + </plugin> |
| 102 | + </plugins> |
| 103 | + </build> |
108 | 104 | </project> |
0 commit comments