GithubHelp home page GithubHelp logo

solarnetwork / gemini.blueprint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eclipse-gemini/gemini.blueprint

0.0 2.0 0.0 11.43 MB

License: Apache License 2.0

Java 99.03% HTML 0.97% Roff 0.01%

gemini.blueprint's Introduction

Eclipse Gemini Blueprint (SolarNetwork Edition)

This repository is a fork of the Eclipse Gemini Blueprint repository, which has ceased being developed. The reason for this fork is to update Gemini Blueprint from Spring 4.2 to 5.3. See the original readme.txt file for general information.

Using

The following artifacts are published to Maven Central:

Group Artifact Notes
net.solarnetwork.external gemini-blueprint-core Offers OSGi-based application context and importer/exporter functionality.
net.solarnetwork.external gemini-blueprint-extender Listens for and bootstraps OSGi 4.2 Blueprint and Spring-powered OSGi bundles.
net.solarnetwork.external gemini-blueprint-extensions Proprietary extensions not covered by the OSGi Blueprint specification.
net.solarnetwork.external gemini-blueprint-io Low-level stream utilities.
net.solarnetwork.external gemini-blueprint-mock Mocks for OSGi interfaces.
net.solarnetwork.external gemini-blueprint-test Provides JUnit based integration testing inside OSGi containers.

Building

To build the project, run

mvn -P equinox install

Java 8

You might have to build using Java 8. You can provide a JAVA_HOME environment variable that points to a suitable Java 8 runtime, for example:

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home mvn -P equinox install

Publishing to Maven Central

To publish to Maven Central, make sure your Maven settings has a ossrh server configured, and optionally settings for GPG signing. For example, in ~/.m2/settings.xml you would configure:

<?xml version="1.0" encoding="UTF-8" ?>
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"
	xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<servers>
		<server>
			<id>ossrh</id>
			<username>SONATYPE_USERNAME</username>
			<password>SONATYPE_PASSWORD</password>
		</server>
	</servers>
	<profiles>
		<profile>
			<id>gpg</id>
			<properties>
				<gpg.keyname>GPG_KEY_NAME</gpg.keyname>
				<gpg.passphrase>GPG_KEY_PASSWORD</gpg.passphrase>
			</properties>
		</profile>
	</profiles>
</settings>

Note you can generate an encrypted gpg.passphrase value with:

mvn --encrypt-password GPG_KEY_PASSWORD

Then to publish, including the gpg profile as shown above, you would run:

mvn -P equinox,release,gpg javadoc:jar source:jar deploy

gemini.blueprint's People

Contributors

aaronjwhiteside avatar aclemons avatar dsklyut avatar msqr avatar olaf-otto avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.