Skip to content

Commit

Permalink
Merge pull request #4 from FunThomas424242/#1-einfache-loesung
Browse files Browse the repository at this point in the history
#1 einfache loesung
  • Loading branch information
Huluvu424242 authored Dec 16, 2019
2 parents 81e7799 + 1dc64c8 commit 6c5c5da
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 67 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ language:
# - docker

jdk:
- oraclejdk8
- openjdk11
# - oraclejdk7

#env:
Expand All @@ -22,5 +22,5 @@ jdk:
#before_script:
# - mvn -Pciserver test -B

#script:
# - mvn -Pciserver install
script:
- ./mvnw clean install
11 changes: 3 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,10 @@
</issueManagement>

<distributionManagement>
<snapshotRepository>
<id>snapshots</id>
<name>oss-jfrog-artifactory-snapshots</name>
<url>https://oss.jfrog.org/artifactory/oss-snapshot-local</url>
</snapshotRepository>
<repository>
<id>bintray-funthomas424242-dsl</id>
<name>oss-jfrog-artifactory-releases</name>
<url>https://oss.jfrog.org/artifactory/oss-release-local</url>
<id>github</id>
<name>GitHub FunThomas424242 Apache Maven Packages</name>
<url>https://maven.pkg.github.com/FunThomas424242/${project.artifactId}</url>
</repository>
</distributionManagement>

Expand Down
3 changes: 3 additions & 0 deletions src/test/resources/flat-project/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea/
target/
*.iml
55 changes: 55 additions & 0 deletions src/test/resources/flat-project/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.funthomas424242</groupId>
<artifactId>flat-project</artifactId>
<packaging>jar</packaging>
<version>0.0.3-SNAPSHOT</version>
<name>Test JAR Install Plugin</name>
<inceptionYear>2016</inceptionYear>

<url>https://github.com/FunThomas424242/jar-install-plugin/</url>

<dependencies>
<dependency>
<groupId>gui4j</groupId>
<artifactId>gui4j</artifactId>
<version>1.2.30</version>
<scope>compile</scope>
</dependency>
</dependencies>

<build>
<!-- <defaultGoal>install</defaultGoal>-->
<plugins>
<plugin>
<groupId>com.github.funthomas424242</groupId>
<artifactId>jar-install-plugin</artifactId>
<version>0.0.4-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
<!-- Specify the MyMojo parameter -->
<downloads>
<downloadArtifact>
<url>http://sourceforge.net/projects/gui4j/files/gui4j/1.2.3/gui4j-1.2.3.jar/download</url>
<groupId>gui4j</groupId>
<artifactId>gui4j</artifactId>
<version>1.2.30</version>
<scope>compile</scope>
</downloadArtifact>
</downloads>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.github.funthomas424242.maven.plugins.jarinstall;

import com.gui4j.*;


public class TestMain {

public static void main(String[] args){
Gui4j gui4j = null;
}
}
5 changes: 5 additions & 0 deletions src/test/resources/flat-project/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
rm -rf ~/.m2/repository/gui4j/
echo ##########################
../../../../mvnw -U clean jar-install:install
#../../../../mvnw -U clean jar-install:install install
56 changes: 0 additions & 56 deletions src/test/resources/unit/flat-project/pom.xml

This file was deleted.

0 comments on commit 6c5c5da

Please sign in to comment.