- This topic has 3 replies, 2 voices, and was last updated 10 years, 7 months ago by support-swapna.
-
AuthorPosts
-
mengmvnMemberIn the attached picture, you will see we have 2 project open in the workspace.
one is sc project, another one is ohbsws.Not sure why and how that sc proejct is inside the ohbsws project’s Maven Dependencies config. would you please tell me why it is included and how
to get it removed.Attachments:
You must be logged in to view attached files.
support-swapnaModeratormengmvn,
Please recheck the ohbsws project’s pom.xml to see if the sc project is added as a dependency. Right click on the project’s pom.xml > Open With > Maven POM Editor. Switch to Dependencies tab and remove the project which is added as dependency from the Dependencies list.
Let us know if you see any issues.
mengmvnMemberI did check ohbsws pom.xml, I did not see sc project is added as its dependent aproject.
its jar is added as a dependent jar.
— Would you please tell me how add a project as dependent project in MyEclipse?
— so I can double confirmedStrange thing: If I change the version of sc to diffect version, it is gone. but when I add the 103.08 back, sc project becomes as the depentent of it.
I really did not see any issues of these sc jar between these 2 versionsSee two picture I included here.
Thanks
Attachments:
You must be logged in to view attached files.
support-swapnaModeratormengmvn,
Here is the code snippet to add a project as dependent in the pom.xml :
<dependency>
<groupId>TestMaven2</groupId>
<artifactId>TestMaven2</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>You can get the <groupId>,<artifactId>,<version> for the project you want to add as dependent from the pom.xml of that project.
Please switch to the Dependencies tab to see the list of dependencies added to your project’s pom.xml. If you still have issues, please send us the pom.xml files of both the projects to help us take a look.
Let us know how it works for you.
-
AuthorPosts