• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Dependencies issue

 
Ranch Hand
Posts: 1346
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: 10501
224
  • 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: 1346
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: 1346
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: 1346
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: 10501
224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, post the entire POM.
 
Angus Ferguson
Ranch Hand
Posts: 1346
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: 1346
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: 1346
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: 1346
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: 1346
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: 10501
224
  • 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: 1346
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!
 
Let nothing stop you! Not even this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!