getgauge / gauge-mvn-archetypes Goto Github PK
View Code? Open in Web Editor NEWMaven archetypes for Gauge
Maven archetypes for Gauge
The archetypes for maven projects ask in the interactive mode for a package. Regardless, what the users enters, the information is discarded and not used, when the project is created.
This means, that the default implementation StepImplementation
always resides in the default package and not in the, from the user given, package.
gauge-archetype-java and gauge-archetype-selenium both have extra characters in the gauge-java dependency version, making it invalid:
<dependency>
<groupId>com.thoughtworks.gauge</groupId>
<artifactId>gauge-java</artifactId>
<version>[0.6.8,)</version>
<scope>test</scope>
</dependency>
Removing the extra characters (<version>0.6.8</version>
) is all that is needed to fix.
The current version in the pom.xml is 0.6.5
, which should be updated to the current latest version 0.6.7
From @sguptatw on March 31, 2016 8:58
In the projects generated using web driver templates, an example spec would be helpful.
The default url to be pointed could be the gauge url.
Copied from original issue: getgauge/Intellij-Plugin#127
Expected behavior
Should be able to execute a newly created project
Actual behavior
Getting the error
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project art1: Fatal error compiling: error: invalid target release: 1.11
Steps to replicate
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
gauge init java_maven
It runs a command
mvn -q clean compile test-compile gauge:execute
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project art2: Fatal error compiling: error: invalid target release: 1.11 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Error: Tests failed.
Blocks #201
Blocks getgauge/gauge-vscode#311
should be updated for the main project and the archetypes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.