Just to make sure, are you executing from the project root folder? If you're executing the mvn command from within a sub folder, it may require that you've installed depended artifacts to your local maven repository in previous builds.
Michael On Mon, Jul 25, 2016 at 1:46 PM, Don Bosco Durai <[email protected]> wrote: > Still same issue on my mac and fresh docker image with Sun JDK 1.8 > > [root@500777b9b778 incubator-eagle]# git branch > * develop > > [root@500777b9b778 incubator-eagle]# $JAVA_HOME/bin/java -version > java version "1.8.0_101" > Java(TM) SE Runtime Environment (build 1.8.0_101-b13) > Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) > > [root@500777b9b778 incubator-eagle]# mvn clean > [INFO] Scanning for projects... > [ERROR] [ERROR] Some problems were encountered while processing the POMs: > [WARNING] 'parent.relativePath' of POM > org.apache.eagle:eagle-common:[unknown-version] > (/work/incubator-eagle/eagle-core/eagle-common/pom.xml) points at > org.apache.eagle:eagle-core instead of org.apache.eagle:eagle-query-parent, > please verify your project structure @ line 22, column 10 > [FATAL] Non-resolvable parent POM for > org.apache.eagle:eagle-common:[unknown-version]: Could not find artifact > org.apache.eagle:eagle-query-parent:pom:0.5.0-incubating-SNAPSHOT and > 'parent.relativePath' points at wrong local POM @ line 22, column 10 > [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' > must be unique: joda-time:joda-time:jar -> duplicate declaration of version > (?) @ org.apache.eagle:alert-engine:[unknown-version], > /work/incubator-eagle/eagle-core/eagle-alert-parent/eagle-alert/alert-engine/pom.xml, > line 115, column 15 > [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' > must be unique: org.apache.kafka:kafka-clients:jar -> duplicate declaration > of version (?) @ org.apache.eagle:alert-engine:[unknown-version], > /work/incubator-eagle/eagle-core/eagle-alert-parent/eagle-alert/alert-engine/pom.xml, > line 127, column 15 > [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' > must be unique: org.apache.eagle:eagle-metadata-base:jar -> version > ${project.version} vs 0.5.0-incubating-SNAPSHOT @ > org.apache.eagle:eagle-app-base:[unknown-version], > /work/incubator-eagle/eagle-core/eagle-app/eagle-app-base/pom.xml, line 95, > column 21 > [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' > must be unique: junit:junit:jar -> duplicate declaration of version (?) @ > org.apache.eagle:eagle-app-base:[unknown-version], > /work/incubator-eagle/eagle-core/eagle-app/eagle-app-base/pom.xml, line > 100, column 21 > [WARNING] 'build.plugins.plugin.version' for > org.codehaus.mojo:exec-maven-plugin is missing. @ > org.apache.eagle:eagle-webservice:[unknown-version], > /work/incubator-eagle/eagle-webservice/pom.xml, line 400, column 12 > @ > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project org.apache.eagle:eagle-common:[unknown-version] > (/work/incubator-eagle/eagle-core/eagle-common/pom.xml) has 1 error > [ERROR] Non-resolvable parent POM for > org.apache.eagle:eagle-common:[unknown-version]: Could not find artifact > org.apache.eagle:eagle-query-parent:pom:0.5.0-incubating-SNAPSHOT and > 'parent.relativePath' points at wrong local POM @ line 22, column 10 -> > [Help 2] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > > Bosco > > > On 7/24/16, 7:29 PM, "Zhao, Qingwen" <[email protected]> wrote: > > Just JDK8 is required in the develop branch. > > I built this branch in my local env (OS X), and it went through well. > > Regards, > Qingwen Zhao | Apache Eagle > > > > On 7/25/16, 9:35 AM, "Don Bosco Durai" <[email protected]> wrote: > > >I am getting the below error when I build on ³develop² branch. > However, > >on the same machine and env, the build on the release bits went > through. > > > > > > > >Is there any other additional steps to build off ³develop² branch? > > > > > > > >Thanks > > > > > > > >Bosco > > > > > > > > > > > >$ mvn -DskipTests clean package > > > >[INFO] Scanning for projects... > > > >[ERROR] [ERROR] Some problems were encountered while processing the > POMs: > > > >[WARNING] 'parent.relativePath' of POM > >org.apache.eagle:eagle-common:[unknown-version] > >(/home/build/git/incubator-eagle/eagle-core/eagle-common/pom.xml) > points > >at org.apache.eagle:eagle-core instead of > >org.apache.eagle:eagle-query-parent, please verify your project > structure > >@ line 22, column 10 > > > >[FATAL] Non-resolvable parent POM for > >org.apache.eagle:eagle-common:[unknown-version]: Could not find > artifact > >org.apache.eagle:eagle-query-parent:pom:0.5.0-incubating-SNAPSHOT and > >'parent.relativePath' points at wrong local POM @ line 22, column 10 > > > >[WARNING] > 'dependencies.dependency.(groupId:artifactId:type:classifier)' > >must be unique: joda-time:joda-time:jar -> duplicate declaration of > >version (?) @ org.apache.eagle:alert-engine:[unknown-version], > > >/home/build/git/incubator-eagle/eagle-core/eagle-alert-parent/eagle-alert/ > >alert-engine/pom.xml, line 115, column 15 > > > >[WARNING] > 'dependencies.dependency.(groupId:artifactId:type:classifier)' > >must be unique: org.apache.kafka:kafka-clients:jar -> duplicate > >declaration of version (?) @ > >org.apache.eagle:alert-engine:[unknown-version], > > >/home/build/git/incubator-eagle/eagle-core/eagle-alert-parent/eagle-alert/ > >alert-engine/pom.xml, line 127, column 15 > > > >[WARNING] > 'dependencies.dependency.(groupId:artifactId:type:classifier)' > >must be unique: org.apache.eagle:eagle-metadata-base:jar -> version > >${project.version} vs 0.5.0-incubating-SNAPSHOT @ > >org.apache.eagle:eagle-app-base:[unknown-version], > > >/home/build/git/incubator-eagle/eagle-core/eagle-app/eagle-app-base/pom.xm > >l, line 95, column 21 > > > >[WARNING] > 'dependencies.dependency.(groupId:artifactId:type:classifier)' > >must be unique: junit:junit:jar -> duplicate declaration of version > (?) @ > >org.apache.eagle:eagle-app-base:[unknown-version], > > >/home/build/git/incubator-eagle/eagle-core/eagle-app/eagle-app-base/pom.xm > >l, line 100, column 21 > > > >[WARNING] 'build.plugins.plugin.version' for > >org.codehaus.mojo:exec-maven-plugin is missing. @ > >org.apache.eagle:eagle-webservice:[unknown-version], > >/home/build/git/incubator-eagle/eagle-webservice/pom.xml, line 400, > >column 12 > > > > @ > > > >[ERROR] The build could not read 1 project -> [Help 1] > > > >[ERROR] > > > >[ERROR] The project org.apache.eagle:eagle-common:[unknown-version] > >(/home/build/git/incubator-eagle/eagle-core/eagle-common/pom.xml) has > 1 > >error > > > >[ERROR] Non-resolvable parent POM for > >org.apache.eagle:eagle-common:[unknown-version]: Could not find > artifact > >org.apache.eagle:eagle-query-parent:pom:0.5.0-incubating-SNAPSHOT and > >'parent.relativePath' points at wrong local POM @ line 22, column 10 > -> > >[Help 2] > > > >[ERROR] > > > >[ERROR] To see the full stack trace of the errors, re-run Maven with > the > >-e switch. > > > >[ERROR] Re-run Maven using the -X switch to enable full debug logging. > > > >[ERROR] > > > >[ERROR] For more information about the errors and possible solutions, > >please read the following articles: > > > >[ERROR] [Help 1] > > > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > > > >[ERROR] [Help 2] > > > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExceptio > >n > > > > > > > > > > >
