Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.dspace</groupId>
    <artifactId>modules</artifactId>
    <version>1.8.0<version>11-SNAPSHOT</version>
    <packaging>pom</packaging>

    <name>DSpace Addon Modules</name>
    <url>http://www.dspace.org</url>
    <description>DSpace Addon Modules</description>

    <parent>
        <artifactId>dspace-pom</artifactId>
        <groupId>org.dspace</groupId>
        <version>8</version>
    </parent>

    <modules>
        <module>cli</module>
        <module>xmlui</module>
        <module>lni</module>
        <module>oai</module>
        <module>jspui</module>
        <module>sword</module>
        <module>solr</module>
    </modules>

    <dependencyManagement>
        <dependencies>
            <!-- DSpace core and endorsed Addons -->
            <dependency>
                <groupId>org.dspace</groupId>
                <artifactId>dspace-api</artifactId>
                <version>1<version>2.8.01-SNAPSHOT</version>
            </dependency>

Possible Changes to DSpace Module versioning scheme

N.N 7 7

Module

Scheme

Previous Version

New Version

dspace

1.7.0

1.

8.0

1.9.0

 

dspace

N

10

11

12

once a year

dspace/modules

N .N

1.7.0

10

11 

12

once a year 7.0 

dspace/modules/...

N .N

1.7.0

10

11

12

once a year 7.0

dspace-api

M. M.M

1.7.0 7

2.0

3.0

Increments as needed

dspace-jspui

M. M.M

1.7.0 7

2.0.0

2.1

Increments as needed

dspace-jspui-api

M. M.M

1.7.0 7

2.0

2.0

Increments as needed

dspace-xxx-yyy

M. M.M

1.7.0 7

2.0.0 M

M.M

Increments as needed

 

 

 

 

 

 

M.M: First Bit is Major release number, Second is minor, Major releases are reserved for API, Configuration and DB changes, minor releases are for bug fixes and other backward compatible release changes.

Next Steps

  • Push a patch for the prototype into the JIRA for DSpace and get feedback from the committers group on the refactorings.

...

  1. Assembly and Dependency Management cannot currently occur in the same Maven module, we currently dealt with this by having dspace-parent do dependencyManagement and the dspace assembly project do the assembly.  Approach needs to be retained in moving dependencyManagerment into the dspace/modules/pom.xml and continuing to reserve assembly as part of dspace/pom.xml. This can be solved by using dependencyManagement "imports" rather than inheritance to define the dependency versions critical to the project.