Wikidata:Property proposal/Maven groupID and Maven artifactID

From Wikidata
Jump to navigation Jump to search

Maven Central Repository groupID and artifactID[edit]

Maven Central Repository groupID[edit]

Originally proposed at Wikidata:Property proposal/Computing

   Not done
Descriptionpart of project ID in Maven Central Repository used in Maven, Gradle, sbt, ivy
Data typeExternal identifier
DomainJava library
Example 1Log4j (Q286923) → org.apache.logging.log4j
Example 2ObjectWeb ASM (Q2819430) → org.ow2.asm
Example 3Chemistry Development Kit (Q2383032) → org.openscience.cdk
Formatter URLhttps://central.sonatype.dev/namespace/$1

Maven Central Repository artifactID[edit]

Originally proposed at Wikidata:Property proposal/Computing

   Not done
Descriptionpart of project ID in Maven Central Repository used in Maven, Gradle, sbt, ivy
Data typeString
DomainJava library
Example 1Log4j (Q286923) → log4j
Example 2ObjectWeb ASM (Q2819430) → asm
Example 3Chemistry Development Kit (Q2383032) → cdk-bundle
Formatter URLNo – WRONG FORMAT, MISSING "$1"

Note artifactID by itself have no meaning. I am not sure whether this is the best method to model such information. Should one of which be used as a qualifier?GZWDer (talk) 10:32, 3 December 2022 (UTC)[reply]

Discussion[edit]

The formatter URLs would be https://search.maven.org/artifact/$1 and https://mvnrepository.com/artifact/$1, although I think the former should have the preferred rank since it's the official website.
Sidenote the new official website unfortunately doesn't support artifacts to be linked this way since it requires the version in the URL, e.g https://central.sonatype.dev/artifact/org.openscience.cdk/cdk-bundle/2.8 but https://central.sonatype.dev/artifact/org.openscience.cdk/cdk-bundle yields a 404 ... but I am sure that they will fix that when asked about it.
--Push-f (talk) 08:09, 6 December 2022 (UTC)[reply]