Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
erge branch 'jitpack'
Browse files Browse the repository at this point in the history
  • Loading branch information
freimair committed Nov 28, 2018
2 parents d5cc1b3 + 591c760 commit 6546736
Show file tree
Hide file tree
Showing 92 changed files with 333 additions and 1,316 deletions.
31 changes: 12 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
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">

<groupId>com.cedricwalter</groupId>
<groupId>com.github.JesusMcCloud</groupId>
<artifactId>tor-binary</artifactId>
<version>8.0.3</version>
<version>8.0.3-jitpack</version>

<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>

<properties>
<!-- change here to get the desired version, verify signature, unpack and package tor binary
requirement are: gpg and 7z in path
requirement are: gpg in path
-->
<torbrowser.version>8.0.3</torbrowser.version>
<release.dir>${project.basedir}/release</release.dir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.remote-resource.directory>${project.build.directory}/maven-shared-archive-resources</project.remote-resource.directory>
</properties>

<licenses>
Expand All @@ -28,13 +28,6 @@
</license>
</licenses>

<pluginRepositories>
<pluginRepository>
<id>archifilter</id>
<url>https://raw.githubusercontent.com/JesusMcCloud/archifilter-maven-plugin/0.2/release/</url>
</pluginRepository>
</pluginRepositories>

<issueManagement>
<system>GitHub</system>
<url>https://github.com/cedricwalter/tor-binary/issues</url>
Expand All @@ -47,6 +40,13 @@
<organization>None</organization>
<organizationUrl>www.cedricwalter.com</organizationUrl>
</developer>
<developer>
<name>JesusMcCloud</name>
</developer>
<developer>
<name>Florian Reimair</name>
<email>[email protected]</email>
</developer>
</developers>

<scm>
Expand All @@ -56,18 +56,11 @@
</scm>

<modules>
<module>tor-binary-resources</module>
<module>tor-binary-linux32</module>
<module>tor-binary-linux64</module>
<module>tor-binary-macos</module>
<module>tor-binary-windows</module>
<module>tor-binary-geoip</module>
</modules>

<distributionManagement>
<repository>
<id>local</id>
<url>file:///${release.dir}</url>
</repository>
</distributionManagement>

</project>
41 changes: 28 additions & 13 deletions readme.MD
Original file line number Diff line number Diff line change
@@ -1,22 +1,37 @@
# Tor Binary files

Package Tor files from [Tor Browser project](https://github.com/TheTorProject/gettorbrowser) in a way that can use by any java projects


Package native Tor files from [Tor Browser project](https://www.torproject.org/) in a way that can be uses by java projects.

# Install

require GPG and 7Zip installed

```apt-get install -y p7zip-full```
require GPG installed

Change in pom to get the desired version

```<torbrowser.version>7.0.6</torbrowser.version>```
```<torbrowser.version>your TorBrowserBundle version here</torbrowser.version>```

run ```maven install```

This project verify GPG signature, unpack Tor Browser and package TOR binary for each platform.
alternatively, you can source jitpack.io:

Maven:
```
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
...
</repositories>
```

Gradle:
```
repositories {
maven { url 'https://jitpack.io' }
...
}
```


# Usage
Expand All @@ -27,7 +42,7 @@ Tor binary are simple zip files:
<dependency>
<groupId>com.cedricwalter</groupId>
<artifactId>tor-binary-linux32</artifactId>
<version>7.0.6</version>
<version>${torbrowser.version}</version>
<type>tar.xz</type>
<classifier>bin</classifier>
</dependency>
Expand All @@ -36,7 +51,7 @@ Tor binary are simple zip files:
<dependency>
<groupId>com.cedricwalter</groupId>
<artifactId>tor-binary-linux64</artifactId>
<version>7.0.6</version>
<version>${torbrowser.version}</version>
<type>tar.xz</type>
<classifier>bin</classifier>
</dependency>
Expand All @@ -45,7 +60,7 @@ Tor binary are simple zip files:
<dependency>
<groupId>com.cedricwalter</groupId>
<artifactId>tor-binary-macos</artifactId>
<version>7.0.6</version>
<version>${torbrowser.version}</version>
<type>tar.xz</type>
<classifier>bin</classifier>
</dependency>
Expand All @@ -54,7 +69,7 @@ Tor binary are simple zip files:
<dependency>
<groupId>com.cedricwalter</groupId>
<artifactId>tor-binary-windows</artifactId>
<version>7.0.6</version>
<version>${torbrowser.version}</version>
<type>tar.xz</type>
<classifier>bin</classifier>
</dependency>
Expand All @@ -77,7 +92,7 @@ you may want to unpack these dependencies if required using
<artifactItem>
<groupId>com.cedricwalter</groupId>
<artifactId>tor-binary-linux32</artifactId>
<version>${tor-binary.version}</version>
<version>${torbrowser.version}</version>
<type>tar.xz</type>
<classifier>bin</classifier>
<overWrite>false</overWrite>
Expand Down
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions release/com/cedricwalter/tor-binary-geoip/maven-metadata.xml

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6546736

Please sign in to comment.