java - Getting a pom file in my jar created using maven clean package -
i have spring boot application along maven handle dependencies.
i creating jar file using maven command "mvn clean package".
jar file getting created when see content of jar
lib/all-1.1.2.pom in lib folder includes required dependency jars.
could please tell possible reason getting since dont have such dependency in pom.xml.
if you're using spring boot, in pom.xml
, should have :
<parent> <groupid>org.springframework.boot</groupid> <artifactid>spring-boot-starter-parent</artifactid> <version>1.3.5.release</version> </parent>
this parent of spring boot application include dependencies spring boot application.
also, suggest see documentation : http://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-build-systems.html
Comments
Post a Comment