fortnox4j
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.notima.api</groupId>
<artifactId>fortnox4j</artifactId>
<version>2.0.4</version>
</dependency><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>org.notima.api</groupId>
<artifactId>fortnox4j</artifactId>
<version>2.0.4</version>
<packaging>bundle</packaging>
<name>Fortnox Java API</name>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<dependencies>
<!-- Overrides of libraries included further down -->
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.15</version>
</dependency>
<dependency>
<groupId>ch.qos.reload4j</groupId>
<artifactId>reload4j</artifactId>
<version>1.2.24</version>
</dependency>
<!-- End of overrides -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.4.15</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.14</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>4.5.14</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.notima</groupId>
<artifactId>piggyback-tools</artifactId>
<version>0.0.2</version>
</dependency>
<dependency>
<groupId>org.notima</groupId>
<artifactId>notima-util</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.36</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2.8</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/test/resources</directory>
<excludes>
<exclude>test-config*</exclude>
<exclude>*.xml</exclude>
<exclude>FortnoxProperties.properties</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>test-config*</exclude>
<!-- Remove below for junit-tests to work properly -->
<exclude>*.xml</exclude>
</excludes>
</resource>
<resource>
<directory>**</directory>
<excludes>
<exclude>*.si</exclude>
<exclude>*.IN</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>4.2.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>
org.notima.api.fortnox,
org.notima.api.fortnox.oauth2,
org.notima.api.fortnox.clients,
org.notima.api.fortnox.entities3
</Export-Package>
<Import-Package>
javax.xml.bind.annotation;version="[2.2,3)",
javax.xml.bind;version="[2.2,3)",
*
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.9.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.1</version>
<configuration>
<includes>
<include>**/AllTests.java</include>
</includes>
<!-- Below tests should only be run intentionally -->
<excludes>
<exclude>**/TestCreateSupplier.java</exclude>
<exclude>**/TestGetSieFile.java</exclude>
<exclude>**/TestPostBankFile.java</exclude>
<exclude>**/TestCreateVoucher.java</exclude>
<exclude>**/TestUploadVoucherPDF.java</exclude>
<exclude>**/TestUpdateAccount.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<!--change phase to verify when uploading to nexus -->
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- mvn assembly:single -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>org.notima.api.fortnox.Fortnox4jCLI</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>
</build>
<description>Java API to communicate with web based Swedish ERP System Fortnox</description>
<organization>
<name>Notima System Integration AB</name>
<url>https://github.com/notima</url>
</organization>
<scm>
<url>https://github.com/notima/fortnox4j</url>
<connection>scm:git:git://github.com/notima/fortnox4j.git</connection>
<developerConnection>Daniel Tamm</developerConnection>
</scm>
<issueManagement>
<url>https://github.com/notima/fortnox4j/issues</url>
<system>Github Issues</system>
</issueManagement>
<inceptionYear>2012</inceptionYear>
<url>https://github.com/notima/fortnox4j</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>Daniel Tamm</name>
<email>daniel@notima.se</email>
<organization>Notima System Integration AB</organization>
<organizationUrl>https://github.com/notima</organizationUrl>
</developer>
</developers>
</project>