` < parent> < groupId> payroll< / groupId> < artifactId> payroll- top< / artifactId> < version> * 0. 1- SNAPSHOT* < / version> < relativePath>. xml < / relativePath> < / parent> `. Correct the parent version to 1. If that isn' t appropriate, then your subproject might not really be a module, and should be a dependency or have. I solve my problem by creating 2 profile in my parent pom, the first one builds the parent application with all. Since your all projects are all in the same level, you should have: In Project A: < modules> < module>. / projectB< / module> < / modules>. And in Project B: < parent>. xml< / relativePath> < / parent>. It is running the weblogic: deploy goal on the top- level ( pom!
evidently is not a goal which is relevant to the parent, since it is meant to deploy a child webapp. maven does not know that and thus the failure. xml< / relativePath> < / parent> < artifactId> root< / artifactId> < packaging > pom< / packaging>. The problem is that when you are building module child21 ( or child2 ), the child1 dependency is not a part of the. However, I assume, parent was never installed there - if you run mvn clean install on root, it does not build the parent, which is only referenced in the child modules by relative paths. To fix it you must first install the parent POM into the repository. ②プロジェクトを右クリックして、 実行からMaven installすると「 The requested profile " pom. xml" could not be activated because it does not exist」 と表示されて活性化 されない。 ( Spring プロジェクトが選択できなかったため、 spring starter. ] projectName\ projectName- war\ pom. ] projectName\ pom. xml does not exist. If you are getting the above error when using mvn install from command line ( the same pom may work in eclipse) you have to.
I define the PROJECT- 3 as parent for both the projects, while i run the PROJECT- 3 it gives an error. Error is: Child module D: \ \ PROJECT- 3\ PROJECT- 1 of D: \ \ PROJECT- 3\ POM. XML does not exist. ERROR] [ ERROR] Some problems were encountered while processing the POMs: [ ERROR] Child module / home/ ppalaga/ orgs/ tools/ ec4e/ org. ec4j of / home/ ppalaga/ orgs/ tools/ ec4e/ pom.