parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.regnosys.rosetta.code-generators</groupId>
<artifactId>parent</artifactId>
<version>12.0.0-dev.15</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) REGnosys 2019 (www.regnosys.com) All rights reserved.
This program is licensed to you under the Apache License Version 2.0, and
you may not use this file except in compliance with the Apache License Version
2.0. You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed
under the Apache License Version 2.0 is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the Apache License Version 2.0 for the specific language governing permissions
and limitations there under. -->
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.finos</groupId>
<artifactId>finos</artifactId>
<version>7</version>
</parent>
<groupId>com.regnosys.rosetta.code-generators</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>12.0.0-dev.15</version>
<name>code-gen-parent</name>
<description>A place to write code generators for the rosetta DSL</description>
<scm>
<developerConnection>scm:git:https://github.com/REGnosys/rosetta-code-generators</developerConnection>
<connection>scm:git:git://github.com/REGnosys/rosetta-code-generators.git</connection>
<tag>HEAD</tag>
<url>https://github.com/REGnosys/rosetta-code-generators</url>
</scm>
<url>https://github.com/REGnosys/rosetta-code-generators</url>
<organization>
<name>REGnosys Limited</name>
<url>https://www.regnosys.com/</url>
</organization>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>minesh-s-patel</id>
<name>Minesh Patel</name>
<email>infra@regnosys.com</email>
<url>http://github.com/minesh-s-patel</url>
<organization>REGnosys</organization>
<organizationUrl>https://regnosys.com</organizationUrl>
<timezone>+1</timezone>
<roles>
<role>Maintainer</role>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>hugohills-regnosys</id>
<name>Hugo Hills</name>
<email>infra@regnosys.com</email>
<url>http://github.com/hugohills-regnosys</url>
<organization>REGnosys</organization>
<organizationUrl>https://regnosys.com</organizationUrl>
<timezone>+1</timezone>
<roles>
<role>Maintainer</role>
<role>Developer</role>
</roles>
</developer>
</developers>
<profiles>
<profile>
<id>regnosys</id>
<properties>
<rosetta.bundle.version>0.0.0.main-SNAPSHOT</rosetta.bundle.version>
</properties>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>${gpg.keyname}</keyname>
<passphraseServerId>${gpg.keyname}</passphraseServerId>
<passphraseEnvName>${gpg.passphrase}</passphraseEnvName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>none</phase> <!-- Disable this execution -->
</execution>
<execution>
<id>default</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.enforced.version>[21,22)</java.enforced.version>
<maven.compiler.release>21</maven.compiler.release>
<apache.commons.lang.version>3.13.0</apache.commons.lang.version>
<apache.commons.text.version>1.11.0</apache.commons.text.version>
<commons-io.version>2.11.0</commons-io.version>
<guava.version>33.3.1-jre</guava.version>
<!-- Release -->
<gpg.keyname>configured-by-release-profile</gpg.keyname>
<gpg.passphrase>configured-by-release-profile</gpg.passphrase>
<stagingTimeoutInMinutes>20</stagingTimeoutInMinutes>
<rune.dsl.version>10.0.0-dev.12</rune.dsl.version>
<rosetta.bundle.version>12.0.0-dev.15</rosetta.bundle.version>
<xtext.version>2.38.0</xtext.version>
<guice.version>6.0.0</guice.version>
<slf4j.version>2.0.13</slf4j.version>
<logback.version>1.5.6</logback.version>
<!-- test -->
<junit.version>5.8.1</junit.version>
<hamcrest.version>2.2</hamcrest.version>
<!-- plugin -->
<maven-enforcer-plugin.version>3.3.0</maven-enforcer-plugin.version>
<maven-checkstyle-plugin.version>3.4.0</maven-checkstyle-plugin.version>
<maven-clean-plugin.version>3.1.0</maven-clean-plugin.version>
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<maven-install-plugin.version>2.5.2</maven-install-plugin.version>
<maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-plugin.version>
<maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
</properties>
<modules>
<module>test-helper</module>
<module>sample</module>
<module>daml</module>
<module>default-cdm-generators</module>
<module>typescript</module>
<module>scala</module>
<module>golang</module>
<module>kotlin</module>
<module>c-sharp</module>
<module>csv</module>
<module>excel</module>
<module>json-schema</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${apache.commons.lang.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>${apache.commons.text.version}</version>
</dependency>
<!-- xtext START -->
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>${guice.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>xtext-dev-bom</artifactId>
<version>${xtext.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.eclipse.xtend</groupId>
<artifactId>org.eclipse.xtend.lib</artifactId>
<version>${xtext.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.xbase.lib</artifactId>
<version>${xtext.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext</artifactId>
<version>${xtext.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.xbase.testing</artifactId>
<version>${xtext.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.testing</artifactId>
<version>${xtext.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.util</artifactId>
<version>${xtext.version}</version>
<exclusions>
<exclusion>
<groupId>ch.qos.reload4j</groupId>
<artifactId>reload4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- xtext END -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- Xtext uses Log4j directly. The following dependency will
redirect Log4j messages to slf4j. -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>org.finos.rune</groupId>
<artifactId>rune-lang</artifactId>
<version>${rune.dsl.version}</version>
</dependency>
<dependency>
<groupId>org.finos.rune</groupId>
<artifactId>rune-testing</artifactId>
<version>${rune.dsl.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.finos.rune</groupId>
<artifactId>rune-runtime</artifactId>
<version>${rune.dsl.version}</version>
</dependency>
<dependency>
<groupId>org.finos.rune-common</groupId>
<artifactId>rune-common</artifactId>
<version>${rosetta.bundle.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${junit.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
</dependency>
</dependencies>
<build>
<!-- lock down plugins versions to avoid using maven defaults -->
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>${maven-install-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
<configuration>
<configLocation>checkstyle/checkstyle.xml</configLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
<version>${xtext.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>${java.enforced.version}</version>
</requireJavaVersion>
<bannedDependencies>
<excludes>
<exclude>log4j:log4j</exclude>
<exclude>org.apache.logging.log4j:log4j-core</exclude>
<exclude>ch.qos.reload4j:reload4j</exclude>
</excludes>
</bannedDependencies>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
<configuration>
<configLocation>checkstyle/checkstyle.xml</configLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<sourceDirectories>
<sourceDirectory>src/main/java</sourceDirectory>
<sourceDirectory>src/test/java</sourceDirectory>
</sourceDirectories>
</configuration>
<executions>
<execution>
<id>Check style</id>
<!-- This needs to run /after/ (test) source
generation is done. -->
<phase>process-test-sources</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<name>Central Portal Snapshots</name>
<id>central-portal-snapshots</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>