maven - mvn clean install throwing build failure error -
i new maven. cloned repository git , saved in location on machine. have git bash, cd'ing location saved code , trying execute mvn clean install
command. seeing below error. unable locate pom files. how can solve problem?. have tried deleting code , cloning again has not helped.
below pom file:
<project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelversion>4.0.0</modelversion> <groupid>com.xxxx</groupid> <artifactid>xxx-xxx</artifactid> <version>sprint1506-snapshot</version> <packaging>pom</packaging> <name>xxx-xxx</name> <url>http://maven.apache.org</url> <description> mega pom combine xxx, xxx , xxx projects in single reactor. </description> <modules> <module>wesp</module> <module>transite</module> <module>sassy</module> </modules> </project>
the problem fixed when updated settings.xml file in apache-maven-3.3.3\conf
folder. had configure login credentials in settings.xml file build complete. had point .m2/repository directory <localrepository>
tag inside settings.xml file build commence. inputs.
below fields changed inside settings.xml file ( highlighted in bold):
****<localrepository>c:\users\xxx\.m2\repository</localrepository>**** <proxies> <proxy> <id>xxxx</id> <active>true</active> <protocol>http</protocol> <host>proxy.kdc.xxxxx.com</host> <port>8099</port> **<username>xxx</username>** **<password>xxxx</password>** <nonproxyhosts>*.xxxxx.com</nonproxyhosts> </proxy> </proxies>
Comments
Post a Comment