Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolving #16 #49

Merged
merged 3 commits into from
Feb 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 https://maven.apache.org/xsd/core-extensions-1.0.0.xsd">

<extension>
<groupId>me.qoomon</groupId>
<artifactId>maven-git-versioning-extension</artifactId>
<version>5.2.0</version>
</extension>

</extensions>
17 changes: 17 additions & 0 deletions .mvn/maven-git-versioning-extension.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<gitVersioning>
<branch>
<pattern>master</pattern>
<versionFormat>${version}</versionFormat>
</branch>
<branch>
<pattern><![CDATA[feature/(?<feature>.+)]]></pattern>
<versionFormat>${feature}-SNAPSHOT</versionFormat>
</branch>
<tag>
<pattern><![CDATA[v(?<tagVersion>[0-9].*)]]></pattern>
<versionFormat>${tagVersion}</versionFormat>
</tag>
<commit>
<versionFormat>${commit.short}-SNAPSHOT</versionFormat>
</commit>
</gitVersioning>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.twilio</groupId>
<artifactId>guardrail-maven-plugin_2.12</artifactId>
<version>0.62.0</version>
<version>0.0.0</version>
<packaging>maven-plugin</packaging>

<name>Guardrail Maven Plugin</name>
Expand Down
2 changes: 1 addition & 1 deletion src/it/codegen-java-vavr/verify.bsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import java.io.*;

File file = new File( basedir, "target/codegen-java-vavr-0.0.1-SNAPSHOT.jar" );
File file = new File( basedir, "target/codegen-java-vavr-" + projectVersion + ".jar" );
if ( !file.isFile() )
{
throw new FileNotFoundException( "Could not find generated JAR: " + file );
Expand Down
2 changes: 1 addition & 1 deletion src/it/codegen-java/verify.bsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import java.io.*;

File file = new File( basedir, "target/codegen-java-0.0.1-SNAPSHOT.jar" );
File file = new File( basedir, "target/codegen-java-" + projectVersion + ".jar" );
if ( !file.isFile() )
{
throw new FileNotFoundException( "Could not find generated JAR: " + file );
Expand Down
2 changes: 1 addition & 1 deletion src/it/codegen-scala/verify.bsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import java.io.*;

File file = new File( basedir, "target/codegen-scala-0.0.1-SNAPSHOT.jar" );
File file = new File( basedir, "target/codegen-scala-" + projectVersion + ".jar" );
if ( !file.isFile() )
{
throw new FileNotFoundException( "Could not find generated JAR: " + file );
Expand Down