Skip to content

Commit

Permalink
MichaelTamm: Updated maven/pom.xml and maven/api/pom.xml so that the …
Browse files Browse the repository at this point in the history
…MANIFEST.MF of the selenium-api jar will contain a Build-Info section now too

r12927
  • Loading branch information
Michael Tamm committed Jul 14, 2011
1 parent f28a8b6 commit d1b68e4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
20 changes: 19 additions & 1 deletion maven/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

<build>
<plugins>
<!-- See http://maven.apache.org/plugins/maven-antrun-plugin -->
<plugin>
<!-- See http://maven.apache.org/plugins/maven-antrun-plugin -->
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
Expand Down Expand Up @@ -61,6 +61,24 @@
</execution>
</executions>
</plugin>
<plugin>
<!-- See http://maven.apache.org/plugins/maven-jar-plugin -->
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestSections>
<manifestSection>
<name>Build-Info</name>
<manifestEntries>
<Selenium-Version>${version}</Selenium-Version>
<Selenium-Revision>unknown</Selenium-Revision>
<Selenium-Build-Time>${maven.build.timestamp}</Selenium-Build-Time>
</manifestEntries>
</manifestSection>
</manifestSections>
</archive>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
4 changes: 4 additions & 0 deletions maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@
</dependencies>
</dependencyManagement>

<properties>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
</properties>

<build>
<pluginManagement>
<plugins>
Expand Down

0 comments on commit d1b68e4

Please sign in to comment.