Debian Codegraph @

javaparser-core-metamodel-generator/pom.xml

raw
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.26.1</version>
7 </parent>
8 <modelVersion>4.0.0</modelVersion>
9
10 <artifactId>javaparser-core-metamodel-generator</artifactId>
11 <description>The tool that generates the code in the javaparser-metamodel module</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 <build>
22 <plugins>
23 <plugin>
24 <groupId>org.apache.maven.plugins</groupId>
25 <artifactId>maven-deploy-plugin</artifactId>
26 <configuration>
27 <!-- no need to release this module -->
28 <skip>true</skip>
29 </configuration>
30 </plugin>
31 </plugins>
32 </build>
33
34 <profiles>
35 <profile>
36 <id>run-generators</id>
37 <build>
38 <plugins>
39 <plugin>
40 <groupId>org.codehaus.mojo</groupId>
41 <artifactId>exec-maven-plugin</artifactId>
42 <executions>
43 <execution>
44 <id>generate-javaparser-metamodel</id>
45 <phase>test</phase>
46 <goals>
47 <goal>java</goal>
48 </goals>
49 </execution>
50 </executions>
51 <configuration>
52 <classpathScope>test</classpathScope>
53 <mainClass>com.github.javaparser.generator.metamodel.MetaModelGenerator</mainClass>
54 <arguments>
55 <argument>${project.basedir}</argument>
56 </arguments>
57 </configuration>
58 </plugin>
59 </plugins>
60 </build>
61 </profile>
62 </profiles>
63 </project>