fixed a bug where Maven projects couldn't be created inside containers.

This commit is contained in:
Kohsuke Kawaguchi committed 2011-07-02 21:24:01 -07:00
1 parent 12396aadaf
commit ce27914ce9
1 file changed
+5 -1
@@ -224,12 +224,16 @@ public final class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,Ma
private DescribableList<BuildWrapper,Descriptor<BuildWrapper>> buildWrappers =
new DescribableList<BuildWrapper, Descriptor<BuildWrapper>>(this);
/**
* @deprecated
* Use {@link #MavenModuleSet(ItemGroup, String)}
*/
public MavenModuleSet(String name) {
this(Hudson.getInstance(),name);
}
public MavenModuleSet(ItemGroup parent, String name) {
super(Hudson.getInstance(),name);
super(parent,name);
}
public String getUrlChildPrefix() {