public class Maven2GemVersionConverter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DUMMY_PREFIX |
static String |
DUMMY_VERSION |
static Pattern |
gemVersionPattern
This is the pattern we match against.
|
Constructor and Description |
---|
Maven2GemVersionConverter() |
Modifier and Type | Method and Description |
---|---|
String |
createGemVersion(String mavenVersion)
Creates valid GEM version out of Maven2 version.
|
public static final String DUMMY_VERSION
public static final String DUMMY_PREFIX
public static final Pattern gemVersionPattern
http://github.com/jbarnette/rubygems/blob/REL_1_3_5/lib/rubygems/version.rb
and ://github.com/jbarnette/rubygems/blob/REL_1_3_6/lib/rubygems/version.rb
public String createGemVersion(String mavenVersion) throws NullPointerException
mavenVersion
- NullPointerException
Copyright © 2017. All rights reserved.