Added pom-root command
This commit is contained in:
parent
f27501634c
commit
83b4b18be7
1 changed files with 6 additions and 6 deletions
|
@ -200,6 +200,12 @@ public class MobibotBuild extends Project {
|
||||||
.execute();
|
.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@BuildCommand(value = "pom-root", summary = "Generates the POM file in the root directory")
|
||||||
|
public void pomRoot() throws FileUtilsErrorException {
|
||||||
|
PomBuilder.generateInto(publishOperation().fromProject(this).info(), dependencies(),
|
||||||
|
new File(workDirectory, "pom.xml"));
|
||||||
|
}
|
||||||
|
|
||||||
@BuildCommand(value = "release-info", summary = "Generates the ReleaseInfo class")
|
@BuildCommand(value = "release-info", summary = "Generates the ReleaseInfo class")
|
||||||
public void releaseInfo() throws Exception {
|
public void releaseInfo() throws Exception {
|
||||||
new GeneratedVersionOperation()
|
new GeneratedVersionOperation()
|
||||||
|
@ -211,10 +217,4 @@ public class MobibotBuild extends Project {
|
||||||
.extension(".kt")
|
.extension(".kt")
|
||||||
.execute();
|
.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
@BuildCommand(value = "pom-root", summary = "Generates the POM file in the root directory")
|
|
||||||
public void pomRoot() throws FileUtilsErrorException {
|
|
||||||
PomBuilder.generateInto(publishOperation().fromProject(this).info(), dependencies(),
|
|
||||||
new File(workDirectory, "pom.xml"));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue