yauaa-platfora
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>nl.basjes.parse.useragent</groupId> <artifactId>yauaa-platfora</artifactId> <version>2.2</version> </dependency>
<?xml version="1.0"?> <!-- ~ Yet Another UserAgent Analyzer ~ Copyright (C) 2013-2017 Niels Basjes ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <artifactId>yauaa-udf-parent</artifactId> <groupId>nl.basjes.parse.useragent</groupId> <version>2.2</version> </parent> <artifactId>yauaa-platfora</artifactId> <name>Yauaa : - - UDF Platfora</name> <description>A parsing and analyzing library to get information from a useragent string.</description> <url>http://github.com/nielsbasjes/yauaa</url> <dependencies> <dependency> <groupId>nl.basjes.parse.useragent</groupId> <artifactId>yauaa</artifactId> <version>${project.version}</version> </dependency> <!-- In order to build the Platfora UDF the platfora-udf.jar is needed that is currently only distributed by Platfora as a file that is part of their installation. This file is normally installed at ${PLATFORA_HOME}/tools/udf/platfora-udf.jar At the time of writing we were running Platfora 5.2.0 so we chose these values to deploy it: group: com.platfora.udf artifact: platfora-udf version: 5.2.0-LOCAL By deliberately appending 'LOCAL' to the version we aim to avoid naming conflicts in case Platfora decides to put this jar into a public repo like Maven central. Installing it locally on your development system can be simply done like this: ( See https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html ) mvn install:install-file \ -Dfile=platfora-udf.jar \ -DgroupId=com.platfora.udf \ -DartifactId=platfora-udf \ -Dversion=5.2.0-LOCAL \ -Dpackaging=jar Installing it in your corporate maven repo will make things a lot easier for all developers: https://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html --> <dependency> <groupId>com.platfora.udf</groupId> <artifactId>platfora-udf</artifactId> <version>5.2.0-LOCAL</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>${slf4j.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.6</version> <executions> <execution> <id>make-super-jar</id> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <descriptors> <descriptor>src/main/assembly/udf.xml</descriptor> </descriptors> <archive> <addMavenDescriptor>true</addMavenDescriptor> </archive> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <!-- Disable coverage analysis for this module --> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> <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> <name>Niels Basjes</name> <email>niels@basjes.nl</email> <roles> <role>Architect</role> <role>Developer</role> </roles> <timezone>Europe/Amsterdam</timezone> </developer> </developers> <scm> <url>https://github.com/nielsbasjes/yauaa</url> <connection>scm:git:https://github.com/nielsbasjes/yauaa.git</connection> <developerConnection>scm:git:.</developerConnection> </scm> </project>