Failed to execute goal on project AirportWeb












1
















I am facing issue at the time of maven install. Here is my parent POM file
AirportSys/pom.xml




<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>AirportRepo</module>
<module>AirportServices</module>
<module>AirportWeb</module>
</modules>

</project>



AirportRepo/pom.xml




<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>AirportRepo</artifactId>
<url>http://maven.apache.org</url>
<properties>
<spring.version>3.2.0.RELEASE</spring.version>
<log4j.version>1.2.17</log4j.version>
<jdk.version>1.7.0</jdk.version>
</properties>
<dependencies>
<!-- Spring 3 dependencies -->

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>3.2.8.RELEASE</version>
</dependency>
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<!-- Mysql jars -->
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.6</version>
</dependency>

<!-- Hibernate jars -->
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.1.4.Final</version>
</dependency>

<!-- SpringFramework jars -->
<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>3.2.16.RELEASE</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>3.2.8.RELEASE</version>
</dependency>
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>

<!-- Tiles jars -->
<!-- https://mvnrepository.com/artifact/org.apache.tiles/tiles-jsp -->
<dependency>

<groupId>org.apache.tiles</groupId>

<artifactId>tiles-jsp</artifactId>

<version>3.0.8</version>

</dependency>

<!-- Servlet jars -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>

<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>


</dependencies>
</project>



AirportServices/pom.xml




<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>AirportServices</artifactId>

<dependencies>
<dependency>
<groupId>com.mavenDemo</groupId>
<version>0.0.1-SNAPSHOT</version>
<artifactId>AirportRepo</artifactId>
</dependency>
</dependencies>
</project>



AiportWeb/pom.xml




<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportWeb</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>AirportWeb Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportServices</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<finalName>AirportWeb</finalName>
</build>
</project>



Here is error at the time of maven install-




[INFO] Scanning for projects...
[WARNING] The POM for com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[ERROR] Failed to execute goal on project AirportWeb: Could not resolve dependencies for project com.mavenDemo:AirportWeb:war:0.0.1-SNAPSHOT: Could not find artifact com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT ->



I have already added all the dependency what is the issue in this code.











share|improve this question

























  • Where do you execute the mvn install? at the AirportWeb directory?

    – Charlee Chitsuk
    Oct 8 '18 at 9:41













  • yes at AirportWeb directory, I have done it via cmd and eclipse as well still i am facing issue. Is there any issue in my AirportServices/pom.xml file i didn't find any issue in this file.

    – Nisha Parveen
    Oct 8 '18 at 9:43













  • Please try to execute at the AirportSys directory. Since the AirportServices may not be available yet.

    – Charlee Chitsuk
    Oct 8 '18 at 9:46






  • 1





    @Cœur thanks for informing. I will take care for this in future.

    – Alien
    Jan 1 at 19:23






  • 1





    @Cœur Thank you for informing.

    – Charlee Chitsuk
    Jan 2 at 0:40
















1
















I am facing issue at the time of maven install. Here is my parent POM file
AirportSys/pom.xml




<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>AirportRepo</module>
<module>AirportServices</module>
<module>AirportWeb</module>
</modules>

</project>



AirportRepo/pom.xml




<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>AirportRepo</artifactId>
<url>http://maven.apache.org</url>
<properties>
<spring.version>3.2.0.RELEASE</spring.version>
<log4j.version>1.2.17</log4j.version>
<jdk.version>1.7.0</jdk.version>
</properties>
<dependencies>
<!-- Spring 3 dependencies -->

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>3.2.8.RELEASE</version>
</dependency>
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<!-- Mysql jars -->
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.6</version>
</dependency>

<!-- Hibernate jars -->
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.1.4.Final</version>
</dependency>

<!-- SpringFramework jars -->
<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>3.2.16.RELEASE</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>3.2.8.RELEASE</version>
</dependency>
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>

<!-- Tiles jars -->
<!-- https://mvnrepository.com/artifact/org.apache.tiles/tiles-jsp -->
<dependency>

<groupId>org.apache.tiles</groupId>

<artifactId>tiles-jsp</artifactId>

<version>3.0.8</version>

</dependency>

<!-- Servlet jars -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>

<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>


</dependencies>
</project>



AirportServices/pom.xml




<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>AirportServices</artifactId>

<dependencies>
<dependency>
<groupId>com.mavenDemo</groupId>
<version>0.0.1-SNAPSHOT</version>
<artifactId>AirportRepo</artifactId>
</dependency>
</dependencies>
</project>



AiportWeb/pom.xml




<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportWeb</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>AirportWeb Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportServices</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<finalName>AirportWeb</finalName>
</build>
</project>



Here is error at the time of maven install-




[INFO] Scanning for projects...
[WARNING] The POM for com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[ERROR] Failed to execute goal on project AirportWeb: Could not resolve dependencies for project com.mavenDemo:AirportWeb:war:0.0.1-SNAPSHOT: Could not find artifact com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT ->



I have already added all the dependency what is the issue in this code.











share|improve this question

























  • Where do you execute the mvn install? at the AirportWeb directory?

    – Charlee Chitsuk
    Oct 8 '18 at 9:41













  • yes at AirportWeb directory, I have done it via cmd and eclipse as well still i am facing issue. Is there any issue in my AirportServices/pom.xml file i didn't find any issue in this file.

    – Nisha Parveen
    Oct 8 '18 at 9:43













  • Please try to execute at the AirportSys directory. Since the AirportServices may not be available yet.

    – Charlee Chitsuk
    Oct 8 '18 at 9:46






  • 1





    @Cœur thanks for informing. I will take care for this in future.

    – Alien
    Jan 1 at 19:23






  • 1





    @Cœur Thank you for informing.

    – Charlee Chitsuk
    Jan 2 at 0:40














1












1








1









I am facing issue at the time of maven install. Here is my parent POM file
AirportSys/pom.xml




<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>AirportRepo</module>
<module>AirportServices</module>
<module>AirportWeb</module>
</modules>

</project>



AirportRepo/pom.xml




<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>AirportRepo</artifactId>
<url>http://maven.apache.org</url>
<properties>
<spring.version>3.2.0.RELEASE</spring.version>
<log4j.version>1.2.17</log4j.version>
<jdk.version>1.7.0</jdk.version>
</properties>
<dependencies>
<!-- Spring 3 dependencies -->

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>3.2.8.RELEASE</version>
</dependency>
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<!-- Mysql jars -->
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.6</version>
</dependency>

<!-- Hibernate jars -->
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.1.4.Final</version>
</dependency>

<!-- SpringFramework jars -->
<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>3.2.16.RELEASE</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>3.2.8.RELEASE</version>
</dependency>
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>

<!-- Tiles jars -->
<!-- https://mvnrepository.com/artifact/org.apache.tiles/tiles-jsp -->
<dependency>

<groupId>org.apache.tiles</groupId>

<artifactId>tiles-jsp</artifactId>

<version>3.0.8</version>

</dependency>

<!-- Servlet jars -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>

<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>


</dependencies>
</project>



AirportServices/pom.xml




<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>AirportServices</artifactId>

<dependencies>
<dependency>
<groupId>com.mavenDemo</groupId>
<version>0.0.1-SNAPSHOT</version>
<artifactId>AirportRepo</artifactId>
</dependency>
</dependencies>
</project>



AiportWeb/pom.xml




<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportWeb</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>AirportWeb Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportServices</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<finalName>AirportWeb</finalName>
</build>
</project>



Here is error at the time of maven install-




[INFO] Scanning for projects...
[WARNING] The POM for com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[ERROR] Failed to execute goal on project AirportWeb: Could not resolve dependencies for project com.mavenDemo:AirportWeb:war:0.0.1-SNAPSHOT: Could not find artifact com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT ->



I have already added all the dependency what is the issue in this code.











share|improve this question

















I am facing issue at the time of maven install. Here is my parent POM file
AirportSys/pom.xml




<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>AirportRepo</module>
<module>AirportServices</module>
<module>AirportWeb</module>
</modules>

</project>



AirportRepo/pom.xml




<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>AirportRepo</artifactId>
<url>http://maven.apache.org</url>
<properties>
<spring.version>3.2.0.RELEASE</spring.version>
<log4j.version>1.2.17</log4j.version>
<jdk.version>1.7.0</jdk.version>
</properties>
<dependencies>
<!-- Spring 3 dependencies -->

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>3.2.8.RELEASE</version>
</dependency>
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<!-- Mysql jars -->
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.6</version>
</dependency>

<!-- Hibernate jars -->
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.1.4.Final</version>
</dependency>

<!-- SpringFramework jars -->
<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>3.2.16.RELEASE</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>3.2.8.RELEASE</version>
</dependency>
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>

<!-- Tiles jars -->
<!-- https://mvnrepository.com/artifact/org.apache.tiles/tiles-jsp -->
<dependency>

<groupId>org.apache.tiles</groupId>

<artifactId>tiles-jsp</artifactId>

<version>3.0.8</version>

</dependency>

<!-- Servlet jars -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>

<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>


</dependencies>
</project>



AirportServices/pom.xml




<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>AirportServices</artifactId>

<dependencies>
<dependency>
<groupId>com.mavenDemo</groupId>
<version>0.0.1-SNAPSHOT</version>
<artifactId>AirportRepo</artifactId>
</dependency>
</dependencies>
</project>



AiportWeb/pom.xml




<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportSys</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportWeb</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>AirportWeb Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.mavenDemo</groupId>
<artifactId>AirportServices</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<finalName>AirportWeb</finalName>
</build>
</project>



Here is error at the time of maven install-




[INFO] Scanning for projects...
[WARNING] The POM for com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[ERROR] Failed to execute goal on project AirportWeb: Could not resolve dependencies for project com.mavenDemo:AirportWeb:war:0.0.1-SNAPSHOT: Could not find artifact com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT ->



I have already added all the dependency what is the issue in this code.








java spring maven spring-mvc






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 1 at 17:49









Cœur

18.4k9109148




18.4k9109148










asked Oct 8 '18 at 8:56









Nisha ParveenNisha Parveen

614




614













  • Where do you execute the mvn install? at the AirportWeb directory?

    – Charlee Chitsuk
    Oct 8 '18 at 9:41













  • yes at AirportWeb directory, I have done it via cmd and eclipse as well still i am facing issue. Is there any issue in my AirportServices/pom.xml file i didn't find any issue in this file.

    – Nisha Parveen
    Oct 8 '18 at 9:43













  • Please try to execute at the AirportSys directory. Since the AirportServices may not be available yet.

    – Charlee Chitsuk
    Oct 8 '18 at 9:46






  • 1





    @Cœur thanks for informing. I will take care for this in future.

    – Alien
    Jan 1 at 19:23






  • 1





    @Cœur Thank you for informing.

    – Charlee Chitsuk
    Jan 2 at 0:40



















  • Where do you execute the mvn install? at the AirportWeb directory?

    – Charlee Chitsuk
    Oct 8 '18 at 9:41













  • yes at AirportWeb directory, I have done it via cmd and eclipse as well still i am facing issue. Is there any issue in my AirportServices/pom.xml file i didn't find any issue in this file.

    – Nisha Parveen
    Oct 8 '18 at 9:43













  • Please try to execute at the AirportSys directory. Since the AirportServices may not be available yet.

    – Charlee Chitsuk
    Oct 8 '18 at 9:46






  • 1





    @Cœur thanks for informing. I will take care for this in future.

    – Alien
    Jan 1 at 19:23






  • 1





    @Cœur Thank you for informing.

    – Charlee Chitsuk
    Jan 2 at 0:40

















Where do you execute the mvn install? at the AirportWeb directory?

– Charlee Chitsuk
Oct 8 '18 at 9:41







Where do you execute the mvn install? at the AirportWeb directory?

– Charlee Chitsuk
Oct 8 '18 at 9:41















yes at AirportWeb directory, I have done it via cmd and eclipse as well still i am facing issue. Is there any issue in my AirportServices/pom.xml file i didn't find any issue in this file.

– Nisha Parveen
Oct 8 '18 at 9:43







yes at AirportWeb directory, I have done it via cmd and eclipse as well still i am facing issue. Is there any issue in my AirportServices/pom.xml file i didn't find any issue in this file.

– Nisha Parveen
Oct 8 '18 at 9:43















Please try to execute at the AirportSys directory. Since the AirportServices may not be available yet.

– Charlee Chitsuk
Oct 8 '18 at 9:46





Please try to execute at the AirportSys directory. Since the AirportServices may not be available yet.

– Charlee Chitsuk
Oct 8 '18 at 9:46




1




1





@Cœur thanks for informing. I will take care for this in future.

– Alien
Jan 1 at 19:23





@Cœur thanks for informing. I will take care for this in future.

– Alien
Jan 1 at 19:23




1




1





@Cœur Thank you for informing.

– Charlee Chitsuk
Jan 2 at 0:40





@Cœur Thank you for informing.

– Charlee Chitsuk
Jan 2 at 0:40












1 Answer
1






active

oldest

votes


















0














Regarding to the error message as



[ERROR] Failed to execute goal on project AirportWeb: 
Could not resolve dependencies for project
com.mavenDemo:AirportWeb:war:0.0.1-SNAPSHOT:
Could not find artifact com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT


together with the comment that show us as we're executing mvn install at the AirportWeb directory.



Then the proper location should be the parent project directory, the AirportSys. Since it is a parent for all sub modules. Maven will install it together with those sub modules and make them available on our local repository.



Please visit the following for further information, Guide to Working with Multiple Modules.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52698677%2ffailed-to-execute-goal-on-project-airportweb%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Regarding to the error message as



    [ERROR] Failed to execute goal on project AirportWeb: 
    Could not resolve dependencies for project
    com.mavenDemo:AirportWeb:war:0.0.1-SNAPSHOT:
    Could not find artifact com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT


    together with the comment that show us as we're executing mvn install at the AirportWeb directory.



    Then the proper location should be the parent project directory, the AirportSys. Since it is a parent for all sub modules. Maven will install it together with those sub modules and make them available on our local repository.



    Please visit the following for further information, Guide to Working with Multiple Modules.






    share|improve this answer




























      0














      Regarding to the error message as



      [ERROR] Failed to execute goal on project AirportWeb: 
      Could not resolve dependencies for project
      com.mavenDemo:AirportWeb:war:0.0.1-SNAPSHOT:
      Could not find artifact com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT


      together with the comment that show us as we're executing mvn install at the AirportWeb directory.



      Then the proper location should be the parent project directory, the AirportSys. Since it is a parent for all sub modules. Maven will install it together with those sub modules and make them available on our local repository.



      Please visit the following for further information, Guide to Working with Multiple Modules.






      share|improve this answer


























        0












        0








        0







        Regarding to the error message as



        [ERROR] Failed to execute goal on project AirportWeb: 
        Could not resolve dependencies for project
        com.mavenDemo:AirportWeb:war:0.0.1-SNAPSHOT:
        Could not find artifact com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT


        together with the comment that show us as we're executing mvn install at the AirportWeb directory.



        Then the proper location should be the parent project directory, the AirportSys. Since it is a parent for all sub modules. Maven will install it together with those sub modules and make them available on our local repository.



        Please visit the following for further information, Guide to Working with Multiple Modules.






        share|improve this answer













        Regarding to the error message as



        [ERROR] Failed to execute goal on project AirportWeb: 
        Could not resolve dependencies for project
        com.mavenDemo:AirportWeb:war:0.0.1-SNAPSHOT:
        Could not find artifact com.mavenDemo:AirportServices:jar:0.0.1-SNAPSHOT


        together with the comment that show us as we're executing mvn install at the AirportWeb directory.



        Then the proper location should be the parent project directory, the AirportSys. Since it is a parent for all sub modules. Maven will install it together with those sub modules and make them available on our local repository.



        Please visit the following for further information, Guide to Working with Multiple Modules.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 2 at 0:39









        Charlee ChitsukCharlee Chitsuk

        6,92714057




        6,92714057
































            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52698677%2ffailed-to-execute-goal-on-project-airportweb%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Monofisismo

            Angular Downloading a file using contenturl with Basic Authentication

            Olmecas