Difference between revisions of "Uno/Java/MavenBundles"

From Apache OpenOffice Wiki
< Uno‎ | Java
Jump to: navigation, search
(proposal for uploading java uno jars to maven repository)
 
(Maven Bundles for Java Uno JARs)
Line 1: Line 1:
 
= Maven Bundles for Java Uno JARs =
 
= Maven Bundles for Java Uno JARs =
  
[http://maven.apache.org Maven] is a popular Java build tool that provides many useful features for building Java projects, including dependency management.
+
[http://maven.apache.org Maven] 2 is a popular Java build tool that provides many useful features for building Java projects, including dependency management.
  
 
This document is a '''proposal''' to make the Java Uno JAR files available to the Maven Central Repository, so that projects that use Java Uno can fully benefit from Maven dependency management features.
 
This document is a '''proposal''' to make the Java Uno JAR files available to the Maven Central Repository, so that projects that use Java Uno can fully benefit from Maven dependency management features.
Line 24: Line 24:
 
| groupId || org.openoffice
 
| groupId || org.openoffice
 
|-
 
|-
| version || the OOo version that shipped this JAR, e.g.: 2.0.4
+
| version || the OOo version that shipped this JAR, e.g.: 2.1.0
 
|-
 
|-
 
| url || http://udk.openoffice.org
 
| url || http://udk.openoffice.org
Line 38: Line 38:
 
| colspan="2" | '''Artifact: juh'''
 
| colspan="2" | '''Artifact: juh'''
 
|-
 
|-
| artifactId || openoffice-juh
+
| artifactId || openoffice.org-juh
 
|-
 
|-
 
| name || OpenOffice.org "javaunohelper" module
 
| name || OpenOffice.org "javaunohelper" module
Line 44: Line 44:
 
| description || Various tools and adapters for Java Uno.
 
| description || Various tools and adapters for Java Uno.
 
|-
 
|-
| dependencies || openoffice-jurt, openoffice-ridl
+
| dependencies || openoffice.org-jurt, openoffice.org-ridl
 
|-
 
|-
 
| colspan="2" | '''Artifact: jurt'''
 
| colspan="2" | '''Artifact: jurt'''
 
|-
 
|-
| artifactId || openoffice-jurt
+
| artifactId || openoffice.org-jurt
 
|-
 
|-
 
| name || OpenOffice.org "jurt" module
 
| name || OpenOffice.org "jurt" module
Line 54: Line 54:
 
| description || JURT stands for "Java Uno Runtime". The JURT module basically implements Java Uno.
 
| description || JURT stands for "Java Uno Runtime". The JURT module basically implements Java Uno.
 
|-
 
|-
| dependencies || openoffice-ridl
+
| dependencies || openoffice.org-ridl
 
|-
 
|-
 
| colspan="2" | '''Artifact: ridl'''
 
| colspan="2" | '''Artifact: ridl'''
 
|-
 
|-
| artifactId || openoffice-ridl
+
| artifactId || openoffice.org-ridl
 
|-
 
|-
 
| name || OpenOffice.org "ridl" module
 
| name || OpenOffice.org "ridl" module
Line 68: Line 68:
 
| colspan="2" | '''Artifact: unoil'''
 
| colspan="2" | '''Artifact: unoil'''
 
|-
 
|-
| artifactId || openoffice-unoil
+
| artifactId || openoffice.org-unoil
 
|-
 
|-
 
| name || OpenOffice.org "unoil" module
 
| name || OpenOffice.org "unoil" module
Line 74: Line 74:
 
| description || Java class files generated from the IDL Files to create the Java UNO Interface.
 
| description || Java class files generated from the IDL Files to create the Java UNO Interface.
 
|-
 
|-
| dependencies || openoffice-ridl
+
| dependencies || openoffice.org-ridl
 
|}
 
|}
  
 
[[Category:Uno:Java]]
 
[[Category:Uno:Java]]

Revision as of 11:45, 21 January 2007

Maven Bundles for Java Uno JARs

Maven 2 is a popular Java build tool that provides many useful features for building Java projects, including dependency management.

This document is a proposal to make the Java Uno JAR files available to the Maven Central Repository, so that projects that use Java Uno can fully benefit from Maven dependency management features.

The JAR files, or artifacts, to be made available would be

  • juh.jar
  • jurt.jar
  • ridl.jar
  • unoil.jar

The upload procedure is detailed in Guide to uploading artifacts to The Central Repository. New bundles would be created and uploaded at each OpenOffice.org stable release.

Each artifact (JAR file) needs to be packaged into a bundle that also includes an XML file (pom.xml) containing information about the artifact, including name, description, version, license, and dependencies.

The proposed values to be provided in the XML description files are

Element Value
Common to all artifacts
groupId org.openoffice
version the OOo version that shipped this JAR, e.g.: 2.1.0
url http://udk.openoffice.org
license name GNU Lesser General Public License, Version 2.1
license url http://www.openoffice.org/licenses/lgpl_license.html
scm url http://udk.openoffice.org/source/browse/api/
scm connection scm:cvs:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs
Artifact: juh
artifactId openoffice.org-juh
name OpenOffice.org "javaunohelper" module
description Various tools and adapters for Java Uno.
dependencies openoffice.org-jurt, openoffice.org-ridl
Artifact: jurt
artifactId openoffice.org-jurt
name OpenOffice.org "jurt" module
description JURT stands for "Java Uno Runtime". The JURT module basically implements Java Uno.
dependencies openoffice.org-ridl
Artifact: ridl
artifactId openoffice.org-ridl
name OpenOffice.org "ridl" module
description The "ridljar" module implements the base types for the Java Uno typesystem, as well as a types access library.
dependencies -
Artifact: unoil
artifactId openoffice.org-unoil
name OpenOffice.org "unoil" module
description Java class files generated from the IDL Files to create the Java UNO Interface.
dependencies openoffice.org-ridl
Personal tools