Skip to content

Commit a36b041

Browse files
committed
Adding git commit ID to protein-comparison-tool manifest
1 parent 4736a97 commit a36b041

1 file changed

Lines changed: 46 additions & 27 deletions

File tree

  • biojava-protein-comparison-tool

biojava-protein-comparison-tool/pom.xml

Lines changed: 46 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0"?>
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">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45
<parent>
56
<artifactId>biojava</artifactId>
@@ -11,37 +12,37 @@
1112
<packaging>jar</packaging>
1213
<name>biojava-protein-comparison-tool</name>
1314
<url>http://source.rcsb.org</url>
14-
<properties>
15+
<properties>
1516
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16-
<project.build.targetEncoding>UTF-8</project.build.targetEncoding>
17-
<maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
18-
<timestamp>${maven.build.timestamp}</timestamp>
17+
<project.build.targetEncoding>UTF-8</project.build.targetEncoding>
18+
<maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
19+
<timestamp>${maven.build.timestamp}</timestamp>
1920
</properties>
20-
21+
2122
<dependencies>
2223
<dependency>
2324
<groupId>junit</groupId>
2425
<artifactId>junit</artifactId>
2526

2627
<scope>test</scope>
2728
</dependency>
28-
29+
2930
<dependency>
3031
<groupId>org.biojava</groupId>
3132
<artifactId>biojava-alignment</artifactId>
3233
<version>4.0.0-SNAPSHOT</version>
33-
34+
3435
</dependency>
3536
<dependency>
3637
<groupId>org.biojava</groupId>
3738
<artifactId>biojava-core</artifactId>
3839
<version>4.0.0-SNAPSHOT</version>
39-
</dependency>
40+
</dependency>
4041
<dependency>
4142
<groupId>org.biojava</groupId>
4243
<artifactId>biojava-structure</artifactId>
4344
<version>4.0.0-SNAPSHOT</version>
44-
</dependency>
45+
</dependency>
4546
<dependency>
4647
<groupId>org.biojava</groupId>
4748
<artifactId>biojava-structure-gui</artifactId>
@@ -54,22 +55,22 @@
5455
</dependency>
5556
<!-- logging dependencies (managed by parent pom, don't set versions or scopes here) -->
5657
<dependency>
57-
<groupId>org.slf4j</groupId>
58-
<artifactId>slf4j-api</artifactId>
59-
</dependency>
60-
<!-- binding for log4j2, scope=runTime set in parent pom -->
61-
<dependency>
62-
<groupId>org.apache.logging.log4j</groupId>
63-
<artifactId>log4j-slf4j-impl</artifactId>
64-
</dependency>
65-
<dependency>
66-
<groupId>org.apache.logging.log4j</groupId>
67-
<artifactId>log4j-api</artifactId>
68-
</dependency>
69-
<dependency>
70-
<groupId>org.apache.logging.log4j</groupId>
71-
<artifactId>log4j-core</artifactId>
72-
</dependency>
58+
<groupId>org.slf4j</groupId>
59+
<artifactId>slf4j-api</artifactId>
60+
</dependency>
61+
<!-- binding for log4j2, scope=runTime set in parent pom -->
62+
<dependency>
63+
<groupId>org.apache.logging.log4j</groupId>
64+
<artifactId>log4j-slf4j-impl</artifactId>
65+
</dependency>
66+
<dependency>
67+
<groupId>org.apache.logging.log4j</groupId>
68+
<artifactId>log4j-api</artifactId>
69+
</dependency>
70+
<dependency>
71+
<groupId>org.apache.logging.log4j</groupId>
72+
<artifactId>log4j-core</artifactId>
73+
</dependency>
7374
</dependencies>
7475

7576
<build>
@@ -126,6 +127,7 @@
126127
<Specification-Title>${project.name}</Specification-Title>
127128
<Implementation-Title>${project.name}</Implementation-Title>
128129
<Main-Class>org.biojava.nbio.structure.align.gui.AlignmentGui</Main-Class>
130+
<Implementation-Build>${buildNumber}</Implementation-Build>
129131
</manifestEntries>
130132
</transformer>
131133
<!-- This bit merges the various META-INF/services files -->
@@ -162,7 +164,24 @@
162164

163165
</plugin>
164166

167+
<plugin>
168+
<groupId>org.codehaus.mojo</groupId>
169+
<artifactId>buildnumber-maven-plugin</artifactId>
170+
<version>1.3</version>
171+
<executions>
172+
<execution>
173+
<phase>validate</phase>
174+
<goals>
175+
<goal>create</goal>
176+
</goals>
177+
</execution>
178+
</executions>
179+
<configuration>
180+
<doCheck>false</doCheck>
181+
<doUpdate>false</doUpdate>
182+
</configuration>
183+
</plugin>
165184
</plugins>
166185
</build>
167-
186+
168187
</project>

0 commit comments

Comments
 (0)