I am using the following code:
mvn archetype:generate -DinteractiveMode=false -DarchetypeGroupId=org.openjdk.jmh -DarchetypeArtifactId=jmh-java-benchmark-archetype -DgroupId=org.sample -DartifactId=test -Dversion=1.0
This generates the following file structure (inside of my current cd location):
-test
-src.main.java.org.sample
-MyBenchmark.java
-pom.xml
The generated files have the following error: MyBenchmark: Package name 'org.sample' does not correspond to the file path 'com.example.benchmark_coursework.test.src.main.java.org.sample'
pom: (no actual error message, it just appears in red)
I am using IntelliJ and my overall objective is to generate a jar file to execute JMH Benchmarks that i have made to time various methods. I have tried looking at the root pom file but there are no errors i can see. I have tried CDing into various other parts of my directory too. Mvn clean install and running the jar file from my main class works fine, getting the benchmarks to work as well does not. Any assistance is very much appreciated. Thank you!