-
Improvement
-
Resolution: Duplicate
-
Major
-
None
-
Platform: PC, OS: Linux
while doing the initial build of a maven2 project that is located in a local svn repository (file:///....) I
encountered following error:
started
Checking out a fresh workspace because /home/devel/hudson_home/jobs/XXX/workspace/trunk
doesn't exist
Checking out file:///scm/svn/products/XXX/trunk
<snip svn output>
U
At revision 281
no revision recorded for file:///scm/svn/products/XXX/trunk in the previous build
Parsing POMs
ERROR: Processing failed due to a bug in the code. Please report thus to users@hudson.dev.java.net
java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local
repository location using the setLocalRepositoryDirectory( File ) method.
at hudson.maven.MavenEmbedder.createMavenSettings(MavenEmbedder.java:708)
at hudson.maven.MavenEmbedder.start(MavenEmbedder.java:637)
at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:36)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:206)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:175)
at hudson.FilePath.act(FilePath.java:232)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:118)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:119)
at hudson.model.Run.run(Run.java:544)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:107)
at hudson.model.Executor.run(Executor.java:61)
FATAL: When not aligning with a user install you must specify a local repository location using the
setLocalRepositoryDirectory( File ) method.
java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local
repository location using the setLocalRepositoryDirectory( File ) method.
at hudson.maven.MavenEmbedder.createMavenSettings(MavenEmbedder.java:708)
at hudson.maven.MavenEmbedder.start(MavenEmbedder.java:637)
at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:36)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:206)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:175)
at hudson.FilePath.act(FilePath.java:232)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:118)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:119)
at hudson.model.Run.run(Run.java:544)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:107)
at hudson.model.Executor.run(Executor.java:61)
- duplicates
-
JENKINS-1044 Add option for 'private m2 repository'
- Closed