aboutsummaryrefslogtreecommitdiff
path: root/javaparser-core-generators/pom.xml
diff options
context:
space:
mode:
authorDanny van Bruggen <hexagonaal@gmail.com>2017-07-09 21:35:35 +0200
committerDanny van Bruggen <hexagonaal@gmail.com>2017-07-09 21:38:02 +0200
commit37a8986d31374fc1097ab41167e41604258de7bf (patch)
tree842df5bc4901cdc782b5523ed08ac267f4df35c4 /javaparser-core-generators/pom.xml
parent494bcc137419bcf692059e7780b324e5b234c814 (diff)
downloadjavaparser-37a8986d31374fc1097ab41167e41604258de7bf.tar.gz
Put code generation into a profile so it doesn't run on every build
Diffstat (limited to 'javaparser-core-generators/pom.xml')
-rw-r--r--javaparser-core-generators/pom.xml55
1 files changed, 30 insertions, 25 deletions
diff --git a/javaparser-core-generators/pom.xml b/javaparser-core-generators/pom.xml
index 4c6128106..916ef5ba5 100644
--- a/javaparser-core-generators/pom.xml
+++ b/javaparser-core-generators/pom.xml
@@ -18,29 +18,34 @@
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.6.0</version>
- <executions>
- <execution>
- <id>generate-javaparser-core</id>
- <phase>test</phase>
- <goals>
- <goal>java</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <classpathScope>test</classpathScope>
- <mainClass>com.github.javaparser.generator.core.CoreGenerator</mainClass>
- <arguments>
- <argument>${project.basedir}</argument>
- </arguments>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>run-core-generators</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.6.0</version>
+ <executions>
+ <execution>
+ <id>generate-javaparser-core</id>
+ <phase>test</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <classpathScope>test</classpathScope>
+ <mainClass>com.github.javaparser.generator.core.CoreGenerator</mainClass>
+ <arguments>
+ <argument>${project.basedir}</argument>
+ </arguments>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>