Uploaded image for project: 'Build'
  1. Build
  2. BUILD-141

Add jrebel profile to parent pom

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • POMs 28
    • None
    • Poms
    • None

      Some developers use JRebel. Rather than configuring jrebel support in the IDEs over and over again, having Maven generate the rebel.xml seems to help. We need to have this in a profile to ensure those are not distributed with released jars. This should be enough:

      <profile>
            <id>jrebel</id>
            <build>
              <plugins>
                <plugin>
                  <groupId>org.zeroturnaround</groupId>
                  <artifactId>jrebel-maven-plugin</artifactId>
                  <version>1.1.5</version>
                  <configuration>
                    <addResourcesDirToRebelXml>true</addResourcesDirToRebelXml>
                    <alwaysGenerate>true</alwaysGenerate>
                  </configuration>
                  <executions>
                    <execution>
                      <id>generate-rebel-xml</id>
                      <phase>process-resources</phase>
                      <goals>
                        <goal>generate</goal>
                      </goals>
                    </execution>
                  </executions>
                </plugin>
              </plugins>
            </build>
          </profile>
      

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: