mirror of https://github.com/apache/maven.git
Add bootstrap.deps that contains all dependencies path without repoLocal directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1d25bf0e8a
commit
57113a0329
|
@ -267,6 +267,7 @@ buildMavenProject()
|
|||
then
|
||||
rm -f bootstrap.classpath > /dev/null 2>&1
|
||||
rm -f bootstrap.libs > /dev/null 2>&1
|
||||
rm -f bootstrap.deps > /dev/null 2>&1
|
||||
rm -f bootstrap.resources > /dev/null 2>&1
|
||||
rm -f bootstrap.repo > /dev/null 2>&1
|
||||
rm -f bootstrap.tests.includes > /dev/null 2>&1
|
||||
|
|
|
@ -86,6 +86,8 @@ public class Bootstrapper
|
|||
|
||||
StringBuffer libs = new StringBuffer();
|
||||
|
||||
StringBuffer deps = new StringBuffer();
|
||||
|
||||
String repoLocal = replace(downloader.getMavenRepoLocal().getPath(), "\\", "/");
|
||||
String classpathSeparator;
|
||||
if (repoLocal.indexOf(":") != -1) //Windows
|
||||
|
@ -104,11 +106,15 @@ public class Bootstrapper
|
|||
classPath.append( repoLocal + "/" + getArtifactPath( d, "/" ) + classpathSeparator );
|
||||
|
||||
libs.append( repoLocal + "/" + getArtifactPath( d, "/" ) + "\n" );
|
||||
|
||||
deps.append( getArtifactPath( d, "/" ) + "\n" );
|
||||
}
|
||||
|
||||
writeFile( "bootstrap.classpath", classPath.toString() );
|
||||
|
||||
writeFile( "bootstrap.libs", libs.toString() );
|
||||
|
||||
writeFile( "bootstrap.deps", deps.toString() );
|
||||
}
|
||||
|
||||
private void writeUnitTest()
|
||||
|
|
Loading…
Reference in New Issue