package and deploy a Maven project with provided scope dependency jars Follow
Hello everyone,
Suppose I have a Java Maven project on IntelliJ and there are dependency jars declared as "provided" scope in Maven pom.xml. Currently, I just manually copy the dependecy jars into classpath for runtime. What is the best way to automate packge the dependency jars for deployment? Thanks.
thanks in advance,
Lin
Please sign in to leave a comment.
Your question is not specific to IntelliJ IDEA. Try something like Maven Release plug-in and if it's not what you are looking for, ask this question at http://stackoverflow.com/ where you have a much better chance to get a good answer than here.
Hi Serge,
For Maven Release plug-in, do you mean something IntelliJ spefiically provides, or in general provided by Maven plug-in suits? Thanks.
regards,
Lin
IDEA doesn't provide anything automatic for that. It can create artifacts from your Maven model and you can adjust existing artifacts to include any additional dependencies, but this task would be easier to solve via standalone Maven, without IDEA.
Thanks all the same Serge!