Skip to content

Commit ef809d9

Browse files
committed
fixed bad mod name
1 parent 007df3e commit ef809d9

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

gradle/vertx.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ apply plugin: 'eclipse'
2929
loadProperties("vertx.properties")
3030

3131
version = project.ext.version
32-
group = groupname
33-
archivesBaseName = artifact
32+
group = modowner
33+
archivesBaseName = modname
3434

3535
defaultTasks = ['assemble']
3636

3737
sourceCompatibility = '1.7'
3838
targetCompatibility = '1.7'
3939

40-
project.ext.moduleName = "maven:$groupname:$artifact:$version"
40+
project.ext.moduleName = "$modowner#$modname#$version"
4141

4242
if (produceJar == 'false') {
4343
jar.enabled = false
@@ -96,7 +96,7 @@ task modZip( type: Zip, dependsOn: 'pullInDeps', description: 'Package the modul
9696
group = 'vert.x'
9797
description = "Assembles a vert.x module"
9898
destinationDir = project.file('build/libs')
99-
archiveName = "${artifact}-${version}" + ".zip"
99+
archiveName = "${modname}-${version}" + ".zip"
100100
from copyMod
101101
}
102102

vertx.properties

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
# The module repo tyoe
2-
repotype=maven
3-
41
# Your domain name
5-
groupname=io.vertx
2+
modowner=io.vertx
63

74
# Your module name
8-
artifact=mod-mongo-persistor
5+
modname=mod-mongo-persistor
96

107
# Your module version
118
version=2.0.0-SNAPSHOT

0 commit comments

Comments
 (0)