Modify

Opened 6 years ago

Closed 6 years ago

#15886 closed enhancement (fixed)

javadoc and sources for plugins

Reported by: stoecker Owned by: Don-vip
Priority: normal Milestone:
Component: Plugin Version:
Keywords: javadoc artifact nexus maven gradle Cc:

Description

You added a new javadoc target and eventbus plugin. The sources and javadoc jar file may be generated, although I don't know why this should be generated as jar, but they should never go into dist directory, as these are no valid plugins!

Attachments (0)

Change History (4)

comment:1 by Don-vip, 6 years ago

*-sources.jar and *-javadoc.jar is the standard packaging format for Maven/Gradle artifacts. This commit aims to ease development for plugin authors using these build tools, in order to publish them to our nexus instance. In the long term, we could even publish directly to Maven Central.

I can exclude these special jars from being processed by our cron job, like what is already done when a plugin includes a library:

        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
            <restrict>
                <archives>
                    <zips>
                        <fileset dir="${plugin.lib.dir}" includes="*.jar" excludes="*-sources.jar, *-javadoc.jar" erroronmissingdir="no"/>
                    </zips>
                </archives>
            </restrict>
        </jar>

comment:2 by stoecker, 6 years ago

Already committing the binaries to svn is not really the best solution. Adding more to that is not a good idea. It's not a problem to create them, but they should not added to SVN.

comment:3 by Don-vip, 6 years ago

Type: defectenhancement

OK I'll see how to find a better way.

comment:4 by Don-vip, 6 years ago

Keywords: javadoc artifact nexus maven gradle added
Resolution: fixed
Status: assignedclosed

Fixed. Jenkins now directly generates the source/javadoc artifacts and pushes them to Nexus.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.