> So I guess the question is, how then can you get a jar file, which is not
> installed in any repository, onto the compile classpath then into your
> ear/war file?

You can't, at least, I don't know how to do it.

Your original post said that you'd "prefer" not to install them into
your repo. Maven is opinionated software -- your preferences are not
the top priority. Maven expects (requires) artifacts be in its repo
for builds to work. You will be a lot happier with Maven over time if
you just stop fighting things and do it the right (Maven) way from the
beginning.

Use "mvn install" or "mvn deploy" and put the file in a
local/corporate repo during the build process for that artifact. Just
because you can't CONVERT a given project to Maven, does not mean that
you cannot install/deploy the resulting build artifact when it is
built. Add "mvn deploy" as a post-build step in your CI server.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to