Home > Back-end >  Maven module project to develop more jar depend on the scope for the test cannot access other progra
Maven module project to develop more jar depend on the scope for the test cannot access other progra

Time:09-25

Maven module project to develop more jar depend on the scope for the test cannot access other program?? "??????
Have two projects, A project A pom and joined the junit rely on the specified scope for test, another module project relies on the project A, B but when B module inside to write unit tests to actually access within A project in junit? Should not be ah!!!!!
Change the scope of A project to compile and runtime, B project can visit!!!!!!
To solve the few points

CodePudding user response:

meiren

CodePudding user response:

The scope of the test, rely on will not pass

CodePudding user response:

The test is not passed
  • Related