Skip to content

Commit

Permalink
ci: added heroku-maven plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhumberstone committed Aug 19, 2024
1 parent 0d70bec commit 827b8ba
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 31 deletions.
18 changes: 1 addition & 17 deletions NOTES.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
Our first test: a test of tests, screenshotting playwright.dev

sudo apt-get install libxslt1.1\
sudo apt-get install libwoff1\
sudo apt-get install libvpx9\
sudo apt-get install libevent-2.1-7t64\
sudo apt-get install libopus0\
sudo apt-get install libgstreamer-plugins-base1.0-0\
sudo apt-get install libgstreamer-gl1.0-0\
sudo apt-get install libgstreamer-plugins-bad1.0-0\
sudo apt-get install libwebpdemux2\
sudo apt-get install libharfbuzz-icu0\
sudo apt-get install libenchant-2-2\
sudo apt-get install libsecret-1-0\
sudo apt-get install libhyphen0\
sudo apt-get install libmanette-0.2-0\
sudo apt-get install libflite1\
sudo apt-get install libgles2\
sudo apt-get install gstreamer1.0-libav
https://devcenter.heroku.com/articles/deploying-java-applications-with-the-heroku-maven-plugin
42 changes: 28 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.2</version>
<relativePath/> <!-- lookup parent from repository -->
<relativePath /> <!-- lookup parent from repository -->
</parent>
<groupId>com.nickhumberstone</groupId>
<artifactId>xpvoting</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>XP Voting</name>
<description>Voting tool for XP, built with XP</description>
<url/>
<url />
<licenses>
<license/>
<license />
</licenses>
<developers>
<developer/>
<developer />
</developers>
<scm>
<connection/>
<developerConnection/>
<tag/>
<url/>
<connection />
<developerConnection />
<tag />
<url />
</scm>
<properties>
<java.version>22</java.version>
Expand All @@ -39,10 +40,10 @@
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.microsoft.playwright</groupId>
<artifactId>playwright</artifactId>
<version>1.46.0</version>
</dependency>
<groupId>com.microsoft.playwright</groupId>
<artifactId>playwright</artifactId>
<version>1.46.0</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
Expand All @@ -63,7 +64,20 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.heroku.sdk</groupId>
<artifactId>heroku-maven-plugin</artifactId>
<version>3.0.7</version>
<configuration>
<processTypes>
<web>java $JAVA_OPTS -cp target/classes:target/dependency/*
XPVotingApplication</web>
</processTypes>
<jdkVersion>22</jdkVersion>
</configuration>

</plugin>
</plugins>
</build>

</project>
</project>
Binary file added src/main/resources/favicon.ico
Binary file not shown.

0 comments on commit 827b8ba

Please sign in to comment.