open-reg-tech-us-lcr-scala
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.nwokafor-choongsaeng</groupId> <artifactId>open-reg-tech-us-lcr-scala</artifactId> <version>0.0.2</version> </dependency>
<?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> <!-- <parent>--> <!-- <groupId>org.finos</groupId>--> <!-- <artifactId>finos</artifactId>--> <!-- <version>4</version>--> <!-- </parent>--> <!-- <groupId>org.finos.morphir</groupId>--> <!-- <artifactId>open-reg-tech-us-lcr-scala</artifactId>--> <!-- <version>1.0-SNAPSHOT</version>--> <!-- <packaging>jar</packaging>--> <groupId>io.github.nwokafor-choongsaeng</groupId> <artifactId>open-reg-tech-us-lcr-scala</artifactId> <version>0.0.2</version> <packaging>jar</packaging> <name>io.github.nwokafor-choongsaeng:open-reg-tech-us-lcr-scala</name> <description>LCR calculations as Morphir executable on Scala</description> <url>https://github.com/nwokafor-choongsaeng/open-reg-tech-us-lcr</url> <inceptionYear>2022</inceptionYear> <organization> <name>FINOS</name> <url>https://github.com/finos/open-reg-tech-us-lcr</url> </organization> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <name>Nwokafor Choongsaeng</name> <email>frankchoongsaeng@gmail.com</email> <organization>Morphir</organization> <organizationUrl>https://morphir.finos.org</organizationUrl> </developer> </developers> <scm> <connection>scm:git:https://github.com/nwokafor-choongsaeng/open-reg-tech-us-lcr</connection> <developerConnection>scm:git:https://github.com/nwokafor-choongsaeng/open-reg-tech-us-lcr</developerConnection> <url>https://github.com/nwokafor-choongsaeng/open-reg-tech-us-lcr</url> <tag>HEAD</tag> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <scala.version>2.12.14</scala.version> <scala.binary.version>2.12</scala.binary.version> <spark.version>3.2.1</spark.version> <java.version>11</java.version> <scalaSrcDir>${project.basedir}/generated/scala/src</scalaSrcDir> <scalaTestDir>${project.basedir}/generated/scala/test</scalaTestDir> </properties> <dependencies> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> <version>${scala.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-reflect</artifactId> <version>${scala.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.scalactic</groupId> <artifactId>scalactic_${scala.binary.version}</artifactId> <version>3.2.15</version> </dependency> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_${scala.binary.version}</artifactId> <version>3.2.15</version> <scope>test</scope> </dependency> <dependency> <groupId>org.morphir</groupId> <artifactId>morphir-sdk-core_2.11</artifactId> <version>0.11.0</version> </dependency> </dependencies> <build> <sourceDirectory>${scalaSrcDir}</sourceDirectory> <testSourceDirectory>${scalaTestDir}</testSourceDirectory> <plugins> <!-- ************************ --> <!-- CLEAN LOGIC --> <!-- ************************ --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>3.2.0</version> <configuration> <filesets> <fileset> <directory>${project.basedir}/generated</directory> <followSymlinks>false</followSymlinks> </fileset> <fileset> <directory>${project.basedir}/node_modules</directory> <followSymlinks>false</followSymlinks> </fileset> <fileset> <directory>${project.basedir}</directory> <includes> <include>morphir-hashes.json</include> <include>morphir-ir.json</include> </includes> </fileset> </filesets> </configuration> </plugin> <!-- ************************ --> <!-- COMPILER LOGIC --> <!-- ************************ --> <!-- Morphir compiler --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>npm-install</id> <phase>generate-sources</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>npm</executable> <workingDirectory>${project.basedir}</workingDirectory> <arguments> <argument>install</argument> </arguments> </configuration> </execution> <execution> <id>npm-build</id> <phase>generate-sources</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>npm</executable> <workingDirectory>${project.basedir}</workingDirectory> <arguments> <argument>run</argument> <argument>build</argument> </arguments> </configuration> </execution> </executions> </plugin> <!-- Java compiler --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.10.1</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <!-- Scala compiler --> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <version>4.7.1</version> <executions> <execution> <goals> <goal>compile</goal> <goal>testCompile</goal> </goals> </execution> <execution> <id>attach-javadocs</id> <goals> <goal>doc-jar</goal> <goal>add-source</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <phase>verify</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- ************************ --> <!-- GPG SIGNING --> <!-- ************************ --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <!-- ************************ --> <!-- RELEASE LOGIC --> <!-- ************************ --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.13</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> <repositories> <repository> <id>ossrh</id> <name>OSSRH Public Group</name> <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>ossrh-releases</id> <name>OSSRH Public Releases Group</name> <url>https://s01.oss.sonatype.org/content/repositories/releases/</url> </repository> </repositories> <profiles> <!-- ************************ --> <!-- UNIT TEST LOGIC --> <!-- ************************ --> <!-- Morphir tests will fail if test file does not exist yet --> <!-- We only activate this phase if test exists --> <profile> <id>activate-tests</id> <activation> <file> <exists>morphir-tests.json</exists> </file> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>morphir-tests</id> <phase>test</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>morphir-elm</executable> <workingDirectory>${project.basedir}</workingDirectory> <arguments> <argument>test</argument> </arguments> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>