On 21/06/13 15:45, John Meyer wrote:
> For better or worse, Maven doesn't allow the primary artifact to be a zip
> file.
What does this mean in practice? Do we have to push a jar?
For many modules there will be no .jar
>>>
http://repo2.maven.org/maven2/**io/vertx/mod-web-server/2.0.0-**CR1/<
http://repo2.maven.org/maven2/io/vertx/mod-web-server/2.0.0-CR1/>
>>>
>>>
>>> mod-web-server-2.0.0-CR1-**javadoc.jar 14-Jun-2013 15:19
>>> 42166
>>> mod-web-server-2.0.0-CR1-**javadoc.jar.asc 14-Jun-2013 15:19
>>> 475
>>> mod-web-server-2.0.0-CR1-**javadoc.jar.asc.md5 14-Jun-2013 15:19
>>> 32
>>> mod-web-server-2.0.0-CR1-**javadoc.jar.asc.sha1 14-Jun-2013 15:19
>>> 40
>>> mod-web-server-2.0.0-CR1-**javadoc.jar.md5 14-Jun-2013 15:19
>>> 32
>>> mod-web-server-2.0.0-CR1-**javadoc.jar.sha1 14-Jun-2013 15:19
>>> 40
>>> mod-web-server-2.0.0-CR1-**sources.jar 14-Jun-2013 15:19
>>> 5881
>>> mod-web-server-2.0.0-CR1-**sources.jar.asc 14-Jun-2013 15:19
>>> 475
>>> mod-web-server-2.0.0-CR1-**sources.jar.asc.md5 14-Jun-2013 15:19
>>> 32
>>> mod-web-server-2.0.0-CR1-**sources.jar.asc.sha1 14-Jun-2013 15:19
>>> 40
>>> mod-web-server-2.0.0-CR1-**sources.jar.md5 14-Jun-2013 15:19
>>> 32
>>> mod-web-server-2.0.0-CR1-**sources.jar.sha1 14-Jun-2013 15:19
>>> 40
>>> mod-web-server-2.0.0-CR1.jar 14-Jun-2013 15:19
>>> 8813
>>> mod-web-server-2.0.0-CR1.jar.**asc 14-Jun-2013 15:19
>>> 475
>>> mod-web-server-2.0.0-CR1.jar.**asc.md5 14-Jun-2013 15:19
>>> 32
>>> mod-web-server-2.0.0-CR1.jar.**asc.sha1 14-Jun-2013 15:19
>>> 40
>>> mod-web-server-2.0.0-CR1.jar.**md5 14-Jun-2013 15:19
>>> 32
>>> mod-web-server-2.0.0-CR1.jar.**sha1 14-Jun-2013 15:19
>>> 40
>>> mod-web-server-2.0.0-CR1.pom 14-Jun-2013 15:19
>>> 1465
>>> mod-web-server-2.0.0-CR1.pom.**asc 14-Jun-2013 15:19
>>> 475
>>> mod-web-server-2.0.0-CR1.pom.**asc.md5 14-Jun-2013 15:19
>>> 32
>>> mod-web-server-2.0.0-CR1.pom.**asc.sha1 14-Jun-2013 15:19
>>> 40
>>> mod-web-server-2.0.0-CR1.pom.**md5 14-Jun-2013 15:19
>>> 32
>>> mod-web-server-2.0.0-CR1.pom.**sha1 14-Jun-2013 15:19
>>> 40
>>> mod-web-server-2.0.0-CR1-mod.**zip 14-Jun-2013 15:19
>>> 8574
>>> mod-web-server-2.0.0-CR1-mod.**zip.asc 14-Jun-2013 15:19
>>> 475
>>> mod-web-server-2.0.0-CR1-mod.**zip.asc.md5 14-Jun-2013 15:19
>>> 32
>>> mod-web-server-2.0.0-CR1-mod.**zip.asc.sha1 14-Jun-2013 15:19
>>> 40
>>> mod-web-server-2.0.0-CR1-mod.**zip.md5 14-Jun-2013 15:19
>>> 32
>>> mod-web-server-2.0.0-CR1-mod.**zip.sha1 14-Jun-2013 15:19
>>> 40
>>>
>>>
>>> A maven classifier is an optional 5th element of an artifact name. The
>>> maven view of things is that the project's output is still a jar, and if
>>> we
>>> want attach a secondary artifact of zip, we can do that using the
>>> classifier mechanism. Having a zip file with the same "name" as the jar
>>> interferes with server indexing and possibly building more complex
>>> projects.
>>>
>> For Vert.x modules, the main artifact is a .zip, and there might
>> (optionally) be a .jar there too, but not always.
>>
>>
>>
>>> Furthermore, the CR1 archtype fails on recent versions of maven because it
>>> "exploits" a maven assembly bug which allows an empty or missing
>>> assemblyId.
>>>
>> What is an "assemblyId"?
>>
>>> Setting the assemblyId in /src/main/assembly/mod.xml to mod
>>> would fix this.
>>>
http://jira.codehaus.org/**browse/MASSEMBLY-464<
http://jira.codehaus.org/browse/MASSEMBLY-464>
>>>
http://jira.codehaus.org/**browse/MASSEMBLY-517<
http://jira.codehaus.org/browse/MASSEMBLY-517>
>>>> For more options, visit
https://groups.google.com/**groups/opt_out<
https://groups.google.com/groups/opt_out>
>>>> .
>>>>
>>>>
>>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "vert.x" group.
>> To unsubscribe from this topic, visit
https://groups.google.com/d/**
>> topic/vertx/a4Jafa3TyEQ/**unsubscribe<
https://groups.google.com/d/topic/vertx/a4Jafa3TyEQ/unsubscribe>
>> .
>> To unsubscribe from this group and all of its topics, send an email to
>> vertx+unsubscribe@**
googlegroups.com<
vertx%2Bunsu...@googlegroups.com>
>> .
>> For more options, visit
https://groups.google.com/**groups/opt_out<
https://groups.google.com/groups/opt_out>
>> .
>>
>>
>>