Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Maven: add configuration to release to MVN central #12

Merged
merged 2 commits into from
Apr 30, 2015

Conversation

rrees
Copy link
Contributor

@rrees rrees commented Apr 22, 2015

This copies other projects that are publishing to Maven and tries to create the same config in the feature switching library.

name in ThisBuild := "feature-switching"

version in ThisBuild := "0.13-SNAPSHOT"
version in ThisBuild := "1.0-SNAPSHOT"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move version out of this file and into a version.sbt file in the root.

This is where the release plugin will be looking for it.

@steppenwells
Copy link
Contributor

it looks like you're not setting publishArtifact to true in the sub projects, this might mean that the publishSigned step in the release steps has nothing to publish

tagRelease,
ReleaseStep(
action = state => Project.extract(state).runTask(PgpKeys.publishSigned, state)._1,
enableCrossBuild = true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is needed or what it'll do since you don't have cross build versions configured.

rrees added a commit that referenced this pull request Apr 30, 2015
Maven: add configuration to release to MVN central
@rrees rrees merged commit 8ee5a7d into master Apr 30, 2015
@rrees rrees deleted the rr-maven-publishing branch April 30, 2015 16:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants