Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Commit 2280b76

Browse files
author
David Kane
authored
Make release 2.5.0 (#69)
This release includes: - Add push goal - Add pull goal - Add build goal - Add environment variable support
1 parent 4f9915f commit 2280b76

4 files changed

Lines changed: 35 additions & 35 deletions

File tree

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
root = true
22

3-
[**]
3+
[*]
44
charset = utf-8
55
end_of_line = lf
66
indent_size = 4
@@ -9,5 +9,5 @@ insert_final_newline = true
99
trim_trailing_whitespace = true
1010
tab_width = 4
1111

12-
[{*.yaml,*.yml}]
12+
[{*.yaml, *.yml}]
1313
indent_size = 2

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.dkanejs.maven.plugins</groupId>
77
<artifactId>docker-compose-maven-plugin</artifactId>
8-
<version>2.4.1-SNAPSHOT</version>
8+
<version>2.5.0</version>
99

1010
<packaging>maven-plugin</packaging>
1111

src/it/build/pom.xml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
4+
<modelVersion>4.0.0</modelVersion>
55

6-
<groupId>com.dkanejs.maven.plugins.it</groupId>
7-
<artifactId>build</artifactId>
8-
<version>1.0</version>
6+
<groupId>com.dkanejs.maven.plugins.it</groupId>
7+
<artifactId>build</artifactId>
8+
<version>1.0</version>
99

10-
<description>Verify "docker-compose build" runs.</description>
10+
<description>Verify "docker-compose build" runs.</description>
1111

12-
<properties>
13-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14-
</properties>
12+
<properties>
13+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14+
</properties>
1515

16-
<build>
17-
<plugins>
18-
<plugin>
19-
<groupId>@project.groupId@</groupId>
20-
<artifactId>@project.artifactId@</artifactId>
21-
<version>@project.version@</version>
22-
<executions>
23-
<execution>
24-
<id>build</id>
25-
<phase>verify</phase>
26-
<goals>
27-
<goal>build</goal>
28-
</goals>
29-
<configuration>
30-
<composeFile>${project.basedir}/docker-compose.yml</composeFile>
31-
<detachedMode>false</detachedMode>
32-
</configuration>
33-
</execution>
34-
</executions>
35-
</plugin>
36-
</plugins>
37-
</build>
16+
<build>
17+
<plugins>
18+
<plugin>
19+
<groupId>@project.groupId@</groupId>
20+
<artifactId>@project.artifactId@</artifactId>
21+
<version>@project.version@</version>
22+
<executions>
23+
<execution>
24+
<id>build</id>
25+
<phase>verify</phase>
26+
<goals>
27+
<goal>build</goal>
28+
</goals>
29+
<configuration>
30+
<composeFile>${project.basedir}/docker-compose.yml</composeFile>
31+
<detachedMode>false</detachedMode>
32+
</configuration>
33+
</execution>
34+
</executions>
35+
</plugin>
36+
</plugins>
37+
</build>
3838
</project>

src/main/java/com/dkanejs/maven/plugins/docker/compose/AbstractDockerComposeMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ enum Command {
260260
UP("up"),
261261
DOWN("down"),
262262
PULL("pull"),
263-
BUILD("build"),
264-
PUSH("push");
263+
PUSH("push"),
264+
BUILD("build");
265265

266266
@SuppressWarnings("unused")
267267
private String value;

0 commit comments

Comments
 (0)