Skip to content

Commit

Permalink
G2-1562 Format poms
Browse files Browse the repository at this point in the history
  • Loading branch information
gdgib committed Apr 29, 2024
1 parent 5c8d710 commit f692d31
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 117 deletions.
212 changes: 110 additions & 102 deletions pj-project/pom.xml
Original file line number Diff line number Diff line change
@@ -1,104 +1,112 @@
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.g2forge.project</groupId>
<artifactId>pj-project</artifactId>
<packaging>pom</packaging>
<version>0.0.1-SNAPSHOT</version>
<parent>
<groupId>com.g2forge.alexandria</groupId>
<artifactId>ax-project</artifactId>
<version>0.0.19-SNAPSHOT</version>
<relativePath>../../alexandria/ax-project/pom.xml</relativePath>
</parent>
<properties>
<alexandria.version>0.0.19-SNAPSHOT</alexandria.version>
<gearbox.version>0.0.10-SNAPSHOT</gearbox.version>
<project.organization>g2forge</project.organization>
<project.name>project</project.name>
<project.repository>project</project.repository>
</properties>
<name>project Project</name>
<description>Parent project for project.</description>
<url>https://github.com/${project.organization}/${project.repository}/tree/${project.version}/${project.artifactId}</url>
<developers>
<developer>
<name>Greg Gibeling</name>
<email>[email protected]</email>
<organization>G2 Forge</organization>
<organizationUrl>http://www.g2forge.com</organizationUrl>
</developer>
</developers>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>https://github.com/${project.organization}/${project.repository}/blob/${project.version}/LICENSE</url>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/${project.organization}/${project.repository}.git</connection>
<developerConnection>scm:git:ssh://github.com:${project.organization}/${project.repository}.git</developerConnection>
<url>http://github.com/${project.organization}/${project.repository}/tree/${project.version}</url>
</scm>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.5</version>
<configuration>
<properties>
<properties>
<name>alexandria.version</name>
<dependencies>
<dependency>
<groupId>com.g2forge.alexandria</groupId>
<artifactId>alexandria</artifactId>
</dependency>
</dependencies>
</properties>
<properties>
<name>gearbox.version</name>
<dependencies>
<dependency>
<artifactId>gearbox</artifactId>
</dependency>
</dependencies>
</properties>
</properties>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release-snapshot</id>
<repositories>
<repository>
<id>github-</id>
<url>https://maven.pkg.github.com/g2forge/*</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub g2forge Apache Maven Packages</name>
<url>https://maven.pkg.github.com/g2forge/project</url>
</repository>
</distributionManagement>
<distributionManagement>
<snapshotRepository>
<id>github</id>
<name>GitHub g2forge Apache Maven Packages</name>
<url>https://maven.pkg.github.com/g2forge/project</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.g2forge.project</groupId>
<artifactId>pj-project</artifactId>
<packaging>pom</packaging>
<version>0.0.1-SNAPSHOT</version>

<parent>
<groupId>com.g2forge.alexandria</groupId>
<artifactId>ax-project</artifactId>
<version>0.0.19-SNAPSHOT</version>
<relativePath>../../alexandria/ax-project/pom.xml</relativePath>
</parent>

<properties>
<alexandria.version>0.0.19-SNAPSHOT</alexandria.version>
<gearbox.version>0.0.10-SNAPSHOT</gearbox.version>

<project.organization>g2forge</project.organization>
<project.name>project</project.name>
<project.repository>project</project.repository>
</properties>

<name>project Project</name>
<description>Parent project for project.</description>
<url>
https://github.com/${project.organization}/${project.repository}/tree/${project.version}/${project.artifactId}</url>
<developers>
<developer>
<name>Greg Gibeling</name>
<email>[email protected]</email>
<organization>G2 Forge</organization>
<organizationUrl>http://www.g2forge.com</organizationUrl>
</developer>
</developers>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>https://github.com/${project.organization}/${project.repository}/blob/${project.version}/LICENSE</url>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/${project.organization}/${project.repository}.git</connection>
<developerConnection>scm:git:ssh://github.com:${project.organization}/${project.repository}.git</developerConnection>
<url>http://github.com/${project.organization}/${project.repository}/tree/${project.version}</url>
</scm>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.5</version>
<configuration>
<properties>
<properties>
<name>alexandria.version</name>
<dependencies>
<dependency>
<groupId>com.g2forge.alexandria</groupId>
<artifactId>alexandria</artifactId>
</dependency>
</dependencies>
</properties>
<properties>
<name>gearbox.version</name>
<dependencies>
<dependency>
<artifactId>gearbox</artifactId>
</dependency>
</dependencies>
</properties>
</properties>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release-snapshot</id>
<repositories>
<repository>
<id>github-</id>
<url>https://maven.pkg.github.com/g2forge/*</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub g2forge Apache Maven Packages</name>
<url>https://maven.pkg.github.com/g2forge/project</url>
</repository>
<snapshotRepository>
<id>github</id>
<name>GitHub g2forge Apache Maven Packages</name>
<url>https://maven.pkg.github.com/g2forge/project</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>
</project>
36 changes: 21 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>project</artifactId>
<packaging>pom</packaging>
<parent>
<groupId>com.g2forge.project</groupId>
<artifactId>pj-project</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>pj-project/pom.xml</relativePath>
</parent>
<name>project</name>
<description>Project planning tools</description>
<modules>
<module>pj-project</module>
</modules>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<artifactId>project</artifactId>
<packaging>pom</packaging>

<parent>
<groupId>com.g2forge.project</groupId>
<artifactId>pj-project</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>pj-project/pom.xml</relativePath>
</parent>

<name>project</name>
<description>Project planning tools</description>

<modules>
<module>pj-project</module>
</modules>
</project>

0 comments on commit f692d31

Please sign in to comment.