Assume you have two or more projects in your workspace e.g. project1
, project2
and so on. If project1
is dependent on project2
and project3
, you just need to define the dependency of project1
on project2
and project3
.
By enabling Resolve Workspace Artifacts
, m2Eclipse
will auto-build the SNAPSHOT JAR
of project2
and project3
and add in the classpath of project1
.
In other words, it resolves the dependencies with workspace projects.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…