Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@martensjostrand
Last active January 24, 2024 21:40
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save martensjostrand/4131573 to your computer and use it in GitHub Desktop.
Save martensjostrand/4131573 to your computer and use it in GitHub Desktop.
Empty pom.xml
<?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"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>groupId</groupId>
<artifactId>artifactid</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>projectName</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
@dinglioutlook
Copy link

Saved my time. thanks.

@jongio
Copy link

jongio commented Feb 29, 2020

Thanks!

@rgp
Copy link

rgp commented Oct 1, 2020

Thanks a lot!
I used this for rjb gem in dokku context just putting this out there for google crawlers for the next one after
dokku buildpacks combination of a rails project that requires java context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment