Fix for Azure pipelines being able to build and deploy core libraries properly.

* ...yup. it's really dumb

* wip

* wip

* Releases properly now on Azure.

* switching back to 5.0.7-SNAPSHOT version

* removing main method from Marker class
This commit is contained in:
Mark Iantorno 2020-06-10 18:25:23 -04:00 committed by GitHub
parent b01c64dc2c
commit a88b79f41b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 54 additions and 20 deletions

View File

@ -83,6 +83,13 @@
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -1,3 +1,5 @@
package main.java;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
@ -26,7 +28,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
public class Marker {
// This class is just here to force a javadoc build in order to satisfy maven central
public class Marker {
}

View File

@ -12,10 +12,6 @@
<artifactId>org.hl7.fhir.validation</artifactId>
<packaging>bundle</packaging>
<properties>
<micronaut.version>1.3.4</micronaut.version>
</properties>
<dependencies>
<!-- HAPI Dependencies -->

55
pom.xml
View File

@ -17,7 +17,7 @@
<properties>
<hapi_fhir_version>5.0.0</hapi_fhir_version>
<validator_test_case_version>1.1.19-SNAPSHOT</validator_test_case_version>
<validator_test_case_version>1.1.19</validator_test_case_version>
<junit_jupiter_version>5.6.2</junit_jupiter_version>
<maven_surefire_version>3.0.0-M4</maven_surefire_version>
<jacoco_version>0.8.5</jacoco_version>
@ -47,6 +47,13 @@
<module>org.hl7.fhir.report</module>
</modules>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<snapshots>
@ -63,18 +70,6 @@
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>oss-snapshot</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>sonatype-public</id>
<name>Sonatype Public</name>
<url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
</repositories>
<dependencies>
@ -259,6 +254,7 @@
<ignoredResourcePatterns>
<ignoredResourcePattern>changelog.txt</ignoredResourcePattern>
<ignoredResource>javac.bat</ignoredResource>
<ignoredResource>javac.sh</ignoredResource>
<ignoredResource>about.html</ignoredResource>
<ignoredResource>changelog.xml</ignoredResource>
</ignoredResourcePatterns>
@ -317,6 +313,39 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>${gpg.keyname}</keyname>
<passphraseServerId>${gpg.keyname}</passphraseServerId>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>