|
1 |
| -<?xml version="1.0" encoding="UTF-8"?> |
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"> |
3 |
| - <modelVersion>4.0.0</modelVersion> |
4 |
| - |
5 |
| - <parent> |
6 |
| - <groupId>pl.project13.maven</groupId> |
7 |
| - <artifactId>git-commit-id-plugin-debugging</artifactId> |
8 |
| - <version>0.0.3-SNAPSHOT</version> |
9 |
| - </parent> |
10 |
| - |
11 |
| - <artifactId>submodule-one</artifactId> |
12 |
| - <version>0.0.3-SNAPSHOT</version> |
13 |
| - |
14 |
| - <properties> |
15 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
16 |
| - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
17 |
| - </properties> |
18 |
| - |
19 |
| - <build> |
20 |
| - <resources> |
21 |
| - <resource> |
22 |
| - <directory>src/main/resources</directory> |
23 |
| - <filtering>true</filtering> |
24 |
| - </resource> |
25 |
| - </resources> |
26 |
| - |
27 |
| - <plugins> |
28 |
| - <!-- GIT COMMIT ID PLUGIN CONFIGURATION --> |
29 |
| - <plugin> |
30 |
| - <groupId>pl.project13.maven</groupId> |
31 |
| - <artifactId>git-commit-id-plugin</artifactId> |
32 |
| - <version>${git-commit-id-version}</version> |
33 |
| - <executions> |
34 |
| - <execution> |
35 |
| - <phase>validate</phase> |
36 |
| - <id>get-the-git-infos-validate</id> |
37 |
| - <goals> |
38 |
| - <goal>revision</goal> |
39 |
| - </goals> |
40 |
| - <configuration> |
41 |
| - <generateGitPropertiesFilename>${project.build.outputDirectory}/validate_git.properties</generateGitPropertiesFilename> |
42 |
| - </configuration> |
43 |
| - </execution> |
44 |
| - <execution> |
45 |
| - <phase>initialize</phase> |
46 |
| - <id>get-the-git-infos-initialize</id> |
47 |
| - <goals> |
48 |
| - <goal>revision</goal> |
49 |
| - </goals> |
50 |
| - <configuration> |
51 |
| - <generateGitPropertiesFilename>${project.build.outputDirectory}/initialize_git.properties</generateGitPropertiesFilename> |
52 |
| - </configuration> |
53 |
| - </execution> |
54 |
| - </executions> |
55 |
| - <configuration> |
56 |
| - <prefix>git</prefix> |
57 |
| - <verbose>true</verbose> |
58 |
| - <skipPoms>false</skipPoms> |
59 |
| - <!-- <runOnlyOnce>true</runOnlyOnce> --> |
60 |
| - <dotGitDirectory>${project.basedir}/../.git</dotGitDirectory> |
61 |
| - <injectAllReactorProjects>true</injectAllReactorProjects> |
62 |
| - <generateGitPropertiesFile>true</generateGitPropertiesFile> |
63 |
| - <!--<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>--> |
64 |
| - <!--<generateGitPropertiesFilename>target/classes/git.properties</generateGitPropertiesFilename>--> |
65 |
| - </configuration> |
66 |
| - </plugin> |
67 |
| - |
68 |
| - <plugin> |
69 |
| - <groupId>org.apache.maven.plugins</groupId> |
70 |
| - <artifactId>maven-antrun-plugin</artifactId> |
71 |
| - <version>1.8</version> |
72 |
| - <executions> |
73 |
| - <execution> |
74 |
| - <phase>package</phase> |
75 |
| - <configuration> |
76 |
| - <target> |
77 |
| - <echo>user.dir: ${user.dir}</echo> |
78 |
| - <echo>basedir: ${basedir}</echo> |
79 |
| - <echo>project.basedir: ${project.basedir}</echo> |
80 |
| - <echo>Git-Infos: ${git.commit.id}</echo> |
81 |
| - </target> |
82 |
| - </configuration> |
83 |
| - <goals> |
84 |
| - <goal>run</goal> |
85 |
| - </goals> |
86 |
| - </execution> |
87 |
| - </executions> |
88 |
| - </plugin> |
89 |
| - </plugins> |
90 |
| - </build> |
91 |
| -</project> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 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"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + |
| 5 | + <parent> |
| 6 | + <groupId>pl.project13.maven</groupId> |
| 7 | + <artifactId>git-commit-id-plugin-debugging</artifactId> |
| 8 | + <version>0.0.3-SNAPSHOT</version> |
| 9 | + </parent> |
| 10 | + |
| 11 | + <artifactId>submodule-one</artifactId> |
| 12 | + <version>0.0.3-SNAPSHOT</version> |
| 13 | + |
| 14 | + <properties> |
| 15 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 16 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 17 | + </properties> |
| 18 | + |
| 19 | + <build> |
| 20 | + <resources> |
| 21 | + <resource> |
| 22 | + <directory>src/main/resources</directory> |
| 23 | + <filtering>true</filtering> |
| 24 | + </resource> |
| 25 | + </resources> |
| 26 | + |
| 27 | + <plugins> |
| 28 | + <!-- GIT COMMIT ID PLUGIN CONFIGURATION --> |
| 29 | + <plugin> |
| 30 | + <groupId>pl.project13.maven</groupId> |
| 31 | + <artifactId>git-commit-id-plugin</artifactId> |
| 32 | + <version>${git-commit-id-version}</version> |
| 33 | + <executions> |
| 34 | + <execution> |
| 35 | + <phase>validate</phase> |
| 36 | + <id>get-the-git-infos-validate</id> |
| 37 | + <goals> |
| 38 | + <goal>revision</goal> |
| 39 | + </goals> |
| 40 | + <configuration> |
| 41 | + <generateGitPropertiesFilename>${project.build.outputDirectory}/validate_git.properties</generateGitPropertiesFilename> |
| 42 | + </configuration> |
| 43 | + </execution> |
| 44 | + <execution> |
| 45 | + <phase>initialize</phase> |
| 46 | + <id>get-the-git-infos-initialize</id> |
| 47 | + <goals> |
| 48 | + <goal>revision</goal> |
| 49 | + </goals> |
| 50 | + <configuration> |
| 51 | + <generateGitPropertiesFilename>${project.build.outputDirectory}/initialize_git.properties</generateGitPropertiesFilename> |
| 52 | + </configuration> |
| 53 | + </execution> |
| 54 | + </executions> |
| 55 | + <configuration> |
| 56 | + <prefix>git</prefix> |
| 57 | + <verbose>true</verbose> |
| 58 | + <skipPoms>false</skipPoms> |
| 59 | + <!-- <runOnlyOnce>true</runOnlyOnce> --> |
| 60 | + <dotGitDirectory>${project.basedir}/../.git</dotGitDirectory> |
| 61 | + <injectAllReactorProjects>true</injectAllReactorProjects> |
| 62 | + <generateGitPropertiesFile>true</generateGitPropertiesFile> |
| 63 | + <!--<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>--> |
| 64 | + <!--<generateGitPropertiesFilename>target/classes/git.properties</generateGitPropertiesFilename>--> |
| 65 | + </configuration> |
| 66 | + </plugin> |
| 67 | + |
| 68 | + <plugin> |
| 69 | + <groupId>org.apache.maven.plugins</groupId> |
| 70 | + <artifactId>maven-antrun-plugin</artifactId> |
| 71 | + <version>1.8</version> |
| 72 | + <executions> |
| 73 | + <execution> |
| 74 | + <phase>package</phase> |
| 75 | + <configuration> |
| 76 | + <target> |
| 77 | + <echo>user.dir: ${user.dir}</echo> |
| 78 | + <echo>basedir: ${basedir}</echo> |
| 79 | + <echo>project.basedir: ${project.basedir}</echo> |
| 80 | + <echo>Git-Infos: ${git.commit.id}</echo> |
| 81 | + </target> |
| 82 | + </configuration> |
| 83 | + <goals> |
| 84 | + <goal>run</goal> |
| 85 | + </goals> |
| 86 | + </execution> |
| 87 | + </executions> |
| 88 | + </plugin> |
| 89 | + </plugins> |
| 90 | + </build> |
| 91 | +</project> |
0 commit comments