Fixed root POM generation
This commit is contained in:
parent
8d9acd8184
commit
ebf05fa398
2 changed files with 6 additions and 6 deletions
8
pom.xml
8
pom.xml
|
@ -2,10 +2,10 @@
|
||||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId></groupId>
|
<groupId>net.thauvin.erik.mobibot</groupId>
|
||||||
<artifactId></artifactId>
|
<artifactId>mobibot</artifactId>
|
||||||
<version></version>
|
<version>0.8.0-rc+20240715201342</version>
|
||||||
<name></name>
|
<name>mobibot</name>
|
||||||
<description></description>
|
<description></description>
|
||||||
<url></url>
|
<url></url>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -210,7 +210,7 @@ public class MobibotBuild extends Project {
|
||||||
|
|
||||||
@BuildCommand(value = "pom-root", summary = "Generates the POM file in the root directory")
|
@BuildCommand(value = "pom-root", summary = "Generates the POM file in the root directory")
|
||||||
public void pomRoot() throws FileUtilsErrorException {
|
public void pomRoot() throws FileUtilsErrorException {
|
||||||
PomBuilder.generateInto(publishOperation().info(), dependencies(),
|
PomBuilder.generateInto(publishOperation().fromProject(this).info(), dependencies(),
|
||||||
Path.of(workDirectory.getPath(), "pom.xml").toFile());
|
new File(workDirectory, "pom.xml"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue