Skip to content

Instantly share code, notes, and snippets.

@fabiofalci
Created October 3, 2014 12:23
Show Gist options
  • Save fabiofalci/651cb606d7f63b9dea83 to your computer and use it in GitHub Desktop.
Save fabiofalci/651cb606d7f63b9dea83 to your computer and use it in GitHub Desktop.
Spring boot maven jrebel
<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>stats</groupId>
<artifactId>stats</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.1.7.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>1.1.7.RELEASE</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
<configuration>
<jvmArguments>
-javaagent:/opt/jrebel/jrebel.jar
</jvmArguments>
</configuration>
</plugin>
</plugins>
</build>
</project>
@tankxxl
Copy link

tankxxl commented Dec 6, 2018

I'm using Mac, where is the /opt/jrebel/jrebel.jar??

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