Skip to content

Commit 179db03

Browse files
committed
Rename Modules
Commit adb38fc was said to rename modules and directories. However, I only renamed the directories, not the modules themselves. So this commit does that. Note that I've left the name of "all" and "parent" as-is. Because their packaging is POM, and no JARs are created, they will always be identified by their coordinates and therefore always fully qualified. On the other hand, the other modules created JARs. While references inside a POM (via coordinates) would be fully qualified the actual name of the JAR would not. For example, a JAR named "core-1.0.0.jar" is ambiguous. So, I make sure each one of those modules has a "jsonurl-" prefix.
1 parent 97611a2 commit 179db03

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

module/jsonurl-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<version>1</version>
2828
</parent>
2929

30-
<artifactId>core</artifactId>
30+
<artifactId>jsonurl-core</artifactId>
3131
<version>1.0.0-SNAPSHOT</version>
3232
<packaging>jar</packaging>
3333

module/jsonurl-jsonorg/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<version>1</version>
2727
</parent>
2828

29-
<artifactId>jsonorg</artifactId>
29+
<artifactId>jsonurl-jsonorg</artifactId>
3030
<version>1.0.0-SNAPSHOT</version>
3131
<packaging>jar</packaging>
3232

@@ -45,12 +45,12 @@
4545
<dependencies>
4646
<dependency>
4747
<groupId>org.jsonurl</groupId>
48-
<artifactId>core</artifactId>
48+
<artifactId>jsonurl-core</artifactId>
4949
<version>${project.version}</version>
5050
</dependency>
5151
<dependency>
5252
<groupId>org.jsonurl</groupId>
53-
<artifactId>core</artifactId>
53+
<artifactId>jsonurl-core</artifactId>
5454
<version>${project.version}</version>
5555
<type>test-jar</type>
5656
<scope>test</scope>

module/jsonurl-jsr374/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<version>1</version>
2727
</parent>
2828

29-
<artifactId>jsr374</artifactId>
29+
<artifactId>jsonurl-jsr374</artifactId>
3030
<version>1.0.0-SNAPSHOT</version>
3131
<packaging>jar</packaging>
3232

@@ -44,12 +44,12 @@
4444
<dependencies>
4545
<dependency>
4646
<groupId>org.jsonurl</groupId>
47-
<artifactId>core</artifactId>
47+
<artifactId>jsonurl-core</artifactId>
4848
<version>${project.version}</version>
4949
</dependency>
5050
<dependency>
5151
<groupId>org.jsonurl</groupId>
52-
<artifactId>core</artifactId>
52+
<artifactId>jsonurl-core</artifactId>
5353
<version>${project.version}</version>
5454
<type>test-jar</type>
5555
<scope>test</scope>

pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141

4242
<modules>
4343
<module>module</module>
44-
<module>module/core</module>
45-
<module>module/jsonorg</module>
46-
<module>module/jsr374</module>
44+
<module>module/jsonurl-core</module>
45+
<module>module/jsonurl-jsonorg</module>
46+
<module>module/jsonurl-jsr374</module>
4747
</modules>
4848
</project>

0 commit comments

Comments
 (0)