env-file-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.mjourard</groupId> <artifactId>env-file-maven-plugin</artifactId> <version>2.1.0</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>io.github.mjourard</groupId> <artifactId>env-file-maven-plugin</artifactId> <version>2.1.0</version> <packaging>maven-plugin</packaging> <name>Dotenv File-loading Maven Plugin</name> <description>A maven plugin for loading .env files during the phases of the Maven build and packaging process. </description> <url>https://github.com/mjourard/env-file-maven-plugin</url> <prerequisites> <maven>${maven.version}</maven> </prerequisites> <issueManagement> <system>github</system> <url>https://github.com/mjourard/env-file-maven-plugin/issues</url> </issueManagement> <inceptionYear>2021</inceptionYear> <licenses> <license> <name>MIT</name> <url>https://opensource.org/licenses/MIT</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:git://github.com/mjourard/env-file-maven-plugin.git</connection> <developerConnection>scm:git:git@github.com:mjourard/env-file-maven-plugin.git</developerConnection> <url>https://github.com/mjourard/env-file-maven-plugin</url> <tag>env-file-maven-plugin-2.1.0</tag> </scm> <organization> <name>Matt Jourard OSS Projects</name> <url>https://mjourard.github.io</url> </organization> <developers> <developer> <id>mjourard</id> <name>Matthew Jourard</name> <email>mjourard@gmail.com</email> <url>https://mjourard.github.io</url> <organization>Matt Jourard OSS Projects</organization> <organizationUrl>https://mjourard.github.io</organizationUrl> <roles> <role>developer</role> </roles> <timezone>America/New_York</timezone> <properties> <picUrl>https://mjourard.github.io/assets/img/BrandProfilePic.jpg</picUrl> </properties> </developer> </developers> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <site> <id>github-site</id> <url>https://mjourard.github.io/env-file-maven-plugin</url> </site> </distributionManagement> <reporting> <outputDirectory>target/site</outputDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>${maven.plugin.plugin.version}</version> <configuration> <goalPrefix>${plugin.goal.prefix}</goalPrefix> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>${maven.project.info.reports.plugin.version}</version> <reportSets> <reportSet> <reports> <report>team</report> <report>ci-management</report> <report>issue-management</report> <report>licenses</report> <report>scm</report> <report>plugin-management</report> <report>plugins</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-report-plugin</artifactId> <version>3.13.1</version> </plugin> </plugins> </reporting> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven-checkstyle-plugin.version>3.2.0</maven-checkstyle-plugin.version> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <maven.version>3.3.9</maven.version> <maven.plugin.plugin.version>3.9.0</maven.plugin.plugin.version> <maven.project.info.reports.plugin.version>3.1.2</maven.project.info.reports.plugin.version> <maven.invoker.plugin.version>3.2.2</maven.invoker.plugin.version> <plugin.goal.prefix>envfile</plugin.goal.prefix> <github.global.server>githubOAuth</github.global.server> </properties> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${maven.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${maven.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <version>${maven.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-compat</artifactId> <version>${maven.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.6.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-testing</groupId> <artifactId>maven-plugin-testing-harness</artifactId> <version>3.3.0</version> <scope>test</scope> </dependency> <dependency> <groupId>io.github.cdimascio</groupId> <artifactId>dotenv-java</artifactId> <version>2.2.0</version> </dependency> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-sitetools</artifactId> <version>1.9.2</version> <type>pom</type> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.11.0</version> </plugin> <plugin> <artifactId>maven-plugin-plugin</artifactId> <version>${maven.plugin.plugin.version}</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>3.1.2</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.3.0</version> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>3.1.1</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> <executions> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-invoker-plugin</artifactId> <version>3.1.0</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <configuration> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> </configuration> <executions> <execution> <id>mojo-descriptor</id> <goals> <goal>descriptor</goal> </goals> </execution> <execution> <id>help-goal</id> <goals> <goal>helpmojo</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.7.1</version> <dependencies> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-module-markdown</artifactId> <version>1.9.1</version> </dependency> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-module-apt</artifactId> <version>1.9.1</version> </dependency> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-site-renderer</artifactId> <version>1.9.2</version> </dependency> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-sink-api</artifactId> <version>1.10</version> </dependency> </dependencies> </plugin> <plugin> <groupId>com.github.github</groupId> <artifactId>site-maven-plugin</artifactId> <version>0.12</version> <configuration> <path>${project.version}</path> <message>Creating site for ${project.name} ${project.version}</message> <dryRun>false</dryRun> <merge>true</merge> <noJekyll>true</noJekyll> <repositoryName>env-file-maven-plugin</repositoryName> <repositoryOwner>mjourard</repositoryOwner> </configuration> <executions> <execution> <goals> <goal>site</goal> </goals> <phase>site</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.0.0-M4</version> <configuration> <localCheckout>true</localCheckout> <pushChanges>false</pushChanges> <mavenExecutorId>forked-path</mavenExecutorId> </configuration> <dependencies> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.11.2</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.13</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.5.0</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven-checkstyle-plugin.version}</version> <configuration> <!-- Path to your checkstyle configuration file --> <propertyExpansion>config_loc=${basedir}</propertyExpansion> <configLocation>checkstyle.xml</configLocation> <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation> <!-- Tell the plugin to fail the build if there are checkstyle errors --> <failOnViolation>true</failOnViolation> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>run-its</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <version>${maven.invoker.plugin.version}</version> <configuration> <debug>true</debug> <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> <pomIncludes> <pomInclude>*/pom.xml</pomInclude> </pomIncludes> <postBuildHookScript>verify</postBuildHookScript> <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> <settingsFile>src/it/settings.xml</settingsFile> <goals> <goal>clean</goal> <goal>test-compile</goal> </goals> </configuration> <executions> <execution> <id>integration-test</id> <goals> <goal>install</goal> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release-sign-artifacts</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.0.1</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>