java - ant to maven migration maven - jar building -
i migrating ant project maven. there lot of java projects in "ant solution" compiled specific directory (compiled *.class files , copied build folder). i.e. project uses dependencies project b, preceded copying *.class files output folder b resource folder project a.
are there possibilities create maven jar-module uses jar-module compilation? without using <dependency>
?
are there possibilities create maven jar-module uses jar-module compilation?
yes, see below
without using <dependency>?
if using module in project, have dependency on project , should declared such. if have scope of provided, project depend on used when compiling project not included in final jar expects classes depends on provided @ runtime.
not entirely sure if understood question correctly not see why want not use <dependency> section when state in question have dependencies.
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
Comments
Post a Comment