Skip to content

Commit 62deba2

Browse files
committed
Add exec and heroku plugins, not tested.
1 parent e38f8ee commit 62deba2

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

pom.xml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
<version>2.46.0</version>
6060
<scope>test</scope>
6161
</dependency>
62-
62+
6363
<dependency>
6464
<groupId>io.rest-assured</groupId>
6565
<artifactId>rest-assured</artifactId>
@@ -73,7 +73,7 @@
7373
<version>${slf4j.version}</version>
7474
<scope>test</scope>
7575
</dependency>
76-
76+
7777
</dependencies>
7878

7979
<!--
@@ -120,6 +120,33 @@
120120
</execution>
121121
</executions>
122122
</plugin>
123+
<plugin>
124+
<groupId>org.codehaus.mojo</groupId>
125+
<artifactId>exec-maven-plugin</artifactId>
126+
<version>1.6.0</version>
127+
<executions>
128+
<execution>
129+
<goals>
130+
<goal>java</goal>
131+
</goals>
132+
</execution>
133+
</executions>
134+
<configuration>
135+
<mainClass>org.codecop.redgreen.Main</mainClass>
136+
</configuration>
137+
</plugin>
138+
<plugin>
139+
<groupId>com.heroku.sdk</groupId>
140+
<artifactId>heroku-maven-plugin</artifactId>
141+
<version>3.0.4</version>
142+
<configuration>
143+
<jdkVersion>1.8</jdkVersion>
144+
<appName>push-counter</appName>
145+
<processTypes>
146+
<web>java -jar ./target/red-green-counter-1.0-SNAPSHOT-jar-with-dependencies.jar</web>
147+
</processTypes>
148+
</configuration>
149+
</plugin>
123150
</plugins>
124151
</build>
125152

0 commit comments

Comments
 (0)