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.5.16-SNAPSHOT</version> 7 </parent> 8 <modelVersion>4.0.0</modelVersion> 9 10 <artifactId>javaparser-symbol-solver-model</artifactId> 11 <packaging>jar</packaging> 12 <description>A Symbol Solver for Java, built on top of JavaParser (model)</description> 13 14 <licenses> 15 <license> 16 <name>GNU Lesser General Public License</name> 17 <url>http://www.gnu.org/licenses/lgpl-3.0.html</url> 18 <distribution>repo</distribution> 19 </license> 20 <license> 21 <name>Apache License, Version 2.0</name> 22 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 23 <distribution>repo</distribution> 24 <comments>A business-friendly OSS license</comments> 25 </license> 26 </licenses> 27 28 <properties> 29 <java.version>1.8</java.version> 30 <build.timestamp>${maven.build.timestamp}</build.timestamp> 31 </properties> 32 33 <dependencies> 34 <dependency> 35 <groupId>com.github.javaparser</groupId> 36 <artifactId>javaparser-core</artifactId> 37 <version>${project.version}</version> 38 </dependency> 39 <dependency> 40 <groupId>org.javassist</groupId> 41 <artifactId>javassist</artifactId> 42 </dependency> 43 <dependency> 44 <groupId>com.google.guava</groupId> 45 <artifactId>guava</artifactId> 46 </dependency> 47 </dependencies> 48 49 <build> 50 <plugins> 51 <plugin> 52 <groupId>org.codehaus.mojo</groupId> 53 <artifactId>animal-sniffer-maven-plugin</artifactId> 54 <configuration> 55 <signature> 56 <!-- Make sure only the API of this JDK is used --> 57 <groupId>org.codehaus.mojo.signature</groupId> 58 <artifactId>java18</artifactId> 59 <version>1.0</version> 60 </signature> 61 </configuration> 62 <executions> 63 <execution> 64 <id>animal-sniffer</id> 65 <phase>verify</phase> 66 <goals> 67 <goal>check</goal> 68 </goals> 69 </execution> 70 </executions> 71 </plugin> 72 <plugin> 73 <groupId>org.apache.maven.plugins</groupId> 74 <artifactId>maven-enforcer-plugin</artifactId> 75 <executions> 76 <execution> 77 <id>enforce-versions</id> 78 <phase>verify</phase> 79 <goals> 80 <goal>enforce</goal> 81 </goals> 82 <configuration> 83 <rules> 84 <requireJavaVersion> 85 <!-- Make sure a compiler of this version is used --> 86 <version>${java.version}</version> 87 </requireJavaVersion> 88 <enforceBytecodeVersion> 89 <!-- Make sure the dependencies are compiled for our Java version --> 90 <maxJdkVersion>${java.version}</maxJdkVersion> 91 </enforceBytecodeVersion> 92 </rules> 93 </configuration> 94 </execution> 95 </executions> 96 <dependencies> 97 <dependency> 98 <groupId>org.codehaus.mojo</groupId> 99 <artifactId>extra-enforcer-rules</artifactId> 100 <version>1.0-beta-6</version> 101 </dependency> 102 </dependencies> 103 </plugin> 104 <!-- Set JPMS module name --> 105 <plugin> 106 <groupId>org.apache.maven.plugins</groupId> 107 <artifactId>maven-jar-plugin</artifactId> 108 <configuration> 109 <archive> 110 <manifestEntries> 111 <Automatic-Module-Name>com.github.javaparser.symbolsolver.model</Automatic-Module-Name> 112 </manifestEntries> 113 </archive> 114 </configuration> 115 </plugin> 116 </plugins> 117 </build> 118 119 120 121</project> 122