graphstream / gs-core

Graphstream core
http://graphstream-project.org/
Other
400 stars 108 forks source link

Deploy Maven source and javadoc artefacts to jitpack #336

Closed victornoel closed 4 years ago

victornoel commented 4 years ago

Currently the maven artefacts available from jitpack are only the binary jars, but during development using gs library, it is very useful to be able to also see the javadoc and browse the source code.

Hence it would make sense to deploy the Maven artefacts for sources and javadocs along with the jar.

See https://maven.apache.org/plugin-developers/cookbook/attach-source-javadoc-artifacts.html for example.

pigne commented 4 years ago

I tried something in this commit : 3416c141

Try it with the following dependency

    <dependency>
        <groupId>com.github.graphstream</groupId>
        <artifactId>gs-core</artifactId>
        <version>dev-SNAPSHOT</version>
    </dependency>
victornoel commented 4 years ago

@pigne nice, it seems to work as expected, could we also:

pigne commented 4 years ago

Sources and JavaDoc added to the build of each gs-* module:

victornoel commented 4 years ago

@pigne really cool, thx :)