client
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.coherentlogic.lei</groupId>
<artifactId>client</artifactId>
<version>2.0.3-RELEASE</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.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<groupId>com.coherentlogic.lei</groupId>
<artifactId>client</artifactId>
<version>2.0.3-RELEASE</version>
<packaging>pom</packaging>
<name>Coherent Logic LEI Client</name>
<description>Java client for the Legal Entity Identifier Web Services (LEI)</description>
<url>http://www.coherentlogic.com/wordpress/?page_id=1362</url>
<properties>
<java.version>1.8</java.version>
<enterprise.data.adapter.version>2.0.3-RELEASE</enterprise.data.adapter.version>
</properties>
<licenses>
<license>
<name>GNU LESSER GENERAL PUBLIC LICENSE Version 3</name>
<url>http://www.gnu.org/licenses/lgpl-3.0.txt</url>
<distribution>manual</distribution>
<comments>Manual distribution at the moment -- we'll have something available in the repo soon.</comments>
</license>
</licenses>
<scm>
<!-- connection>scm:svn:https://coherentlogic.atlassian.net/source/browse/FI/trunk</connection>
<developerConnection>scm:svn:https://coherentlogic.atlassian.net/source/browse/FI/trunk</developerConnection -->
<url>https://bitbucket.org/CoherentLogic/coherent-logic-lei-client</url>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<name>Support</name>
<email>support@coherentlogic.com</email>
<id>support</id>
<organization>Coherent Logic Limited</organization>
<organizationUrl>www.coherentlogic.com</organizationUrl>
<url>www.coherentlogic.com</url>
<timezone>+1</timezone>
<roles>
<role>Support</role>
</roles>
</developer>
</developers>
<distributionManagement>
<site>
<id>LEI Client on Bitbucket</id>
<name>LEI Client on Bitbucket</name>
<url>https://bitbucket.org/CoherentLogic/coherent-logic-lei-client</url>
</site>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Staging Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<!-- See https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
section on 6. Central Sync Requirement as repositories will be phased out
at some point ( we're keeping it for the moment because we need to get the
Spring dependencies and I don't see any other way of achieving this). -->
<repositories>
<repository>
<id>com.springsource.repository.bundles.release</id>
<name>EBR Spring Release Repository</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
</repository>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>EBR External Release Repository</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
</repository>
<repository>
<id>spring-releases</id>
<url>http://repo.spring.io/libs-release</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>JBoss Release Repository</id>
<url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>repository.jboss.org-public</id>
<name>JBoss.org Maven repository</name>
<url>https://repository.jboss.org/nexus/content/groups/public</url>
</repository>
</repositories>
<!-- When releasing this project we need to disable the assembly module
as this causes problems and the process will fail. There may be a better
way to do this however at the moment commenting the module seems to work. -->
<modules>
<!-- module>lei-client-assembly</module -->
<module>lei-client-config</module>
<module>lei-client-core</module>
<!-- module>lei-client-core-it</module -->
<!-- module>lei-client-db-int</module -->
<!-- module>lei-client-example</module -->
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.coherentlogic.enterprise-data-adapter</groupId>
<artifactId>bom</artifactId>
<version>${enterprise.data.adapter.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.coherentlogic.lei.client</groupId>
<artifactId>lei-client-config</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.coherentlogic.lei.client</groupId>
<artifactId>lei-client-misc</artifactId>
<version>${project.version}</version>
</dependency>
<!-- If we don't have this dependency then the assembly pom will need
to have the custom-namespace-example version number. -->
<!-- dependency> <groupId>com.coherentlogic.lei.client</groupId> <artifactId>lei-example</artifactId>
<version>${project.version}</version> </dependency -->
<dependency>
<groupId>com.coherentlogic.lei.client</groupId>
<artifactId>lei-client-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.coherentlogic.lei.client</groupId>
<artifactId>lei-client-db-int</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.coherentlogic.lei.client</groupId>
<artifactId>lei-client-spark-int</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.coherentlogic.lei.client</groupId>
<artifactId>lei-client-webstart-application</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
</dependency>
</dependencies>
</dependencyManagement>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.9</version>
<reportSets>
<reportSet>
<reports>
<report>index</report>
<report>license</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.21.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5</version>
<configuration>
<xmlOutput>true</xmlOutput>
<xmlOutputDirectory>target/site</xmlOutputDirectory>
<maxHeap>2048</maxHeap>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.10.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<configLocation>sun_checks.xml</configLocation>
</configuration>
</plugin>
</plugins>
</reporting>
<build>
<plugins>
<!--
C:/.../coherent-logic-lei-client>
mvn clean install
then
C:/.../coherent-logic-lei-client>
//
// Note that this is not fully working as the LEIClientGUI will not join the cluster, whereas if we run
// this from Eclipse, it works fine.
//
mvn exec:java
-pl lei-client-webstart-application
-Dexec.mainClass="com.coherentlogic.lei.client.webstart.application.LEIClientGUI"
-Djava.net.preferIPV4Stack=true
-Djgroups.bind_addr=192.168.1.156 -U
For the LEIClientGUI pass the following params:
-Djava.net.preferIPv4Stack=true -Djgroups.bind_addr=192.168.1.156
C:\development\temp\coherent-logic-lei-client>ipconfig
In Eclipse add the following to the Run Configurations -> VM arguments:
-Djava.net.preferIPv4Stack=true -Djgroups.bind_addr=192.168.1.156
Also note that you must change (or assign) the following in the infinispan-default-jgroups-tcp.xml file
located here:
lei-client-webstart-application/src/main/resources/
jgroups.tcp.address:192.168.1.156 (see two occurrences)
=====
WARNING: Wait a few seconds for the nodes to rebalance otherwise you may see cache misses.
=====
Windows IP Configuration
Wireless LAN adapter Wireless Network Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . : router.home
Link-local IPv6 Address . . . . . : fe80::c16d:c522:e957:6a26%13
IPv4 Address. . . . . . . . . . . : 192.168.1.7
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
Ethernet adapter Local Area Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : router.home
Link-local IPv6 Address . . . . . : fe80::8ced:f571:f2d:e554%11
IPv4 Address. . . . . . . . . . . : 192.168.1.156 <=================
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
...
C:\development\temp\coherent-logic-lei-client>
In OSX use the en0.inet value as pointed out below:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
...
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether f4:5c:89:95:b8:8d
inet6 fe80::85e:6ccd:68d0:a96c%en0 prefixlen 64 secured scopeid 0x4
inet 192.168.1.172 netmask 0xffffff00 broadcast 192.168.1.255 <=================
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: active
en1: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500
...
en2: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500
...
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
...
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
...
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
...
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
...
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<!-- configuration>
<mainClass>com.coherentlogic.lei.client.webstart.application.LEIClientGUI</mainClass>
</configuration -->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!-- TODO: Update this to 3.1 but see the notes in the bom re
the potential problem this can cause. -->
<version>3.6.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<!-- This has been added due to the introduction of the aspectj-int module; refer to the
following link for an explanation:
https://stackoverflow.com/questions/17944108/maven-compiler-plugin-always-detecting-a-set-of-sources-as-stale
and
https://stackoverflow.com/questions/24211943/aspectj-maven-plugin-declare-soft-how-to-compile
What led to this was a unit test failing in the aspectj-int module and the symptoms
included the aspectj-maven-plugin recompiling classes due to changes being detected
(specifically the message "Changes detected - recompiling the module!") and setting
the useIncrementalCompilation flag to false addresses this problem.
-->
<useIncrementalCompilation>false</useIncrementalCompilation>
<!-- @TODO: Remove the executable as we really don't want to have this
here in order to make this work as this destroys platform independence. -->
<executable>C:/Program Files/Java/jdk1.8.0_66/bin/javac</executable>
<!-- True will generate line numbers. -->
<debug>true</debug>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20</version>
<configuration>
<aggregate>true</aggregate>
<!--also set this to link to generated source reports-->
<linkXRef>true</linkXRef>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<!-- See: https://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete -->
<additionalparam>-Xdoclint:none</additionalparam>
<doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
<docletPath>C:/development/software/UMLGraph-5.6/lib/UmlGraph.jar</docletPath>
<!--
If you see this error "Cannot run program 'dot'" then Graphviz has probably
not been installed; see here:
http://www.graphviz.org/Download.php
The UML Graph doclet needs to be installed manually as follows:
mvn install:install-file -Dfile=C:/development/software/UMLGraph-5.6.6/lib/UmlGraph.jar
-DgroupId=org.umlgraph -DartifactId=doclet -Dversion=5.6.6 -Dpackaging=jar -->
<docletArtifact>
<groupId>org.umlgraph</groupId>
<artifactId>doclet</artifactId>
<version>5.6</version>
</docletArtifact>
<additionalparam>"-views" "-Xdoclint:none"</additionalparam>
<useStandardDocletOptions>true</useStandardDocletOptions>
</configuration>
<!-- Below is the yDoc configuration. <doclet>ydoc.doclets.YStandard</doclet>
<docletPath>C:/development/software/yworks-uml-doclet/lib/ydoc.jar: C:/development/software/yworks-uml-doclet/lib/styleed.jar:
C:/development/software/yworks-uml-doclet/resources </docletPath> <additionalparam>-umlautogen</additionalparam> -->
<!-- reportSets>
<reportSet>
<id>aggregate</id>
<configuration></configuration>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets -->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
<configuration>
<stagingDirectory>C:/temp/LEIClient-SITE</stagingDirectory>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<!-- Was 2.12, revert in the event of errors. -->
<version>3.1.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
<pluginManagement>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven
build itself.-->
<plugins>
<!-- plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<versionRange>
[3.1,)
</versionRange>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin -->
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<!-- https://issues.sonatype.org/browse/OSSRH-3376 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>