Skip to content
Snippets Groups Projects
Commit ebd81cd0 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(maven): use maven versioning, not semver

parent a9332a8d
No related branches found
No related tags found
No related merge requests found
......@@ -1388,6 +1388,7 @@ const options = [
default: {
enabled: false,
fileMatch: ['\\.pom.xml$', '(^|/)pom.xml$'],
versionScheme: 'maven',
},
mergeable: true,
cli: false,
......
......@@ -88,6 +88,7 @@ describe('versioning/maven/index', () => {
expect(isVersion('1-final')).toEqual(true);
expect(isVersion('v1.0.0')).toEqual(true);
expect(isVersion('x1.0.0')).toEqual(false);
expect(isVersion('2.1.1.RELEASE')).toEqual(true);
});
it('checks if version is stable', () => {
expect(isStable('')).toEqual(null);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment