cli-spring-boot-scaffold
cli-spring-boot-scaffold copied to clipboard
Could not find artifact br.com.netodevel:generator-core:jar:0.0.2.BUILD-SNAPSHOT
I'm in "Usage" steps and I have ran the following commands: $ git clone https://github.com/NetoDevel/cli-spring-boot-scaffold.git $ cd cli-spring-boot-scaffold
and I was about the following command : $ mvn install
I'm getting the following errors:
[ERROR] Failed to execute goal on project spring-boot-generate: Could not resolve dependencies for project br.com:spring-boot-generate:jar:1.1.0.BUILD-SNAPSHOT: Could not find artifact br.com.netodevel:generator-core:jar:0.0.2.BUILD-SNAPSHOT -> [Help 1]
Would you please help me too solve the issue?
Spring Version is :
Spring CLI v2.2.6.RELEASE
MVN version:
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /Library/Application Support/apache-maven-3.6.3 Java version: 14, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk->14.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.15.4", arch: "x86_64", family: "mac"
@behsayah. I'll investigate Thanks.
@behsayah, try again
I have received the following errors:
[ERROR] Source option 5 is no longer supported. Use 6 or later. [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
I have changed:
<maven.compiler.source>1.9</maven.compiler.source> <maven.compiler.target>1.9</maven.compiler.target>
to :
<maven.compiler.source>1.9</maven.compiler.source> <maven.compiler.target>1.9</maven.compiler.target>
But I got the following error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project spring-boot-generate: There are test failures. [ERROR] [ERROR] Please refer to [PATH]/cli-spring-boot-scaffold/spring-boot-generate/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
@behsayah, try 1.8 please.