I need to create an executable JAR for my Javabased Cucumber project.
This is my folder structure:
https://imagizer.imageshack.us/v2/229x373q90/674/EiXWux.png
(The Bellyclass in main/java/skeleton is also not used). All the feature steps are in the resources/skeleton folder and all step definitions are under test/java/skeleton
the files that are not displayed are: - gitignore, build.xml, cucumber-java-skeleton.iml, pom.xml and README.md
I've tried to do some research, but struggled finding out what I should include in my pom.xml file. I have currently ran my project using Intellij, but I need to hand it over to someone that can easily run the project on iOS/Mac.
Best regards, V.
I need to create an executable JAR for my Javabased Cucumber project.
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I just need to find the simplest way possible that I can let another person execute the feature-files from his Mac.
I thought it would be the easiest way for the person to run the feature-files from his Mac.
Vegard
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>cucumber.api.cli.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
/James