emissary
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>gov.nsa.emissary</groupId> <artifactId>emissary</artifactId> <version>8.19.1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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"> <modelVersion>4.0.0</modelVersion> <groupId>gov.nsa.emissary</groupId> <artifactId>emissary</artifactId> <version>8.19.1</version> <packaging>jar</packaging> <name>Emissary</name> <description>Distributed P2P Data-driven Workflow Framework</description> <url>https://github.com/NationalSecurityAgency/emissary</url> <organization> <name>National Security Agency</name> <url>https://code.nsa.gov</url> </organization> <licenses> <license> <name>Apache-2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>support</id> <name>emissary support</name> <email>EmissarySupport@uwe.nsa.gov</email> <url>https://github.com/NationalSecurityAgency/emissary</url> <organization>NSA</organization> <timezone>America/New_York</timezone> </developer> </developers> <mailingLists /> <scm> <connection>scm:git:https://github.com/NationalSecurityAgency/emissary.git</connection> <developerConnection>scm:git:git@github.com:NationalSecurityAgency/emissary.git</developerConnection> <tag>8.19.1</tag> <url>https://github.com/NationalSecurityAgency/emissary</url> </scm> <issueManagement> <system>GitHub</system> <url>https://github.com/NationalSecurityAgency/emissary/issues</url> </issueManagement> <ciManagement /> <distributionManagement> <site> <id>github</id> <url>scm:git:git@github.com:NationalSecurityAgency/emissary.git</url> </site> </distributionManagement> <properties> <BUILD_TIMESTAMP>${maven.build.timestamp}</BUILD_TIMESTAMP> <EMISSARY_VERSION>${project.version}</EMISSARY_VERSION> <argLine /> <checkstyleFormatter>${project.basedir}/contrib/checkstyle.xml</checkstyleFormatter> <dep.commons-codec.version>1.16.0</dep.commons-codec.version> <dep.commons-collections.version>4.4</dep.commons-collections.version> <dep.commons-compress.version>1.27.1</dep.commons-compress.version> <dep.commons-exec.version>1.3</dep.commons-exec.version> <dep.commons-io.version>2.17.0</dep.commons-io.version> <dep.commons-lang.version>3.17.0</dep.commons-lang.version> <dep.commons-pool.version>2.11.1</dep.commons-pool.version> <dep.dropwizard.metrics.version>4.2.25</dep.dropwizard.metrics.version> <dep.errorprone.version>2.23.0</dep.errorprone.version> <dep.gson.version>2.10.1</dep.gson.version> <dep.guava.version>32.1.2-jre</dep.guava.version> <dep.httpclient.version>5.2.1</dep.httpclient.version> <dep.httpcore.version>5.2.1</dep.httpcore.version> <dep.jackson.version>2.15.2</dep.jackson.version> <dep.jakarta.xml.bind-api.version>3.0.1</dep.jakarta.xml.bind-api.version> <dep.janino.version>3.1.12</dep.janino.version> <dep.jaxb.runtime.version>3.0.1</dep.jaxb.runtime.version> <dep.jdom.version>2.0.6.1</dep.jdom.version> <dep.jersey.version>3.1.3</dep.jersey.version> <dep.jetty.version>11.0.24</dep.jetty.version> <dep.junit-jupiter.version>5.10.0</dep.junit-jupiter.version> <dep.logback.version>1.4.14</dep.logback.version> <dep.mockito.version>5.5.0</dep.mockito.version> <dep.picocli.version>4.7.4</dep.picocli.version> <dep.slf4j.version>2.0.7</dep.slf4j.version> <dep.spullara.mustache.compiler.version>0.9.10</dep.spullara.mustache.compiler.version> <dep.spymemcached.version>2.12.3</dep.spymemcached.version> <dep.webjars.bootstrap.version>5.1.3</dep.webjars.bootstrap.version> <dep.webjars.jquery.version>3.6.0</dep.webjars.jquery.version> <dep.webjars.popper.version>2.9.3</dep.webjars.popper.version> <eclipseFormatterStyle>${project.basedir}/contrib/formatter.xml</eclipseFormatterStyle> <git.useNative>false</git.useNative> <maven.compiler.release>11</maven.compiler.release> <maven.compiler.showWarnings>true</maven.compiler.showWarnings> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> <maven.min-version>3.6.3</maven.min-version> <plugin.build-helper-maven.version>3.6.0</plugin.build-helper-maven.version> <plugin.cyclonedx-maven.version>2.9.1</plugin.cyclonedx-maven.version> <plugin.duplicate-finder-maven.version>1.5.1</plugin.duplicate-finder-maven.version> <plugin.exec-maven.version>3.5.0</plugin.exec-maven.version> <plugin.formatter-maven.version>2.23.0</plugin.formatter-maven.version> <plugin.git-commit-id-maven.version>9.0.1</plugin.git-commit-id-maven.version> <plugin.impsort-maven.version>1.8.0</plugin.impsort-maven.version> <plugin.jacoco-maven.version>0.8.12</plugin.jacoco-maven.version> <plugin.maven-assembly.version>3.7.1</plugin.maven-assembly.version> <plugin.maven-checkstyle.version>3.3.0</plugin.maven-checkstyle.version> <plugin.maven-clean.version>3.4.0</plugin.maven-clean.version> <plugin.maven-compiler.version>3.13.0</plugin.maven-compiler.version> <plugin.maven-dependency.version>3.8.1</plugin.maven-dependency.version> <plugin.maven-deploy.version>3.1.3</plugin.maven-deploy.version> <plugin.maven-enforcer.version>3.5.0</plugin.maven-enforcer.version> <plugin.maven-gpg.version>3.2.7</plugin.maven-gpg.version> <plugin.maven-install.version>3.1.3</plugin.maven-install.version> <plugin.maven-jar.version>3.4.2</plugin.maven-jar.version> <plugin.maven-javadoc.version>3.11.1</plugin.maven-javadoc.version> <plugin.maven-jxr.version>3.6.0</plugin.maven-jxr.version> <plugin.maven-pmd.version>3.24.0</plugin.maven-pmd.version> <plugin.maven-project-info-reports.version>3.4.2</plugin.maven-project-info-reports.version> <plugin.maven-release.version>3.1.1</plugin.maven-release.version> <plugin.maven-replacer.version>1.5.3</plugin.maven-replacer.version> <plugin.maven-resources.version>3.3.1</plugin.maven-resources.version> <plugin.maven-scm-publish.version>3.3.0</plugin.maven-scm-publish.version> <plugin.maven-site.version>3.12.1</plugin.maven-site.version> <plugin.maven-source.version>3.3.1</plugin.maven-source.version> <plugin.maven-surefire.version>3.2.3</plugin.maven-surefire.version> <plugin.nexus-staging-maven.version>1.6.7</plugin.nexus-staging-maven.version> <plugin.sonar-maven.version>3.9.1.2184</plugin.sonar-maven.version> <plugin.sortpom-maven.version>2.15.0</plugin.sortpom-maven.version> <plugin.takari-lifecycle>2.0.8</plugin.takari-lifecycle> <plugin.versions-maven.version>2.17.1</plugin.versions-maven.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- The following properties are used to ignore certain SonarQube rules. --> <sonar.issue.ignore.multicriteria>e1</sonar.issue.ignore.multicriteria> <sonar.issue.ignore.multicriteria.e1.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e1.resourceKey> <sonar.issue.ignore.multicriteria.e1.ruleKey>java:S6212</sonar.issue.ignore.multicriteria.e1.ruleKey> <!-- With Java 8 and the latest version of surefire, user.timezone is not read correctly. Reevaluate one day. See https://issues.apache.org/jira/browse/SUREFIRE-1176 or http://stackoverflow.com/questions/19121928/java-system-getproperty-user-timezone-does-not-work The COMPAT locale provider is used because the date formatter parsing has changed significantly when using the CLDR locale provider, which is the default in JDK11. https://www.oracle.com/technetwork/java/javase/documentation/java11locales-5069639.html --> <surefire.argline>@{argLine} -Xmx1024m -Xms256m -Djava.locale.providers=COMPAT -Djava.net.preferIPv4Stack=true -Duser.timezone=GMT -Djava.awt.headless=true</surefire.argline> <surefire.forkCount>.5C</surefire.forkCount> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${dep.logback.version}</version> </dependency> <dependency> <groupId>com.github.spullara.mustache.java</groupId> <artifactId>compiler</artifactId> <version>${dep.spullara.mustache.compiler.version}</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>${dep.gson.version}</version> </dependency> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_annotations</artifactId> <version>${dep.errorprone.version}</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${dep.guava.version}</version> <exclusions> <exclusion> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_annotations</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>${dep.commons-codec.version}</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>${dep.commons-io.version}</version> </dependency> <dependency> <groupId>info.picocli</groupId> <artifactId>picocli</artifactId> <version>${dep.picocli.version}</version> </dependency> <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> <version>${dep.jakarta.xml.bind-api.version}</version> </dependency> <dependency> <groupId>net.spy</groupId> <artifactId>spymemcached</artifactId> <version>${dep.spymemcached.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> <version>${dep.commons-collections.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>${dep.commons-compress.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-exec</artifactId> <version>${dep.commons-exec.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>${dep.commons-lang.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-pool2</artifactId> <version>${dep.commons-pool.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents.client5</groupId> <artifactId>httpclient5</artifactId> <version>${dep.httpclient.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents.core5</groupId> <artifactId>httpcore5</artifactId> <version>${dep.httpcore.version}</version> </dependency> <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> <version>${dep.jaxb.runtime.version}</version> </dependency> <dependency> <groupId>org.jdom</groupId> <artifactId>jdom2</artifactId> <version>${dep.jdom.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> <version>${dep.slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jul-to-slf4j</artifactId> <version>${dep.slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>log4j-over-slf4j</artifactId> <version>${dep.slf4j.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${dep.slf4j.version}</version> </dependency> <dependency> <groupId>org.webjars</groupId> <artifactId>bootstrap</artifactId> <version>${dep.webjars.bootstrap.version}</version> </dependency> <dependency> <groupId>org.webjars</groupId> <artifactId>jquery</artifactId> <version>${dep.webjars.jquery.version}</version> </dependency> <dependency> <groupId>org.webjars</groupId> <artifactId>popper.js</artifactId> <version>${dep.webjars.popper.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-bom</artifactId> <version>${dep.jackson.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-bom</artifactId> <version>${dep.dropwizard.metrics.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-bom</artifactId> <version>${dep.jetty.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.glassfish.jersey</groupId> <artifactId>jersey-bom</artifactId> <version>${dep.jersey.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>${dep.junit-jupiter.version}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>org.hamcrest</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${dep.mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>${dep.mockito.version}</version> <scope>test</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr310</artifactId> </dependency> <dependency> <groupId>com.github.spullara.mustache.java</groupId> <artifactId>compiler</artifactId> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <dependency> <groupId>info.picocli</groupId> <artifactId>picocli</artifactId> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-graphite</artifactId> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-healthchecks</artifactId> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-jmx</artifactId> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-jvm</artifactId> </dependency> <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-servlets</artifactId> </dependency> <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> </dependency> <dependency> <groupId>net.logstash.logback</groupId> <artifactId>logstash-logback-encoder</artifactId> <version>7.2</version> </dependency> <dependency> <groupId>net.spy</groupId> <artifactId>spymemcached</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-exec</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-pool2</artifactId> </dependency> <dependency> <groupId>org.apache.httpcomponents.client5</groupId> <artifactId>httpclient5</artifactId> </dependency> <dependency> <groupId>org.codehaus.janino</groupId> <artifactId>janino</artifactId> <version>${dep.janino.version}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-plus</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-security</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-webapp</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-xml</artifactId> </dependency> <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> </dependency> <dependency> <groupId>org.glassfish.jersey.containers</groupId> <artifactId>jersey-container-jetty-http</artifactId> </dependency> <dependency> <groupId>org.glassfish.jersey.containers</groupId> <artifactId>jersey-container-servlet-core</artifactId> </dependency> <dependency> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-common</artifactId> </dependency> <dependency> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-server</artifactId> </dependency> <dependency> <groupId>org.glassfish.jersey.ext</groupId> <artifactId>jersey-mvc</artifactId> <exclusions> <exclusion> <groupId>jakarta.servlet</groupId> <artifactId>jakarta.servlet-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.glassfish.jersey.ext</groupId> <artifactId>jersey-mvc-mustache</artifactId> <exclusions> <exclusion> <groupId>jakarta.servlet</groupId> <artifactId>jakarta.servlet-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.glassfish.jersey.inject</groupId> <artifactId>jersey-hk2</artifactId> </dependency> <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-json-jackson</artifactId> </dependency> <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-multipart</artifactId> </dependency> <dependency> <groupId>org.jdom</groupId> <artifactId>jdom2</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>log4j-over-slf4j</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_annotations</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.jersey.test-framework.providers</groupId> <artifactId>jersey-test-framework-provider-jetty</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>jakarta.servlet</groupId> <artifactId>jakarta.servlet-api</artifactId> </exclusion> <exclusion> <groupId>org.hamcrest</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>org.hamcrest</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <resources> <resource> <filtering>true</filtering> <directory>src/main/resources</directory> <includes> <include>**/*.cfg</include> </includes> </resource> <resource> <targetPath>${project.build.directory}/config</targetPath> <filtering>false</filtering> <directory>src/main/config</directory> </resource> <resource> <!-- don't filter xml, properties or js files --> <filtering>false</filtering> <directory>src/main/resources</directory> <excludes> <exclude>**/*.cfg</exclude> </excludes> </resource> </resources> <testResources> <testResource> <filtering>true</filtering> <directory>src/test/resources</directory> <includes> <include>**/*.cfg</include> </includes> </testResource> <testResource> <!-- don't filter xml, properties, js or dat files --> <filtering>false</filtering> <directory>src/test/resources</directory> <excludes> <exclude>**/*.cfg</exclude> </excludes> </testResource> <testResource> <targetPath>${project.build.directory}/</targetPath> <filtering>true</filtering> <directory>src/test/</directory> <includes> <include>env.sh</include> </includes> </testResource> <testResource> <directory>${project.basedir}/src/main/resources/templates</directory> </testResource> </testResources> <pluginManagement> <plugins> <plugin> <groupId>com.github.ekryd.sortpom</groupId> <artifactId>sortpom-maven-plugin</artifactId> <version>${plugin.sortpom-maven.version}</version> <configuration> <predefinedSortOrder>recommended_2008_06</predefinedSortOrder> <createBackupFile>false</createBackupFile> <lineSeparator>\n</lineSeparator> <expandEmptyElements>false</expandEmptyElements> <nrOfIndentSpace>2</nrOfIndentSpace> <sortDependencies>scope,groupId,artifactId</sortDependencies> <sortDependencyExclusions>scope,groupId,artifactId</sortDependencyExclusions> <sortPlugins>groupId,artifactId</sortPlugins> <sortProperties>true</sortProperties> </configuration> <executions> <execution> <id>sort-pom</id> <goals> <goal>sort</goal> </goals> <phase>process-sources</phase> </execution> <execution> <id>verify-sorted-pom</id> <goals> <goal>verify</goal> </goals> <phase>process-resources</phase> </execution> </executions> </plugin> <plugin> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> <version>${plugin.maven-replacer.version}</version> </plugin> <plugin> <groupId>io.github.git-commit-id</groupId> <artifactId>git-commit-id-maven-plugin</artifactId> <version>${plugin.git-commit-id-maven.version}</version> <configuration> <generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFilename>${project.build.outputDirectory}/emissary.git.properties</generateGitPropertiesFilename> <commitIdGenerationMode>full</commitIdGenerationMode> <useNativeGit>${git.useNative}</useNativeGit> </configuration> <executions> <execution> <goals> <goal>revision</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>io.takari.maven.plugins</groupId> <artifactId>takari-lifecycle-plugin</artifactId> <version>${plugin.takari-lifecycle}</version> </plugin> <plugin> <groupId>net.revelc.code</groupId> <artifactId>impsort-maven-plugin</artifactId> <version>${plugin.impsort-maven.version}</version> <configuration> <groups>emissary,*,java</groups> <removeUnused>true</removeUnused> <staticGroups>*</staticGroups> <staticAfter>true</staticAfter> </configuration> <executions> <execution> <goals> <goal>sort</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <version>${plugin.formatter-maven.version}</version> <configuration> <compilerCompliance>${maven.compiler.source}</compilerCompliance> <compilerSource>${maven.compiler.source}</compilerSource> <compilerTargetPlatform>${maven.compiler.target}</compilerTargetPlatform> <configFile>${eclipseFormatterStyle}</configFile> <lineEnding>LF</lineEnding> <removeTrailingWhitespace>false</removeTrailingWhitespace> <skipCssFormatting>true</skipCssFormatting> <skipHtmlFormatting>true</skipHtmlFormatting> <skipJsFormatting>true</skipJsFormatting> <skipJsonFormatting>true</skipJsonFormatting> <skipXmlFormatting>true</skipXmlFormatting> </configuration> <executions> <execution> <goals> <goal>format</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>${plugin.maven-assembly.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${plugin.maven-checkstyle.version}</version> <configuration> <configLocation>${checkstyleFormatter}</configLocation> <!-- this combination of these two configurations (failOnViolation=true and violationSeverity=error) means any checks with severity=error will fail the build --> <!-- TODO enforce more checkstyle categories as the build gets cleaned up --> <!-- As you fix checkstyle warning categories, change the severity of that category to "error" so it will fail the build if new violations of that category get introduced. --> <failOnViolation>true</failOnViolation> <violationSeverity>error</violationSeverity> <includeTestSourceDirectory>true</includeTestSourceDirectory> <excludes /> </configuration> <dependencies> <dependency> <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> <version>10.9.3</version> </dependency> </dependencies> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>${plugin.maven-clean.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${plugin.maven-compiler.version}</version> <configuration> <showWarnings>${maven.compiler.showWarnings}</showWarnings> <compilerArgs> <arg>-Xlint:all</arg> </compilerArgs> <release>${maven.compiler.release}</release> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>${plugin.maven-deploy.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${plugin.maven-enforcer.version}</version> <executions> <execution> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <bannedDependencies> <excludes> <exclude>ch.qos.logback:*:(,1.2.9)</exclude> <exclude>log4j</exclude> <exclude>org.apache.logging.log4j:*:(,2.17.1)</exclude> <exclude>org.hamcrest</exclude> <exclude>javax.servlet</exclude> </excludes> <searchTransitive>true</searchTransitive> </bannedDependencies> <requireMavenVersion> <version>[${maven.min-version},)</version> </requireMavenVersion> <requireJavaVersion> <version>[11,)</version> </requireJavaVersion> <dependencyConvergence /> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${plugin.maven-surefire.version}</version> <configuration> <argLine>${surefire.argline}</argLine> <redirectTestOutputToFile>true</redirectTestOutputToFile> <environmentVariables> <PROJECT_BASE>${project.build.directory}</PROJECT_BASE> </environmentVariables> <reuseForks>false</reuseForks> <forkCount>${surefire.forkCount}</forkCount> </configuration> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>${plugin.maven-install.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${plugin.maven-jar.version}</version> <executions> <execution> <goals> <goal>test-jar</goal> </goals> <configuration> <excludes> <exclude>**/logback-test.xml</exclude> </excludes> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${plugin.maven-javadoc.version}</version> <configuration> <quiet>true</quiet> <doclint>all,-missing</doclint> <failOnWarnings>true</failOnWarnings> <failOnError>true</failOnError> </configuration> <executions> <execution> <goals> <goal>jar</goal> <goal>test-jar</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>${plugin.maven-jxr.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>${plugin.maven-pmd.version}</version> <configuration> <excludes /> <failOnViolation>true</failOnViolation> <failurePriority>2</failurePriority> <maxAllowedViolations>3</maxAllowedViolations> <format>xml</format> <includeTests>true</includeTests> <minimumTokens>100</minimumTokens> <inputEncoding>${project.build.sourceEncoding}</inputEncoding> <targetJdk>${maven.compiler.target}</targetJdk> </configuration> <executions> <execution> <goals> <goal>check</goal> <!--<goal>cpd-check</goal>--> </goals> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>${plugin.maven-project-info-reports.version}</version> <configuration> <dependencyDetailsEnabled>false</dependencyDetailsEnabled> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>${plugin.maven-release.version}</version> <configuration> <autoVersionSubmodules>true</autoVersionSubmodules> <pushChanges>false</pushChanges> <goals>deploy</goals> <localCheckout>true</localCheckout> <releaseProfiles>basis,hotspot,dev</releaseProfiles> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${plugin.maven-resources.version}</version> <configuration> <delimiters> <delimiter>${*}</delimiter> <!-- to keep the default behavior --> <delimiter>@</delimiter> <!-- to add Ant-like tokens style --> </delimiters> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-publish-plugin</artifactId> <version>${plugin.maven-scm-publish.version}</version> <configuration> <scmBranch>gh-pages</scmBranch> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>${plugin.maven-site.version}</version> <configuration> <attach>true</attach> <relativizeDecorationLinks>false</relativizeDecorationLinks> <locales>en</locales> <inputEncoding>${project.build.sourceEncoding}</inputEncoding> <outputEncoding>${project.reporting.outputEncoding}</outputEncoding> <port>9000</port> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${plugin.maven-source.version}</version> <executions> <execution> <goals> <goal>jar</goal> <goal>test-jar</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${plugin.maven-surefire.version}</version> <configuration> <argLine>${surefire.argline}</argLine> <environmentVariables> <PROJECT_BASE>${project.build.directory}</PROJECT_BASE> </environmentVariables> <forkCount>${surefire.forkCount}</forkCount> <redirectTestOutputToFile>true</redirectTestOutputToFile> <reuseForks>true</reuseForks> <runOrder>random</runOrder> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>${plugin.maven-surefire.version}</version> <configuration> <showSuccess>true</showSuccess> <linkXRef>true</linkXRef> </configuration> </plugin> <plugin> <groupId>org.basepom.maven</groupId> <artifactId>duplicate-finder-maven-plugin</artifactId> <version>${plugin.duplicate-finder-maven.version}</version> <configuration> <exceptions> <exception> <conflictingDependencies> <dependency> <groupId>org.glassfish.jersey.containers</groupId> <artifactId>jersey-container-jetty-http</artifactId> <version>${dep.jersey.version}</version> </dependency> <dependency> <groupId>org.glassfish.jersey.test-framework.providers</groupId> <artifactId>jersey-test-framework-provider-jetty</artifactId> <version>${dep.jersey.version}</version> </dependency> </conflictingDependencies> <resources> <resource>org/glassfish/jersey/jetty/internal/localization.properties</resource> </resources> </exception> </exceptions> <printEqualFiles>false</printEqualFiles> <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict> <failBuildInCaseOfEqualContentConflict>true</failBuildInCaseOfEqualContentConflict> <failBuildInCaseOfConflict>true</failBuildInCaseOfConflict> <checkCompileClasspath>true</checkCompileClasspath> <checkRuntimeClasspath>true</checkRuntimeClasspath> <checkTestClasspath>true</checkTestClasspath> <skip>false</skip> <quiet>false</quiet> <preferLocal>true</preferLocal> <useResultFile>true</useResultFile> <resultFileMinClasspathCount>2</resultFileMinClasspathCount> <resultFile>${project.build.directory}/duplicate-finder-result.xml</resultFile> <!-- Version 1.1.1+ --> <includeBootClasspath>false</includeBootClasspath> <bootClasspathProperty>sun.boot.class.path</bootClasspathProperty> <useDefaultResourceIgnoreList>true</useDefaultResourceIgnoreList> <!-- Version 1.1.1+ --> <!-- Version 1.2.0+ --> <includePomProjects>false</includePomProjects> <!-- Version 1.2.0+ --> <!-- Version 1.2.1+ --> <useDefaultResourceIgnoreList>true</useDefaultResourceIgnoreList> <!-- Version 1.2.1+ --> </configuration> <executions> <execution> <id>default</id> <goals> <goal>check</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>${plugin.build-helper-maven.version}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>${plugin.versions-maven.version}</version> </plugin> <plugin> <groupId>org.cyclonedx</groupId> <artifactId>cyclonedx-maven-plugin</artifactId> <version>${plugin.cyclonedx-maven.version}</version> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${plugin.jacoco-maven.version}</version> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>default-report</id> <goals> <goal>report</goal> </goals> <phase>prepare-package</phase> </execution> <execution> <id>default-check</id> <goals> <goal>check</goal> </goals> <configuration> <rules> <rule> <element>BUNDLE</element> <limits> <limit> <counter>COMPLEXITY</counter> <value>COVEREDRATIO</value> <!-- <minimum>0.37</minimum> --> </limit> </limits> </rule> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>${plugin.sonar-maven.version}</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>io.github.git-commit-id</groupId> <artifactId>git-commit-id-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>${plugin.maven-dependency.version}</version> <executions> <execution> <goals> <goal>unpack</goal> </goals> <phase>generate-resources</phase> <configuration> <artifactItems> <artifactItem> <groupId>org.webjars</groupId> <artifactId>bootstrap</artifactId> <overWrite>true</overWrite> <outputDirectory>${project.build.outputDirectory}/public/js/lib</outputDirectory> <includes>**/js/bootstrap.min.*</includes> <fileMappers> <org.codehaus.plexus.components.io.filemappers.FlattenFileMapper /> </fileMappers> </artifactItem> <artifactItem> <groupId>org.webjars</groupId> <artifactId>bootstrap</artifactId> <overWrite>true</overWrite> <outputDirectory>${project.build.outputDirectory}/public/css/lib</outputDirectory> <includes>**/css/bootstrap.min.*</includes> <fileMappers> <org.codehaus.plexus.components.io.filemappers.FlattenFileMapper /> </fileMappers> </artifactItem> <artifactItem> <groupId>org.webjars</groupId> <artifactId>jquery</artifactId> <overWrite>true</overWrite> <outputDirectory>${project.build.outputDirectory}/public/js/lib</outputDirectory> <includes>**/jquery.min.*</includes> <fileMappers> <org.codehaus.plexus.components.io.filemappers.FlattenFileMapper /> </fileMappers> </artifactItem> <artifactItem> <groupId>org.webjars</groupId> <artifactId>popper.js</artifactId> <overWrite>true</overWrite> <outputDirectory>${project.build.outputDirectory}/public/js/lib</outputDirectory> <includes>**/umd/popper.min.*</includes> <fileMappers> <org.codehaus.plexus.components.io.filemappers.FlattenFileMapper /> </fileMappers> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <index>true</index> <manifest> <addClasspath>true</addClasspath> <addDefaultImplementationEntries>false</addDefaultImplementationEntries> <mainClass>emissary.Emissary</mainClass> </manifest> <manifestEntries> <Built-By>${user.name} on ${maven.build.timestamp}</Built-By> </manifestEntries> <manifestSection> <name>emissary</name> <manifestEntries> <Sealed>true</Sealed> <Implementation-Title>emissary</Implementation-Title> </manifestEntries> </manifestSection> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> </plugin> <plugin> <groupId>org.basepom.maven</groupId> <artifactId>duplicate-finder-maven-plugin</artifactId> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <reportSets> <reportSet> <id>default</id> <reports> <report>javadoc</report> <report>test-javadoc</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <reportSets> <reportSet> <id>default</id> <reports> <report>jxr</report> <report>test-jxr</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>${plugin.versions-maven.version}</version> <reportSets> <reportSet> <reports> <report>dependency-updates-aggregate-report</report> <report>plugin-updates-aggregate-report</report> <report>property-updates-aggregate-report</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> <profiles> <profile> <id>coverage</id> <activation> <property> <name>code-quality</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> </plugin> </plugins> </reporting> </profile> <profile> <id>checkstyle</id> <activation> <property> <!-- skip with -DskipCheckstyle --> <name>!skipCheckstyle</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <reportSets> <reportSet> <reports> <report>checkstyle</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> </profile> <profile> <id>pmd</id> <activation> <property> <name>code-quality</name> </property> </activation> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> </plugin> </plugins> </reporting> </profile> <profile> <id>dist</id> <build> <plugins> <plugin> <groupId>io.takari.maven.plugins</groupId> <artifactId>takari-lifecycle-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <configuration> <outputDirectory>${project.build.directory}</outputDirectory> <formats> <format>tar.gz</format> </formats> <tarLongFileMode>posix</tarLongFileMode> <descriptors> <descriptor>src/assembly/dist.xml</descriptor> </descriptors> <finalName>emissary-${project.version}</finalName> </configuration> <executions> <execution> <goals> <goal>single</goal> </goals> <phase>package</phase> </execution> </executions> </plugin> <plugin> <groupId>org.cyclonedx</groupId> <artifactId>cyclonedx-maven-plugin</artifactId> <configuration> <outputFormat>json</outputFormat> <schemaVersion>1.3</schemaVersion> </configuration> <executions> <execution> <goals> <goal>makeAggregateBom</goal> </goals> <phase>validate</phase> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>oss</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${plugin.maven-gpg.version}</version> <executions> <execution> <id>sign-artifacts</id> <goals> <goal>sign</goal> </goals> <phase>deploy</phase> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${plugin.nexus-staging-maven.version}</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> </profile> <profile> <!-- on by default, but disable with '-P !autoformat' or '-DskipFormat' --> <id>autoformat</id> <activation> <property> <name>!skipFormat</name> </property> </activation> <build> <plugins> <plugin> <groupId>com.github.ekryd.sortpom</groupId> <artifactId>sortpom-maven-plugin</artifactId> </plugin> <plugin> <groupId>net.revelc.code</groupId> <artifactId>impsort-maven-plugin</artifactId> </plugin> <plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> </plugin> </plugins> </build> </profile> <profile> <!-- on by default, but disable with '-P !errorprone' or '-DskipErrorProne' --> <id>errorprone</id> <activation> <jdk>[11,)</jdk> <property> <name>!skipErrorProne</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <encoding>UTF-8</encoding> <fork>true</fork> <release>${maven.compiler.release}</release> <showWarnings>true</showWarnings> <compilerArgs> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg> <arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg> <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg> <arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg> <arg>-Xmaxerrs</arg> <arg>-1</arg> <arg>-Xmaxwarns</arg> <arg>-1</arg> <!--arg>-Werror</arg--> <!--arg>-Xlint:all</arg--> <arg>-XDcompilePolicy=simple</arg> <arg>-Xplugin:ErrorProne \ -XepAllDisabledChecksAsWarnings \ -XepAllSuggestionsAsWarnings \ -XepDisableWarningsInGeneratedCode \ -Xep:AndroidJdkLibsChecker:OFF \ -Xep:BooleanParameter:OFF \ -Xep:CanIgnoreReturnValueSuggester:OFF \ -Xep:DefaultCharset:OFF \ -Xep:InconsistentOverloads:OFF \ -Xep:InlineMeSuggester:OFF \ -Xep:InlineTrivialConstant:OFF \ -Xep:Java7ApiChecker:OFF \ -Xep:Java8ApiChecker:OFF \ -Xep:StringSplitter:OFF \ -Xep:UnnecessaryFinal:OFF \ -Xep:Var:OFF \ -Xep:Varifier:OFF \ -Xep:YodaCondition:OFF</arg> </compilerArgs> <annotationProcessorPaths> <path> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_core</artifactId> <version>${dep.errorprone.version}</version> </path> </annotationProcessorPaths> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>eclipse</id> <activation> <!-- when eclipse runs a build, this system property is already present --> <property> <name>m2e.version</name> </property> </activation> <properties> <!-- enable compiler compliance when building in Eclipse --> <maven.compiler.release>11</maven.compiler.release> </properties> <build> <!-- different build directory for eclipse, so running maven and clicking in IDE don't conflict --> <directory>${project.basedir}/target-eclipse</directory> <pluginManagement> <plugins> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>com.github.ekryd.sortpom</groupId> <artifactId>sortpom-maven-plugin</artifactId> <versionRange>[0,)</versionRange> <goals> <goal>sort</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <versionRange>[0,)</versionRange> <goals> <goal>exec</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>com.google.code.maven-replacer-plugin</groupId> <artifactId>replacer</artifactId> <versionRange>[0,)</versionRange> <goals> <goal>replace</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>de.jflex</groupId> <artifactId>jflex-maven-plugin</artifactId> <versionRange>[0,)</versionRange> <goals> <goal>generate</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> <profile> <id>netbeans</id> <activation> <property> <!-- You must add -Dnetbeans.ide as global option to the maven command for this to work Could not find any property existing when Netbeans was running the build --> <name>netbeans.ide</name> </property> </activation> <build> <!-- different build directory for netbeans, so running maven and clicking in IDE don't conflict --> <directory>${project.basedir}/target-netbeans</directory> </build> </profile> <profile> <id>intellij</id> <activation> <!-- when intellij runs a build, this system property is already present --> <property> <name>idea.version</name> </property> </activation> <build> <!-- different build directory for intellij, so running maven and clicking in IDE don't conflict --> <directory>${project.basedir}/target-idea</directory> </build> </profile> <profile> <id>docker</id> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${plugin.exec-maven.version}</version> <executions> <execution> <id>docker-build</id> <goals> <goal>exec</goal> </goals> <phase>install</phase> <configuration> <executable>docker</executable> <workingDirectory>${project.basedir}</workingDirectory> <arguments> <argument>build</argument> <argument>-f</argument> <argument>contrib/docker/Dockerfile</argument> <argument>-t</argument> <argument>${project.artifactId}:${project.version}</argument> <argument>-t</argument> <argument>${project.artifactId}:latest</argument> <argument>.</argument> </arguments> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>jdk-release-flag</id> <activation> <jdk>[11,)</jdk> </activation> <properties> <maven.compiler.release>11</maven.compiler.release> </properties> </profile> <profile> <id>publish</id> <distributionManagement> <repository> <id>emissary-releases</id> <name>Emissary Releases</name> <url>${distribution.release.url}</url> </repository> <snapshotRepository> <id>emissary-snapshots</id> <name>Emissary Snapshots</name> <url>${distribution.snapshot.url}</url> </snapshotRepository> </distributionManagement> </profile> <profile> <id>github-publish</id> <distributionManagement> <repository> <id>github</id> <url>https://maven.pkg.github.com/NationalSecurityAgency/emissary</url> </repository> </distributionManagement> </profile> </profiles> </project>