Skip to content

Commit cf0453d

Browse files
Rename models module to meet project conventions
All module's name start from versions, so rename to be the same
1 parent 112e9ee commit cf0453d

File tree

14 files changed

+21
-21
lines changed

14 files changed

+21
-21
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@
9696
</contributors>
9797

9898
<modules>
99-
<module>model-report</module>
100-
<module>model-ruleset</module>
10199
<module>versions-api</module>
102100
<module>versions-common</module>
103101
<module>versions-enforcer</module>
104-
<module>versions-test</module>
105102
<module>versions-maven-plugin</module>
103+
<module>versions-model-report</module>
104+
<module>versions-model</module>
105+
<module>versions-test</module>
106106
</modules>
107107

108108
<scm>

versions-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</dependency>
2323
<dependency>
2424
<groupId>org.codehaus.mojo.versions</groupId>
25-
<artifactId>model-ruleset</artifactId>
25+
<artifactId>versions-model</artifactId>
2626
<version>${project.version}</version>
2727
</dependency>
2828

versions-maven-plugin/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
<dependencies>
1818
<dependency>
1919
<groupId>org.codehaus.mojo.versions</groupId>
20-
<artifactId>model-ruleset</artifactId>
20+
<artifactId>versions-model</artifactId>
2121
<version>${project.version}</version>
2222
</dependency>
2323

2424
<dependency>
2525
<groupId>org.codehaus.mojo.versions</groupId>
26-
<artifactId>model-report</artifactId>
26+
<artifactId>versions-model-report</artifactId>
2727
<version>${project.version}</version>
2828
</dependency>
2929

versions-maven-plugin/src/site/markdown/version-rules.md.vm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ it otherwise.
5858
Rules.xml
5959
---------
6060

61-
To specify the version schemes to use, you may define a [rule-set xml file](../model-ruleset/rule.html), use the `ruleSet`
61+
To specify the version schemes to use, you may define a [rule-set xml file](../versions-model/rule.html), use the `ruleSet`
6262
element in the `versions-maven-plugin` plugin configuration, or specify ignored versions via
6363
the `maven.version.ignore` property.
6464

@@ -69,7 +69,7 @@ The `rules.xml` file should conform to the xsd specified in the example below.
6969
```xml
7070
<ruleset comparisonMethod="maven"
7171
xmlns="https://www.mojohaus.org/VERSIONS/RULE/2.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
72-
xsi:schemaLocation="https://www.mojohaus.org/VERSIONS/RULE/2.1.0 https://www.mojohaus.org/versions/model-ruleset/xsd/rule-2.1.0.xsd">
72+
xsi:schemaLocation="https://www.mojohaus.org/VERSIONS/RULE/2.1.0 https://www.mojohaus.org/versions/versiosn-model/xsd/rule-2.1.0.xsd">
7373
<rules>
7474
<rule groupId="*.maven" comparisonMethod="mercury"/>
7575
<rule groupId="com.mycompany" comparisonMethod="numeric"/>
@@ -79,7 +79,7 @@ The `rules.xml` file should conform to the xsd specified in the example below.
7979
</ruleset>
8080
```
8181

82-
The rule-set files must match the [XSD schema](./xsd/index.html).
82+
The rule-set files must match the [XSD schema](../versions-model/xsd/index.html).
8383

8484
You can then use the `rulesUri` parameter to specify the rule-set to be used by the
8585
`versions-maven-plugin`.

versions-maven-plugin/src/site/site.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
</menu>
3030

3131
<menu name="Reference">
32-
<item name="Version number comparison rule-sets" href="../model-ruleset/rule.html"/>
33-
<item name="XML schemas" href="../model-ruleset/xsd/index.html"/>
32+
<item name="Version number comparison rule-sets" href="../versions-model/rule.html"/>
33+
<item name="XML schemas" href="../versions-model/xsd/index.html"/>
3434
</menu>
3535

3636
<menu ref="parent"/>

model-report/pom.xml renamed to versions-model-report/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

12-
<artifactId>model-report</artifactId>
12+
<artifactId>versions-model-report</artifactId>
1313

14-
<name>Versions reports model</name>
15-
<description>Modello model for reports</description>
14+
<name>Versions Model Report</name>
15+
<description>Modello models used in reports</description>
1616

1717
<dependencies>
1818
<dependency>

model-report/src/main/mdo/property-updates-report.mdo renamed to versions-model-report/src/main/mdo/property-updates-report.mdo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ under the License.
2222
<model xmlns="http://codehaus-plexus.github.io/MODELLO/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2323
xsi:schemaLocation="http://codehaus-plexus.github.io/MODELLO/2.0.0 https://codehaus-plexus.github.io/modello/xsd/modello-2.0.0.xsd"
2424
xml.namespace="https://www.mojohaus.org/VERSIONS/PROPERTY-UPDATES-REPORT/${version}"
25-
xml.schemaLocation="https://www.mojohaus.org/versions/model-report/xsd/property-updates-report-${version}.xsd">
25+
xml.schemaLocation="https://www.mojohaus.org/versions/versions-model-report/xsd/property-updates-report-${version}.xsd">
2626
<id>property-updates-report</id>
2727
<name>PropertyUpdatesReport</name>
2828
<description>

model-ruleset/pom.xml renamed to versions-model/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

12-
<artifactId>model-ruleset</artifactId>
12+
<artifactId>versions-model</artifactId>
1313

14-
<name>Versions ruleSet model</name>
15-
<description>Modello model for ruleSet</description>
14+
<name>Versions Model</name>
15+
<description>Modello models used in plugin</description>
1616

1717
<dependencies>
1818
<dependency>

model-ruleset/src/main/mdo/rule.mdo renamed to versions-model/src/main/mdo/rule.mdo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ under the License.
2222
<model xmlns="http://codehaus-plexus.github.io/MODELLO/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2323
xsi:schemaLocation="http://codehaus-plexus.github.io/MODELLO/2.0.0 https://codehaus-plexus.github.io/modello/xsd/modello-2.0.0.xsd"
2424
xml.namespace="https://www.mojohaus.org/VERSIONS/RULE/${version}"
25-
xml.schemaLocation="https://www.mojohaus.org/versions/model-ruleset/xsd/rule-${version}.xsd">
25+
xml.schemaLocation="https://www.mojohaus.org/versions/versions-model/xsd/rule-${version}.xsd">
2626
<id>rule</id>
2727
<name>Rule</name>
2828
<description>
File renamed without changes.

versions-test/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
<project xmlns="http://maven.apache.org/POM/4.0.0"
2222
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2323
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24+
<modelVersion>4.0.0</modelVersion>
2425
<parent>
2526
<artifactId>versions</artifactId>
2627
<groupId>org.codehaus.mojo.versions</groupId>
2728
<version>2.14.0-SNAPSHOT</version>
2829
</parent>
29-
<modelVersion>4.0.0</modelVersion>
3030

3131
<artifactId>versions-test</artifactId>
3232

3333
<name>Versions Test</name>
34-
<description>Test utilities</description>
34+
<description>Internal test utilities used in project</description>
3535

3636
<dependencies>
3737
<dependency>

0 commit comments

Comments
 (0)