Import from old repository
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
|
||||
This file is part of Rubanetra.
|
||||
Copyright (C) 2013,2014 Stefan Swerk (stefan_rubanetra@swerk.priv.at)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
-->
|
||||
<kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule">
|
||||
<!-- the knowledge base name should correspond to the name of the top level directory containing the rules-->
|
||||
<kbase name="DefaultKnowledgeBase"
|
||||
default="true"
|
||||
eventProcessingMode="stream"
|
||||
equalsBehavior="equality"
|
||||
packages="at.jku.fim.rubanetra.drools.rules">
|
||||
<ksession name="DefaultSession"
|
||||
default="true"
|
||||
type="stateful"
|
||||
clockType="pseudo"/>
|
||||
</kbase>
|
||||
</kmodule>
|
||||
@@ -0,0 +1,5 @@
|
||||
#Generated by Maven
|
||||
#Tue Jul 07 12:26:27 CEST 2015
|
||||
version=0.0.6
|
||||
groupId=at.jku.fim
|
||||
artifactId=rubanetra
|
||||
@@ -0,0 +1,748 @@
|
||||
<!--
|
||||
|
||||
This file is part of Rubanetra.
|
||||
Copyright (C) 2013,2014 Stefan Swerk (stefan_rubanetra@swerk.priv.at)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
-->
|
||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
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>at.jku.fim</groupId>
|
||||
<artifactId>rubanetra</artifactId>
|
||||
<version>0.0.6</version>
|
||||
<name>Rubanetra</name>
|
||||
<inceptionYear>2013</inceptionYear>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>GNU General Public License, Version 3</name>
|
||||
<url>https://gnu.org/licenses/gpl-3.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<organization>
|
||||
<name>Institute of networks and security</name>
|
||||
<url>https://ins.jku.at</url>
|
||||
</organization>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<id>stefan</id>
|
||||
<name>Stefan Swerk</name>
|
||||
<email>stefan_rubanetra@swerk.priv.at</email>
|
||||
<roles>
|
||||
<role>developer</role>
|
||||
</roles>
|
||||
<timezone>+1</timezone>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:http://gitlab.swerk.priv.at/stefan/rubanetra.git</connection>
|
||||
<url>http://gitlab.swerk.priv.at/stefan/rubanetra</url>
|
||||
</scm>
|
||||
<issueManagement>
|
||||
<system>Gitlab</system>
|
||||
<url>http://gitlab.swerk.priv.at/stefan/rubanetra/issues</url>
|
||||
</issueManagement>
|
||||
|
||||
<properties>
|
||||
<!-- the default settings to use in the final configuration files -->
|
||||
<droolsKnowledgeBase>DefaultKnowledgeBase</droolsKnowledgeBase>
|
||||
<droolsSessionName>DefaultSession</droolsSessionName>
|
||||
<fnaInputFormat>pcap</fnaInputFormat>
|
||||
<fnaOutputFile>stdout</fnaOutputFile>
|
||||
<fnaOutputFormat>plaso</fnaOutputFormat>
|
||||
<logLevel>info</logLevel>
|
||||
<logDirectory>./logs</logDirectory>
|
||||
<library.directory>./lib</library.directory>
|
||||
<config.directory>./conf</config.directory>
|
||||
<native.lib.classpath>/usr/lib</native.lib.classpath>
|
||||
|
||||
<!-- general settings -->
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<antlr4.visitor>false</antlr4.visitor>
|
||||
<antlr4.listener>true</antlr4.listener>
|
||||
<archive.output.directory>/home/stefan/IdeaProjects/rubanetra/target/archive</archive.output.directory>
|
||||
<recentYears>2014</recentYears>
|
||||
|
||||
<!-- main library versions to use -->
|
||||
<jnetpcap.version>1.4.r1425-1d</jnetpcap.version>
|
||||
<jnetpcap.native.lib.dirname>libjnetpcap</jnetpcap.native.lib.dirname>
|
||||
<krakenpcap.version>1.7.1</krakenpcap.version>
|
||||
<antlr.version>4.5</antlr.version>
|
||||
<drools.version>6.1.0.Final</drools.version>
|
||||
<apachehttpclient.version>4.3.3</apachehttpclient.version>
|
||||
<dnsjava.version>2.1.7</dnsjava.version>
|
||||
<junit.version>4.11</junit.version>
|
||||
<jackson.version>2.5.3</jackson.version>
|
||||
<slf4j.version>1.7.6</slf4j.version>
|
||||
</properties>
|
||||
|
||||
<repositories>
|
||||
<!--This repository contains the required Kraken Pcap modules, it may be disabled as soon as the
|
||||
actual krakenapps.org repository (see below) is up again.-->
|
||||
<repository>
|
||||
<id>OpenSOC-Kraken-Repo</id>
|
||||
<name>OpenSOC Kraken Repository</name>
|
||||
<url>https://raw.github.com/opensoc/kraken/mvn-repo</url>
|
||||
</repository>
|
||||
<!--The following repository is currently down (03.2015), it should be enabled if possible.-->
|
||||
<!--<repository>-->
|
||||
<!--<id>krakenapps.org</id>-->
|
||||
<!--<name>Kraken Repository</name>-->
|
||||
<!--<url>http://download.krakenapps.org/</url>-->
|
||||
<!--</repository>-->
|
||||
|
||||
<!--The following repository serves as workaround for the missing kraken-pcap-pom dependency problem,
|
||||
See also https://github.com/nchovy/kraken/issues/4 .
|
||||
In case the repository location as specified below does not exist, delete the following repository entry,
|
||||
acquire the kraken-pcap-pom file and execute
|
||||
$ mvn install:install-file -DlocalRepositoryPath=kraken-workaround-repository \
|
||||
-DcreateChecksum=true -Dpackaging=pom -Dfile=<PATH-TO_KRAKEN-PCAP-POM.pom> \
|
||||
-DgroupId=org.krakenapps -DartifactId=kraken-pcap-pom -Dversion=1.0.0
|
||||
|
||||
As soon as the underlying issue is resolved upstream, this repository entry may be deleted.-->
|
||||
<repository>
|
||||
<id>krakenapps.org - workaround</id>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
<checksumPolicy>ignore</checksumPolicy>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<url>file:///home/stefan/IdeaProjects/rubanetra/src/main/resources/kraken-workaround-repository</url>
|
||||
</repository>
|
||||
|
||||
|
||||
<repository>
|
||||
<id>jboss-public-repository-group</id>
|
||||
<name>JBoss Public Maven Repository Group</name>
|
||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||
<layout>default</layout>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>always</updatePolicy>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>always</updatePolicy>
|
||||
</snapshots>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>central</id>
|
||||
<name>Central Maven Repository</name>
|
||||
<layout>default</layout>
|
||||
<url>http://repo1.maven.org/maven2</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>clojars.org</id>
|
||||
<name>Clojars Community Maven Repository</name>
|
||||
<url>http://clojars.org/repo</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>jboss-public-repository-group</id>
|
||||
<name>JBoss Public Maven Repository Group</name>
|
||||
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
||||
<layout>default</layout>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>central</id>
|
||||
<name>Central Maven Repository</name>
|
||||
<layout>default</layout>
|
||||
<url>http://repo1.maven.org/maven2</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.11</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>1.7.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>jcl-over-slf4j</artifactId>
|
||||
<version>1.7.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>1.1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
<version>1.1.3</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>2.5.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
||||
<artifactId>jackson-dataformat-xml</artifactId>
|
||||
<version>2.5.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.woodstox</groupId>
|
||||
<artifactId>woodstox-core-asl</artifactId>
|
||||
<version>4.3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.mail</groupId>
|
||||
<artifactId>mail</artifactId>
|
||||
<version>1.4.7</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>activation</artifactId>
|
||||
<groupId>javax.activation</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.krakenapps</groupId>
|
||||
<artifactId>kraken-pcap</artifactId>
|
||||
<version>1.7.1</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>slf4j-simple</artifactId>
|
||||
<groupId>org.slf4j</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.krakenapps</groupId>
|
||||
<artifactId>kraken-http-decoder</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>mail</artifactId>
|
||||
<groupId>javax.mail</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.krakenapps</groupId>
|
||||
<artifactId>kraken-smtp-decoder</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>activation</artifactId>
|
||||
<groupId>javax.activation</groupId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<artifactId>mail</artifactId>
|
||||
<groupId>javax.mail</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.krakenapps</groupId>
|
||||
<artifactId>kraken-ftp-decoder</artifactId>
|
||||
<version>1.2.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>mail</artifactId>
|
||||
<groupId>javax.mail</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.krakenapps</groupId>
|
||||
<artifactId>kraken-msn-decoder</artifactId>
|
||||
<version>1.2.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>mail</artifactId>
|
||||
<groupId>javax.mail</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.krakenapps</groupId>
|
||||
<artifactId>kraken-netbios-decoder</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.krakenapps</groupId>
|
||||
<artifactId>kraken-pop3-decoder</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>mail</artifactId>
|
||||
<groupId>javax.mail</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.krakenapps</groupId>
|
||||
<artifactId>kraken-dhcp-decoder</artifactId>
|
||||
<version>1.0.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.krakenapps</groupId>
|
||||
<artifactId>kraken-snmp-decoder</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>mail</artifactId>
|
||||
<groupId>javax.mail</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.krakenapps</groupId>
|
||||
<artifactId>kraken-telnet-decoder</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jnetpcap</groupId>
|
||||
<artifactId>jnetpcap</artifactId>
|
||||
<version>1.4.r1425-1d</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr4-runtime</artifactId>
|
||||
<version>4.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.drools</groupId>
|
||||
<artifactId>drools-core</artifactId>
|
||||
<version>6.1.0.Final</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.drools</groupId>
|
||||
<artifactId>drools-compiler</artifactId>
|
||||
<version>6.1.0.Final</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.kie</groupId>
|
||||
<artifactId>kie-api</artifactId>
|
||||
<version>6.1.0.Final</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
<version>4.3.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-cli</groupId>
|
||||
<artifactId>commons-cli</artifactId>
|
||||
<version>1.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-csv</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>dnsjava</groupId>
|
||||
<artifactId>dnsjava</artifactId>
|
||||
<version>2.1.7</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<showWarnings>true</showWarnings>
|
||||
<showDeprecation>true</showDeprecation>
|
||||
<compilerArgument>-proc:none</compilerArgument>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.9.1</version>
|
||||
<configuration>
|
||||
<quiet>false</quiet>
|
||||
<jarOutputDirectory>/home/stefan/IdeaProjects/rubanetra/target/archive</jarOutputDirectory>
|
||||
<additionalparam>-Xdoclint:none</additionalparam>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.16</version>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
<systemPropertyVariables>
|
||||
<logDirectory>/home/stefan/IdeaProjects/rubanetra/target/logs</logDirectory>
|
||||
<logLevel>DEBUG</logLevel>
|
||||
</systemPropertyVariables>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>src/main/assembly/distribution-zip.xml</descriptor>
|
||||
<descriptor>src/main/assembly/package-zip.xml</descriptor>
|
||||
</descriptors>
|
||||
<tarLongFileMode>gnu</tarLongFileMode>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<outputDirectory>/home/stefan/IdeaProjects/rubanetra/target/archive</outputDirectory>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
<!-- Workaround for Maven bug #MJAR-156 (https://jira.codehaus.org/browse/MJAR-156) -->
|
||||
<useUniqueVersions>false</useUniqueVersions>
|
||||
<classpathPrefix>./lib/</classpathPrefix>
|
||||
<addExtensions>false</addExtensions>
|
||||
<mainClass>at.jku.fim.rubanetra.config.ConfigurationController</mainClass>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
<manifestEntries>
|
||||
<Class-Path>./conf/ /usr/lib/</Class-Path>
|
||||
<Build-Java>1.8.0_45</Build-Java>
|
||||
<Build-OS>Linux</Build-OS>
|
||||
<Build-Arch>amd64</Build-Arch>
|
||||
<License-Short-Name>GPLv3</License-Short-Name>
|
||||
<License-Long-Name>GNU General Public License, Version 3</License-Long-Name>
|
||||
<License-Url>https://gnu.org/licenses/gpl-3.0.txt</License-Url>
|
||||
<License-Short-Header>This is free software: you are free to change and redistribute it.
|
||||
There is NO WARRANTY, to the extent permitted by law.
|
||||
</License-Short-Header>
|
||||
<License-Inception-Year>2013</License-Inception-Year>
|
||||
<License-Recent-Years>2014</License-Recent-Years>
|
||||
<Copyright-Owner>Stefan Swerk (stefan_rubanetra@swerk.priv.at)</Copyright-Owner>
|
||||
<Issue-Management>http://gitlab.swerk.priv.at/stefan/rubanetra/issues</Issue-Management>
|
||||
<Project-Home>http://gitlab.swerk.priv.at/stefan/rubanetra</Project-Home>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
<excludes>
|
||||
<exclude>**/*.properties</exclude>
|
||||
<exclude>**/*.drl</exclude>
|
||||
<exclude>**/*.xml</exclude>
|
||||
<exclude>**/*.conf</exclude>
|
||||
<exclude>kraken-workaround-repository/**</exclude>
|
||||
<exclude>DefaultKnowledgeBase/**</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.2.1</version>
|
||||
<configuration>
|
||||
<includePom>true</includePom>
|
||||
<outputDirectory>/home/stefan/IdeaProjects/rubanetra/target/archive</outputDirectory>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>attach-test-sources</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>test-jar-no-fork</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>**/captures/**</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>1.8</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>add-source</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sources>
|
||||
<source>/home/stefan/IdeaProjects/rubanetra/target/generated-sources/antlr4</source>
|
||||
</sources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.antlr</groupId>
|
||||
<artifactId>antlr4-maven-plugin</artifactId>
|
||||
<version>4.5</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>antlr</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>antlr4</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<!-- This options is currently not required, since this plugin looks for ANTLR grammars
|
||||
in the directory 'main/antlr4' anyway-->
|
||||
<!--<sourceDirectory>/home/stefan/IdeaProjects/rubanetra/src/main/java</sourceDirectory> -->
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.kie</groupId>
|
||||
<artifactId>kie-maven-plugin</artifactId>
|
||||
<version>6.1.0.Final</version>
|
||||
<extensions>true</extensions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>2.8</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-dependencies</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>copy-dependencies</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>/home/stefan/IdeaProjects/rubanetra/target/lib</outputDirectory>
|
||||
<overWriteReleases>false</overWriteReleases>
|
||||
<overWriteSnapshots>false</overWriteSnapshots>
|
||||
<overWriteIfNewer>true</overWriteIfNewer>
|
||||
<useBaseVersion>true</useBaseVersion>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>unpack</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>unpack</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>jnetpcap</groupId>
|
||||
<artifactId>jnetpcap</artifactId>
|
||||
<version>1.4.r1425-1d</version>
|
||||
<type>jar</type>
|
||||
<overWrite>false</overWrite>
|
||||
<outputDirectory>/home/stefan/IdeaProjects/rubanetra/target/lib/libjnetpcap
|
||||
</outputDirectory>
|
||||
</artifactItem>
|
||||
</artifactItems>
|
||||
<includes>native/**</includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>license-maven-plugin</artifactId>
|
||||
<version>1.6</version>
|
||||
<configuration>
|
||||
<licenseName>gpl_v3</licenseName>
|
||||
<copyrightOwners>Stefan Swerk (stefan_rubanetra@swerk.priv.at)</copyrightOwners>
|
||||
<useMissingFile>true</useMissingFile>
|
||||
<useRepositoryMissingFiles>true</useRepositoryMissingFiles>
|
||||
<licenseMerges>
|
||||
<licenseMerge>The Apache Software License, Version 2.0|Apache 2</licenseMerge>
|
||||
<licenseMerge>The Apache Software License, Version 2.0|Apache
|
||||
License
|
||||
</licenseMerge>
|
||||
<licenseMerge>The Apache Software License, Version 2.0|Apache
|
||||
License, Version 2.0
|
||||
</licenseMerge>
|
||||
</licenseMerges>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>add-third-party</id>
|
||||
<goals>
|
||||
<goal>add-third-party</goal>
|
||||
</goals>
|
||||
<phase>process-sources</phase>
|
||||
</execution>
|
||||
<!--<execution>-->
|
||||
<!--<id>download-licenses</id>-->
|
||||
<!--<goals>-->
|
||||
<!--<goal>download-licenses</goal>-->
|
||||
<!--</goals>-->
|
||||
<!--<phase>process-sources</phase>-->
|
||||
<!--</execution>-->
|
||||
<execution>
|
||||
<id>update-project-license</id>
|
||||
<goals>
|
||||
<goal>update-project-license</goal>
|
||||
</goals>
|
||||
<phase>process-sources</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>2.5.1</version>
|
||||
<configuration>
|
||||
<createChecksum>true</createChecksum>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>net.ju-n.maven.plugins</groupId>
|
||||
<artifactId>checksum-maven-plugin</artifactId>
|
||||
<version>1.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>artifacts</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<algorithms>
|
||||
<algorithm>MD5</algorithm>
|
||||
<algorithm>SHA-1</algorithm>
|
||||
<algorithm>SHA-256</algorithm>
|
||||
</algorithms>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.mycila</groupId>
|
||||
<artifactId>license-maven-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<configuration>
|
||||
<header>src/license/gpl_v3/header.txt</header>
|
||||
<properties>
|
||||
<owner>Stefan Swerk</owner>
|
||||
<year>2013</year>
|
||||
<recentYears>2014</recentYears>
|
||||
<currentYear>${maven.build.timestamp}</currentYear>
|
||||
<email>stefan_rubanetra@swerk.priv.at</email>
|
||||
</properties>
|
||||
<useDefaultExcludes>true</useDefaultExcludes>
|
||||
<mapping>
|
||||
<drl>JAVADOC_STYLE</drl>
|
||||
<g4>JAVADOC_STYLE</g4>
|
||||
<conf>JAVADOC_STYLE</conf>
|
||||
</mapping>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>license-basedir</id>
|
||||
<phase>process-sources</phase>
|
||||
<goals>
|
||||
<goal>format</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<basedir>/home/stefan/IdeaProjects/rubanetra</basedir>
|
||||
<excludes>
|
||||
<exclude>**/README*</exclude>
|
||||
<exclude>**/LICENSE*</exclude>
|
||||
<exclude>src/license/gpl_v3/**</exclude>
|
||||
<exclude>src/main/resources/kraken-workaround-repository/**</exclude>
|
||||
<exclude>src/test/resources/captures/**</exclude>
|
||||
</excludes>
|
||||
<includes>
|
||||
<include>pom.xml</include>
|
||||
<include>src/**</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>license-gen-src</id>
|
||||
<phase>process-sources</phase>
|
||||
<goals>
|
||||
<goal>format</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<basedir>/home/stefan/IdeaProjects/rubanetra/target/generated-sources/antlr4</basedir>
|
||||
<excludes>
|
||||
<exclude>**/README*</exclude>
|
||||
<exclude>**/LICENSE*</exclude>
|
||||
<exclude>**/*.tokens</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
Reference in New Issue
Block a user