Ticket #875 (new Task)

Opened 9 years ago

Last modified 9 years ago

question: how to deploy 3rd party plugins to maven central, e.g. dm4-kiezatlas

Reported by: Malte Owned by: Malte
Priority: Major Milestone: Release 4.8
Component: 3rd Party Plugins Version: 4.7
Keywords: Cc: jri
Complexity: 3 Area:
Module:

Description

Can i build on the configuration code linked in #713 for deploying my dm4-plugin to maven central, too?

I would be very thankful for any pointers or help (for adapting my plugins pom-file).

Background:
I just wanted to build the dm4-kiezatlas-famportal plugin but it failed (i know, having not used "mvn clean install" before on the dm4-kieatlas-2.1.6 plugin). I am just thinking of providing stable releases of my dm4-plugins there too (as a kind of service for other develoeprs).

[INFO] ------------------------------------------------------------------------
[INFO] Building DeepaMehta 4 Kiezatlas - Familienportal 0.6
[INFO] ------------------------------------------------------------------------
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/kiezatlas/dm44-kiezatlas/2.1.6/dm44-kiezatlas-2.1.6.pom
Downloading: http://repo.maven.apache.org/maven2/de/kiezatlas/dm44-kiezatlas/2.1.6/dm44-kiezatlas-2.1.6.pom
[WARNING] The POM for de.kiezatlas:dm44-kiezatlas:jar:2.1.6 is missing, no dependency information available
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/kiezatlas/dm44-kiezatlas/2.1.6/dm44-kiezatlas-2.1.6.jar
Downloading: http://repo.maven.apache.org/maven2/de/kiezatlas/dm44-kiezatlas/2.1.6/dm44-kiezatlas-2.1.6.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.628s
[INFO] Finished at: Tue Nov 10 17:00:59 CET 2015
[INFO] Final Memory: 11M/213M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project dm44-kiezatlas-famportal: Could not resolve dependencies for project de.kiezatlas:dm44-kiezatlas-famportal:bundle:0.6: Could not find artifact de.kiezatlas:dm44-kiezatlas:jar:2.1.6 in snapshots-repo (https://oss.sonatype.org/content/repositories/snapshots) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Change History

comment:1 Changed 9 years ago by jri

Start here: http://central.sonatype.org/pages/ossrh-guide.html
You have to create a JIRA ticket to let the sonatype people create your project on Maven Central, based on Group ID.
I only can deploy to group de.deepamehta

comment:2 Changed 9 years ago by Malte

Your Group ID is involved in projects i (currently) maintain (but did not set up). This is the case for at least:

de.deepamehta.plugins.mail.*
de.deepamehta.plugins.csv.*
de.deepamehta.plugins.images.*
de.deepamehta.plugins.geospatial.*

and also one i started:

de.deepamehta.plugins.tags.*

Just so you know, if you were not yet aware of this.
How should i proceed with these or can you take care of publishing these?

comment:3 Changed 9 years ago by Malte

BTW: Thanks for the link, that is what i was searching for!

Note: See TracTickets for help on using tickets.