Browse Source

Removed creation of fat jar for now.

Sebastian Stenzel 6 years ago
parent
commit
8831df9242
6 changed files with 28 additions and 80 deletions
  1. 0 1
      .idea/compiler.xml
  2. 0 1
      .idea/encodings.xml
  3. 28 9
      .travis.yml
  4. 0 1
      main/pom.xml
  5. 0 48
      main/uber-jar/pom.xml
  6. 0 20
      main/uber-jar/src/main/resources/logback.xml

+ 0 - 1
.idea/compiler.xml

@@ -26,7 +26,6 @@
         <module name="commons" />
         <module name="keychain" />
         <module name="launcher" />
-        <module name="uber-jar" />
         <module name="ui" />
       </profile>
     </annotationProcessing>

+ 0 - 1
.idea/encodings.xml

@@ -6,7 +6,6 @@
     <file url="file://$PROJECT_DIR$/main/commons" charset="UTF-8" />
     <file url="file://$PROJECT_DIR$/main/keychain" charset="UTF-8" />
     <file url="file://$PROJECT_DIR$/main/launcher" charset="UTF-8" />
-    <file url="file://$PROJECT_DIR$/main/uber-jar" charset="UTF-8" />
     <file url="file://$PROJECT_DIR$/main/ui" charset="UTF-8" />
   </component>
 </project>

+ 28 - 9
.travis.yml

@@ -38,27 +38,46 @@ deploy:
 - provider: script # SNAPSHOTS
   skip_cleanup: true
   script: >-
-    curl -T main/ant-kit/target/antkit.zip
+    curl -T main/buildkit/target/buildkit-linux.zip
     -u cryptobot:${BINTRAY_API_KEY}
-    -H "X-Bintray-Package:ant-kit"
+    -H "X-Bintray-Package:buildkit"
     -H "X-Bintray-Version:continuous"
     -H "X-Bintray-Override:1"
     -H "X-Bintray-Publish:1"
-    https://api.bintray.com/content/cryptomator/cryptomator/antkit-continuous.zip
+    https://api.bintray.com/content/cryptomator/cryptomator/buildkit-linux-continuous.zip
   on:
     repo: cryptomator/cryptomator
     branch: develop
     condition: $TRAVIS_TAG = ''
-- provider: releases # RELEASE
-  prerelease: false
-  api_key: $GITHUB_API_KEY
-  file:
-  - "main/uber-jar/target/Cryptomator-$TRAVIS_TAG.jar"
+- provider: script
   skip_cleanup: true
+  script: >-
+    curl -T main/buildkit/target/buildkit-mac.zip
+    -u cryptobot:${BINTRAY_API_KEY}
+    -H "X-Bintray-Package:buildkit"
+    -H "X-Bintray-Version:continuous"
+    -H "X-Bintray-Override:1"
+    -H "X-Bintray-Publish:1"
+    https://api.bintray.com/content/cryptomator/cryptomator/buildkit-mac-continuous.zip
   on:
     repo: cryptomator/cryptomator
-    tags: true
+    branch: develop
+    condition: $TRAVIS_TAG = ''
 - provider: script
+  skip_cleanup: true
+  script: >-
+    curl -T main/buildkit/target/buildkit-win.zip
+    -u cryptobot:${BINTRAY_API_KEY}
+    -H "X-Bintray-Package:buildkit"
+    -H "X-Bintray-Version:continuous"
+    -H "X-Bintray-Override:1"
+    -H "X-Bintray-Publish:1"
+    https://api.bintray.com/content/cryptomator/cryptomator/buildkit-win-continuous.zip
+  on:
+    repo: cryptomator/cryptomator
+    branch: develop
+    condition: $TRAVIS_TAG = ''
+- provider: script # RELEASE
   skip_cleanup: true
   script: >-
     curl -T main/buildkit/target/buildkit-linux.zip

+ 0 - 1
main/pom.xml

@@ -268,7 +268,6 @@
 		<profile>
 			<id>release</id>
 			<modules>
-				<module>uber-jar</module>
 				<module>buildkit</module>
 			</modules>
 		</profile>

+ 0 - 48
main/uber-jar/pom.xml

@@ -1,48 +0,0 @@
-<?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.cryptomator</groupId>
-		<artifactId>main</artifactId>
-		<version>1.5.0-SNAPSHOT</version>
-	</parent>
-	<artifactId>uber-jar</artifactId>
-	<name>Single über jar with all dependencies</name>
-
-	<dependencies>
-		<dependency>
-			<groupId>org.cryptomator</groupId>
-			<artifactId>launcher</artifactId>
-		</dependency>
-	</dependencies>
-
-	<build>
-		<plugins>
-			<plugin>
-				<artifactId>maven-shade-plugin</artifactId>
-				<version>3.0.0</version>
-				<executions>
-					<execution>
-						<id>make-assembly</id>
-						<phase>package</phase>
-						<goals>
-							<goal>shade</goal>
-						</goals>
-					</execution>
-				</executions>
-				<configuration>
-					<finalName>Cryptomator-${project.version}</finalName>
-					<createDependencyReducedPom>false</createDependencyReducedPom>
-					<transformers>
-						<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
-							<manifestEntries>
-								<Main-Class>org.cryptomator.launcher.Cryptomator</Main-Class>
-								<Implementation-Version>${project.version}</Implementation-Version>
-							</manifestEntries>
-						</transformer>
-					</transformers>
-				</configuration>
-			</plugin>
-		</plugins>
-	</build>
-</project>

+ 0 - 20
main/uber-jar/src/main/resources/logback.xml

@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE xml>
-<!-- log config used during unit tests and starts from IDE. For production please specify -Dlogback.configurationFile=/path/to/config -->
-<configuration>
-
-	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
-		<encoder>
-			<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
-		</encoder>
-	</appender>
-
-	<logger name="org.cryptomator" level="DEBUG" />
-	<logger name="org.eclipse.jetty" level="INFO" />
-	<logger name="org.eclipse.jetty.server.Server" level="INFO" />
-	<logger name="org.apache" level="INFO" />
-
-	<root level="INFO">
-		<appender-ref ref="STDOUT" />
-	</root>
-</configuration>