netodevel / cli-spring-boot-scaffold

command line for generate crud and configs for spring boot projects
131 stars 49 forks source link

Could not find artifact br.com.netodevel:generator-core:jar:0.0.2.BUILD-SNAPSHOT #63

Open behsayah opened 4 years ago

behsayah commented 4 years ago

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"

netodevel commented 4 years ago

@behsayah. I'll investigate Thanks.

netodevel commented 4 years ago

@behsayah, try again

behsayah commented 4 years ago

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 :

1.9 1.9

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.

netodevel commented 4 years ago

@behsayah, try 1.8 please.