Skip to content

Commit

Permalink
released v0.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Clayton7510 committed Oct 31, 2019
1 parent 2583eaf commit 8bee16f
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 24 deletions.
35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tf-maven-plugin]:https://search.maven.org/artifact/com.deliveredtechnologies/tf-maven-plugin/0.7.2/maven-plugin
[tf-cmd-api]:https://search.maven.org/artifact/com.deliveredtechnologies/tf-cmd-api/0.7.2/jar
[tf-s3-archetype]:https://search.maven.org/artifact/com.deliveredtechnologies/tf-s3-archetype/0.7.2/jar
[tf-maven-plugin]:https://search.maven.org/artifact/com.deliveredtechnologies/tf-maven-plugin/0.7.3/maven-plugin
[tf-cmd-api]:https://search.maven.org/artifact/com.deliveredtechnologies/tf-cmd-api/0.7.3/jar
[tf-s3-archetype]:https://search.maven.org/artifact/com.deliveredtechnologies/tf-s3-archetype/0.7.3/jar
[tf-maven-plugin-snapshot]:https://oss.sonatype.org/content/repositories/snapshots/com/deliveredtechnologies/tf-maven-plugin/
[tf-cmd-api-snapshot]:https://oss.sonatype.org/content/repositories/snapshots/com/deliveredtechnologies/tf-cmd-api/
[tf-s3-archetype-snapshot]:https://oss.sonatype.org/content/repositories/snapshots/com/deliveredtechnologies/tf-s3-archetype/
[maven-badge]:https://img.shields.io/badge/maven%20central-0.7.2-green.svg
[maven-snapshot-badge]:https://img.shields.io/badge/SNAPSHOT-0.7-green.svg
[maven-badge]:https://img.shields.io/badge/maven%20central-0.7.3-green.svg
[maven-snapshot-badge]:https://img.shields.io/badge/SNAPSHOT-0.7.3-green.svg
[tf-maven-plugin-synk-badge]:https://img.shields.io/badge/vulnerabilities-1-yellow.svg
[tf-maven-plugin-synk]:https://snyk.io/test/github/deliveredtechnologies/terraform-maven?targetFile=tf-build-tools%2Ftf-maven-plugin%2Fpom.xml
[tf-cmd-api-synk-badge]:https://img.shields.io/badge/vulnerabilities-0-green.svg
Expand Down Expand Up @@ -230,15 +230,16 @@ Description:

Deploys a packaged Terraform zip artifact ([see tf:package](#tfpackage)) with a POM to the specified Maven repo.

| Name | Type | Description |
| ----------- | ------ | ----------------------------------------------------------------------------------------------------------------- |
| file | String | The name of the Terraform zip file to deploy; defaults to target/{artifactId}-{version}.zip |
| url | String | The url of the Maven repo to which the zip file artifact will be deployed; defaults to {HOME}/.m2/repository |
| pomFile | String | The path to the pom.xml file to attach to the artifact; defaults to .flattened-pom.xml in the root of the project |
| generatePom | String | If set to "true" then a POM will be generated and attached to the deployment |
| groupId | String | The groupId for the generated POM (only used if generatePom=true |
| artifactId | String | The artifactId for the generated POM (only used if generatePom=true |
| version | String | The version for the generated POM (only used if generatePom=true |
| Name | Type | Description |
| ------------ | ------ | ----------------------------------------------------------------------------------------------------------------- |
| file | String | The name of the Terraform zip file to deploy; defaults to target/{artifactId}-{version}.zip |
| url | String | The url of the Maven repo to which the zip file artifact will be deployed; defaults to {HOME}/.m2/repository |
| pomFile | String | The path to the pom.xml file to attach to the artifact; defaults to .flattened-pom.xml in the root of the project |
| generatePom | String | If set to "true" then a POM will be generated and attached to the deployment |
| groupId | String | The groupId for the generated POM (only used if generatePom=true |
| artifactId | String | The artifactId for the generated POM (only used if generatePom=true |
| version | String | The version for the generated POM (only used if generatePom=true |
| repositoryId | String | The server id to map on the <id> under <server> section of settings.xml; typically for authentication |

---

Expand Down Expand Up @@ -279,7 +280,7 @@ the absolute path of the Git Bash executable.

```xml
<properties>
<tf-maven-version>0.7.2</tf-maven-version>
<tf-maven-version>0.7.3</tf-maven-version>
</properties>
```

Expand Down Expand Up @@ -390,15 +391,15 @@ Instead of doing all the above steps you can simply build the module/project by
An example on how to generate the project using an archetype is shown below.

```bash
mvn archetype:generate -B -DarchetypeGroupId=com.deliveredtechnologies -DarchetypeArtifactId="tf-s3-archetype" -DarchetypeVersion=0.7.2 -DgroupId=<custom_group_name> -DartifactId=<custom-artifact_name>
mvn archetype:generate -B -DarchetypeGroupId=com.deliveredtechnologies -DarchetypeArtifactId="tf-s3-archetype" -DarchetypeVersion=0.7.3 -DgroupId=<custom_group_name> -DartifactId=<custom-artifact_name>
```

Maven Non-Interactive mode creates a project with the name that you passed in <custom_articatId_name> under <custom_groupId_name>.

or

```bash
mvn archetype:generate -DarchetypeGroupId=com.deliveredtechnologies -DarchetypeArtifactId="tf-s3-archetype" -DarchetypeVersion=0.7.2
mvn archetype:generate -DarchetypeGroupId=com.deliveredtechnologies -DarchetypeArtifactId="tf-s3-archetype" -DarchetypeVersion=0.7.3
```

After running the above command mvn interactive console prompts for the required arguments (ex: groupId and artifactId) and creates the project accordingly.
Expand Down
2 changes: 1 addition & 1 deletion examples/tf-s3-consumer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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>
<properties>
<tf-maven-version>0.8-SNAPSHOT</tf-maven-version>
<tf-maven-version>0.7.3</tf-maven-version>
</properties>
<artifactId>tf-s3-consumer</artifactId>
<groupId>com.deliveredtechnologies.example.maven.tf</groupId>
Expand Down
2 changes: 1 addition & 1 deletion examples/tf-s3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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>
<properties>
<tf-maven-version>0.8-SNAPSHOT</tf-maven-version>
<tf-maven-version>0.7.3</tf-maven-version>
</properties>
<artifactId>tf-s3</artifactId>
<groupId>com.deliveredtechnologies.example.maven.tf</groupId>
Expand Down
2 changes: 1 addition & 1 deletion tf-build-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>com.deliveredtechnologies</groupId>
<artifactId>tf-build-tools</artifactId>
<packaging>pom</packaging>
<version>0.8-SNAPSHOT</version>
<version>0.7.3</version>
<description>Terraform Build Tools: The parent POM project for Java and Terraform Tools</description>
<modules>
<module>tf-cmd-api</module>
Expand Down
2 changes: 1 addition & 1 deletion tf-build-tools/tf-cmd-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>tf-build-tools</artifactId>
<groupId>com.deliveredtechnologies</groupId>
<version>0.8-SNAPSHOT</version>
<version>0.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>tf-cmd-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tf-build-tools/tf-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.deliveredtechnologies</groupId>
<artifactId>tf-build-tools</artifactId>
<version>0.8-SNAPSHOT</version>
<version>0.7.3</version>
</parent>
<artifactId>tf-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
Expand Down
2 changes: 1 addition & 1 deletion tf-build-tools/tf-s3-archetype/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.deliveredtechnologies</groupId>
<version>0.8-SNAPSHOT</version>
<version>0.7.3</version>
<artifactId>tf-build-tools</artifactId>
</parent>
<artifactId>tf-s3-archetype</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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>
<properties>
<tf-maven-version>0.8-SNAPSHOT</tf-maven-version>
<tf-maven-version>0.7.3</tf-maven-version>
</properties>
<artifactId>${artifactId}</artifactId>
<groupId>${groupId}</groupId>
Expand Down

0 comments on commit 8bee16f

Please sign in to comment.