mirror of https://github.com/apache/maven.git
make sure compile time dependencies (the default) are bundled too
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163719 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e190b0b2f5
commit
9209aaf3b6
|
@ -205,7 +205,9 @@ public class WarMojo
|
|||
{
|
||||
Artifact artifact = (Artifact) iter.next();
|
||||
|
||||
if ( "jar".equals( artifact.getType() ) && Artifact.SCOPE_RUNTIME.equals( artifact.getScope() ) )
|
||||
// TODO: scope handler
|
||||
// Include runtime and compile time libraries
|
||||
if ( "jar".equals( artifact.getType() ) && !Artifact.SCOPE_TEST.equals( artifact.getScope() ) )
|
||||
{
|
||||
FileUtils.copyFileToDirectory( artifact.getFile(), libDirectory );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue