1<?xml version="1.0" encoding="UTF-8"?> 2<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"> 3 <parent> 4 <artifactId>javaparser-parent</artifactId> 5 <groupId>com.github.javaparser</groupId> 6 <version>3.14.10-SNAPSHOT</version> 7 </parent> 8 <modelVersion>4.0.0</modelVersion> 9 10 <artifactId>javaparser-core-generators</artifactId> 11 <description>A code generator framework, and the generators for javaparser-core</description> 12 13 <dependencies> 14 <dependency> 15 <groupId>com.github.javaparser</groupId> 16 <artifactId>javaparser-core</artifactId> 17 <version>${project.version}</version> 18 </dependency> 19 </dependencies> 20 21 <profiles> 22 <profile> 23 <id>run-generators</id> 24 <build> 25 <plugins> 26 <plugin> 27 <groupId>org.codehaus.mojo</groupId> 28 <artifactId>exec-maven-plugin</artifactId> 29 <executions> 30 <execution> 31 <id>generate-javaparser-core</id> 32 <phase>test</phase> 33 <goals> 34 <goal>java</goal> 35 </goals> 36 </execution> 37 </executions> 38 <configuration> 39 <classpathScope>test</classpathScope> 40 <mainClass>com.github.javaparser.generator.core.CoreGenerator</mainClass> 41 <arguments> 42 <argument>${project.basedir}</argument> 43 </arguments> 44 </configuration> 45 </plugin> 46 </plugins> 47 </build> 48 </profile> 49 </profiles> 50</project> 51