diff --git a/README.md b/README.md index 3b6f4614..8ba4a3c9 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 under section of settings.xml; typically for authentication | --- @@ -279,7 +280,7 @@ the absolute path of the Git Bash executable. ```xml - 0.7.2 + 0.7.3 ``` @@ -390,7 +391,7 @@ 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= -DartifactId= +mvn archetype:generate -B -DarchetypeGroupId=com.deliveredtechnologies -DarchetypeArtifactId="tf-s3-archetype" -DarchetypeVersion=0.7.3 -DgroupId= -DartifactId= ``` Maven Non-Interactive mode creates a project with the name that you passed in under . @@ -398,7 +399,7 @@ Maven Non-Interactive mode creates a project with the name that you passed in 4.0.0 - 0.8-SNAPSHOT + 0.7.3 tf-s3-consumer com.deliveredtechnologies.example.maven.tf diff --git a/examples/tf-s3/pom.xml b/examples/tf-s3/pom.xml index b0b6d0f4..665ad026 100644 --- a/examples/tf-s3/pom.xml +++ b/examples/tf-s3/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - 0.8-SNAPSHOT + 0.7.3 tf-s3 com.deliveredtechnologies.example.maven.tf diff --git a/tf-build-tools/pom.xml b/tf-build-tools/pom.xml index 1467871b..e5a49b03 100644 --- a/tf-build-tools/pom.xml +++ b/tf-build-tools/pom.xml @@ -6,7 +6,7 @@ com.deliveredtechnologies tf-build-tools pom - 0.8-SNAPSHOT + 0.7.3 Terraform Build Tools: The parent POM project for Java and Terraform Tools tf-cmd-api diff --git a/tf-build-tools/tf-cmd-api/pom.xml b/tf-build-tools/tf-cmd-api/pom.xml index da64cae3..12677b41 100644 --- a/tf-build-tools/tf-cmd-api/pom.xml +++ b/tf-build-tools/tf-cmd-api/pom.xml @@ -5,7 +5,7 @@ tf-build-tools com.deliveredtechnologies - 0.8-SNAPSHOT + 0.7.3 4.0.0 tf-cmd-api diff --git a/tf-build-tools/tf-maven-plugin/pom.xml b/tf-build-tools/tf-maven-plugin/pom.xml index cb86f5ed..14cd9e3d 100644 --- a/tf-build-tools/tf-maven-plugin/pom.xml +++ b/tf-build-tools/tf-maven-plugin/pom.xml @@ -4,7 +4,7 @@ com.deliveredtechnologies tf-build-tools - 0.8-SNAPSHOT + 0.7.3 tf-maven-plugin maven-plugin diff --git a/tf-build-tools/tf-s3-archetype/pom.xml b/tf-build-tools/tf-s3-archetype/pom.xml index ea8aefe7..c4614d34 100644 --- a/tf-build-tools/tf-s3-archetype/pom.xml +++ b/tf-build-tools/tf-s3-archetype/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.deliveredtechnologies - 0.8-SNAPSHOT + 0.7.3 tf-build-tools tf-s3-archetype diff --git a/tf-build-tools/tf-s3-archetype/src/main/resources/archetype-resources/pom.xml b/tf-build-tools/tf-s3-archetype/src/main/resources/archetype-resources/pom.xml index 3fb23614..8bcb6512 100644 --- a/tf-build-tools/tf-s3-archetype/src/main/resources/archetype-resources/pom.xml +++ b/tf-build-tools/tf-s3-archetype/src/main/resources/archetype-resources/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - 0.8-SNAPSHOT + 0.7.3 ${artifactId} ${groupId}