Skip to content

Commit

Permalink
Replace dashes in artefact names with dots and restore automatic modu…
Browse files Browse the repository at this point in the history
…le naming
  • Loading branch information
jorabin committed Sep 24, 2024
1 parent d079e5d commit 9a318e3
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 14 deletions.
6 changes: 3 additions & 3 deletions all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>KeePassJava2-parent</artifactId>
<artifactId>KeePassJava2.parent</artifactId>
<groupId>org.linguafranca.pwdb</groupId>
<version>3.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -32,12 +32,12 @@
<dependencies>
<dependency>
<groupId>org.linguafranca.pwdb</groupId>
<artifactId>KeePassJava2-kdb</artifactId>
<artifactId>KeePassJava2.kdb</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.linguafranca.pwdb</groupId>
<artifactId>KeePassJava2-kdbx-database</artifactId>
<artifactId>KeePassJava2.kdbx.database</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion database/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>KeePassJava2-parent</artifactId>
<artifactId>KeePassJava2.parent</artifactId>
<groupId>org.linguafranca.pwdb</groupId>
<version>3.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand Down
2 changes: 1 addition & 1 deletion example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>KeePassJava2-parent</artifactId>
<artifactId>KeePassJava2.parent</artifactId>
<groupId>org.linguafranca.pwdb</groupId>
<version>3.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand Down
4 changes: 2 additions & 2 deletions kdb/pom.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>KeePassJava2-parent</artifactId>
<artifactId>KeePassJava2.parent</artifactId>
<groupId>org.linguafranca.pwdb</groupId>
<version>3.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>KeePassJava2-kdb</artifactId>
<artifactId>KeePassJava2.kdb</artifactId>
<name>KeePassJava2 :: KDB</name>
<description>Contains an implementaion that can load KDB files.</description>

Expand Down
6 changes: 3 additions & 3 deletions kdbx-database/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
-->
<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>KeePassJava2-parent</artifactId>
<artifactId>KeePassJava2.parent</artifactId>
<groupId>org.linguafranca.pwdb</groupId>
<version>3.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>KeePassJava2-kdbx-database</artifactId>
<artifactId>KeePassJava2.kdbx.database</artifactId>
<name>KeePassJava2 :: Jackson</name>
<description>Contains a Jackson XML implementation for KDBX.</description>

<dependencies>
<dependency>
<groupId>org.linguafranca.pwdb</groupId>
<artifactId>KeePassJava2-kdbx-io</artifactId>
<artifactId>KeePassJava2.kdbx.io</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions kdbx-io/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@

<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>KeePassJava2-parent</artifactId>
<artifactId>KeePassJava2.parent</artifactId>
<groupId>org.linguafranca.pwdb</groupId>
<version>3.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>KeePassJava2-kdbx-io</artifactId>
<artifactId>KeePassJava2.kdbx.io</artifactId>
<name>KeePassJava2 :: KDBX</name>
<description>Base classes and resources for other KDBX modules.
KDBX Stream Support.
Expand Down
14 changes: 13 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>org.linguafranca.pwdb</groupId>
<artifactId>KeePassJava2-parent</artifactId>
<artifactId>KeePassJava2.parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
<modules>
<module>database</module>
Expand Down Expand Up @@ -106,6 +106,18 @@
</properties>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>${project.groupId}.${project.artifactId}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>

Expand Down
2 changes: 1 addition & 1 deletion test/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>KeePassJava2-parent</artifactId>
<artifactId>KeePassJava2.parent</artifactId>
<groupId>org.linguafranca.pwdb</groupId>
<version>3.0.0-SNAPSHOT</version>
</parent>
Expand Down

0 comments on commit 9a318e3

Please sign in to comment.