This week's book giveaways are in the Cloud and AI/ML forums.
We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Dependencies issue

 
Ranch Hand
Posts: 1332
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,



The pom.xml


The private repository maybe doesnt cotains some of them...but it should...

Any idea, please?
 
Saloon Keeper
Posts: 10404
223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What command did you execute?

What does the parent POM look like?
 
Angus Ferguson
Ranch Hand
Posts: 1332
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mvn spring-boot:run

the parent is

 
Angus Ferguson
Ranch Hand
Posts: 1332
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When running mvn spring-boot:run



There are not downloaded and launch the previous post error...
 
Angus Ferguson
Ranch Hand
Posts: 1332
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No sorry they are properly downloaded  but Maven doesnt find the project plugin...?
 
Stephan van Hulst
Saloon Keeper
Posts: 10404
223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, post the entire POM.
 
Angus Ferguson
Ranch Hand
Posts: 1332
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is posted in the original first question
 
Angus Ferguson
Ranch Hand
Posts: 1332
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also I get the next error:

 
Angus Ferguson
Ranch Hand
Posts: 1332
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I run mvn dependency::tree I get ... ut in my pivate local repository it is not available the maxmimum version is 2.2


 
Angus Ferguson
Ranch Hand
Posts: 1332
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have added to the previous POM.xml and also the .jar manually but I still get the "misssing error"




On the other hand the I execute the command mvn spring-boot:run -o this error arises....



 
Angus Ferguson
Ranch Hand
Posts: 1332
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay I fixed it by adding the goal run, adding <packaging>pom</packaging> and updating the POM.xml. Now it builds properly.
 
Stephan van Hulst
Saloon Keeper
Posts: 10404
223
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I asked you to post the entire POM, I meant the parent. Anyway, glad you solved it.
 
Angus Ferguson
Ranch Hand
Posts: 1332
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I thought about it, I couldnt post publicly, thanks!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!