|
1 | | -<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"> |
2 | | - <modelVersion>4.0.0</modelVersion> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
3 | 4 |
|
4 | | - <parent> |
5 | | - <groupId>org.sonatype.oss</groupId> |
6 | | - <artifactId>oss-parent</artifactId> |
7 | | - <version>9</version> |
8 | | - </parent> |
| 5 | + <parent> |
| 6 | + <groupId>org.sonatype.oss</groupId> |
| 7 | + <artifactId>oss-parent</artifactId> |
| 8 | + <version>9</version> |
| 9 | + </parent> |
9 | 10 |
|
10 | | - <groupId>pl.project13.maven</groupId> |
11 | | - <artifactId>git-commit-id-plugin</artifactId> |
12 | | - <packaging>pom</packaging> |
| 11 | + <groupId>pl.project13.maven</groupId> |
| 12 | + <artifactId>git-commit-id-plugin</artifactId> |
| 13 | + <packaging>pom</packaging> |
13 | 14 |
|
14 | | - <version>0.0.1</version> |
| 15 | + <version>0.0.1</version> |
15 | 16 |
|
16 | | - <name>Git Commit Id Plugin Maven Mojo Debugging</name> |
17 | | - <description> |
| 17 | + <name>Git Commit Id Plugin Maven Mojo Debugging</name> |
| 18 | + <description> |
18 | 19 | Debugging Project for https://github.com/ktoso/maven-git-commit-id-plugin |
19 | 20 | </description> |
20 | | - <url>http://www.blog.project13.pl</url> |
| 21 | + <url>http://www.blog.project13.pl</url> |
21 | 22 |
|
22 | | - <modules> |
23 | | - <module>submodule-one</module> |
24 | | - <module>submodule-two</module> |
25 | | - </modules> |
| 23 | + <modules> |
| 24 | + <module>submodule-one</module> |
| 25 | + <module>submodule-two</module> |
| 26 | + </modules> |
26 | 27 |
|
27 | | - <licenses> |
28 | | - <license> |
29 | | - <name>GNU Lesser General Public License 3.0</name> |
30 | | - <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url> |
31 | | - </license> |
32 | | - </licenses> |
| 28 | + <licenses> |
| 29 | + <license> |
| 30 | + <name>GNU Lesser General Public License 3.0</name> |
| 31 | + <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url> |
| 32 | + </license> |
| 33 | + </licenses> |
33 | 34 |
|
34 | | - <scm> |
35 | | - <url>git@github.com/ktoso/maven-git-commit-id-plugin.git</url> |
36 | | - <connection>scm:git:https://github.com/ktoso/maven-git-commit-id-plugin</connection> |
37 | | - <developerConnection>scm:git:git@github.com:ktoso/maven-git-commit-id-plugin.git</developerConnection> |
38 | | - </scm> |
| 35 | + <scm> |
| 36 | + <url>git@github.com/ktoso/maven-git-commit-id-plugin.git</url> |
| 37 | + <connection>scm:git:https://github.com/ktoso/maven-git-commit-id-plugin</connection> |
| 38 | + <developerConnection>scm:git:git@github.com:ktoso/maven-git-commit-id-plugin.git</developerConnection> |
| 39 | + </scm> |
39 | 40 |
|
40 | | - <properties> |
41 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
42 | | - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
43 | | - <java.target>1.7</java.target> |
44 | | - |
45 | | - <git-commit-id-version>2.2.2</git-commit-id-version> |
46 | | - </properties> |
| 41 | + <properties> |
| 42 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 43 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 44 | + <java.target>1.7</java.target> |
47 | 45 |
|
48 | | - <dependencies> |
49 | | - </dependencies> |
| 46 | + <git-commit-id-version>2.2.2</git-commit-id-version> |
| 47 | + </properties> |
50 | 48 |
|
51 | | - <build> |
52 | | - <!-- GIT COMMIT ID PLUGIN CONFIGURATION --> |
53 | | - <plugins> |
54 | | - <plugin> |
55 | | - <groupId>pl.project13.maven</groupId> |
56 | | - <artifactId>git-commit-id-plugin</artifactId> |
57 | | - <version>${git-commit-id-version}</version> |
58 | | - <executions> |
59 | | - <execution> |
60 | | - <goals> |
61 | | - <goal>revision</goal> |
62 | | - </goals> |
63 | | - </execution> |
64 | | - </executions> |
65 | | - <configuration> |
66 | | - <prefix>git</prefix> |
67 | | - <verbose>true</verbose> |
68 | | - <dotGitDirectory>${project.basedir}/.git</dotGitDirectory> |
69 | | - <generateGitPropertiesFile>true</generateGitPropertiesFile> |
70 | | - <!--<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>--> |
71 | | - <generateGitPropertiesFilename>target/classes/git.properties</generateGitPropertiesFilename> |
72 | | - </configuration> |
73 | | - </plugin> |
| 49 | + <dependencies> |
| 50 | + </dependencies> |
74 | 51 |
|
75 | | - <!-- Setting built-in java compiler properties --> |
76 | | - <plugin> |
77 | | - <groupId>org.apache.maven.plugins</groupId> |
78 | | - <artifactId>maven-compiler-plugin</artifactId> |
79 | | - <version>2.5.1</version> |
80 | | - <configuration> |
81 | | - <encoding>UTF-8</encoding> |
82 | | - <source>${java.target}</source> |
83 | | - <target>${java.target}</target> |
84 | | - </configuration> |
85 | | - </plugin> |
| 52 | + <build> |
| 53 | + <!-- GIT COMMIT ID PLUGIN CONFIGURATION --> |
| 54 | + <plugins> |
| 55 | + <plugin> |
| 56 | + <groupId>pl.project13.maven</groupId> |
| 57 | + <artifactId>git-commit-id-plugin</artifactId> |
| 58 | + <version>${git-commit-id-version}</version> |
| 59 | + <executions> |
| 60 | + <execution> |
| 61 | + <goals> |
| 62 | + <goal>revision</goal> |
| 63 | + </goals> |
| 64 | + </execution> |
| 65 | + </executions> |
| 66 | + <configuration> |
| 67 | + <prefix>git</prefix> |
| 68 | + <verbose>true</verbose> |
| 69 | + <dotGitDirectory>${project.basedir}/.git</dotGitDirectory> |
| 70 | + <generateGitPropertiesFile>true</generateGitPropertiesFile> |
| 71 | + <!--<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename> --> |
| 72 | + <generateGitPropertiesFilename>target/classes/git.properties</generateGitPropertiesFilename> |
| 73 | + </configuration> |
| 74 | + </plugin> |
86 | 75 |
|
87 | | - </plugins> |
88 | | - </build> |
| 76 | + <!-- Setting built-in java compiler properties --> |
| 77 | + <plugin> |
| 78 | + <groupId>org.apache.maven.plugins</groupId> |
| 79 | + <artifactId>maven-compiler-plugin</artifactId> |
| 80 | + <version>2.5.1</version> |
| 81 | + <configuration> |
| 82 | + <encoding>UTF-8</encoding> |
| 83 | + <source>${java.target}</source> |
| 84 | + <target>${java.target}</target> |
| 85 | + </configuration> |
| 86 | + </plugin> |
| 87 | + </plugins> |
| 88 | + </build> |
89 | 89 | </project> |
90 | 90 |
|
0 commit comments