-
Notifications
You must be signed in to change notification settings - Fork 160
Closed
Labels
Milestone
Description
Poms are missing from bintray
1 - Create pom.xml
<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>
<groupId>com.ibm.fhir</groupId>
<artifactId>testtest</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>testtest</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- switch to 1 to publish automatically -Dpublish=1 -->
<publish>0</publish>
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
<bintray.repo>ibm-fhir-server-releases</bintray.repo>
<bintray.org>ibm-watson-health</bintray.org>
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<artifactId>fhir-examples</artifactId>
<groupId>com.ibm.fhir</groupId>
<version>4.0.1</version>
</dependency>
<dependency>
<artifactId>fhir-model</artifactId>
<groupId>com.ibm.fhir</groupId>
<version>4.0.1</version>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>bintray-ibm-watson-health-ibm-fhir-server-snapshots</id>
<name>ibm-watson-health-ibm-fhir-server-snapshots</name>
<url>https://api.bintray.com/maven/${bintray.org}/${bintray.repo}/fhir-examples/;publish=${publish}</url>
</repository>
</distributionManagement>
<repositories>
<repository>
<id>bintray-ibm-watson-health-ibm-fhir-server-snapshots</id>
<name>ibm-watson-health-ibm-fhir-server-snapshots</name>
<url>https://api.bintray.com/maven/${bintray.org}/${bintray.repo}/fhir-examples/;publish=${publish}</url>
</repository>
</repositories>
</project>
3 - It fails to download the file.
Fixed looks like this.
12:08:42-paulbastide@pauls-mbp:~/git/wffh/eclipse-workspace-r4-b/testtest$ mvn -f pom.xml test
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.ibm.fhir:testtest >------------------------
[INFO] Building testtest 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from bintray-ibm-watson-health-ibm-fhir-server-snapshots: https://api.bintray.com/maven/ibm-watson-health/ibm-fhir-server-releases/fhir-examples/;publish=0/com/ibm/fhir/fhir-model/4.0.1/fhir-model-4.0.1.pom
Downloaded from bintray-ibm-watson-health-ibm-fhir-server-snapshots: https://api.bintray.com/maven/ibm-watson-health/ibm-fhir-server-releases/fhir-examples/;publish=0/com/ibm/fhir/fhir-model/4.0.1/fhir-model-4.0.1.pom (3.9 kB at 2.7 kB/s)
Downloading from bintray-ibm-watson-health-ibm-fhir-server-snapshots: https://api.bintray.com/maven/ibm-watson-health/ibm-fhir-server-releases/fhir-examples/;publish=0/com/ibm/fhir/fhir-model/4.0.1/fhir-model-4.0.1.jar
Downloaded from bintray-ibm-watson-health-ibm-fhir-server-snapshots: https://api.bintray.com/maven/ibm-watson-health/ibm-fhir-server-releases/fhir-examples/;publish=0/com/ibm/fhir/fhir-model/4.0.1/fhir-model-4.0.1.jar (6.1 MB at 3.0 MB/s)
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ testtest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/paulbastide/git/wffh/eclipse-workspace-r4-b/testtest/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ testtest ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ testtest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/paulbastide/git/wffh/eclipse-workspace-r4-b/testtest/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ testtest ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ testtest ---
[INFO] Surefire report directory: /Users/paulbastide/git/wffh/eclipse-workspace-r4-b/testtest/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.ibm.fhir.testtest.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.100 s
[INFO] Finished at: 2020-01-22T12:08:51-05:00
[INFO] ------------------------------------------------------------------------