Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jollyday Pojos using only regular plain old java objects for configuration #451

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
6 changes: 4 additions & 2 deletions jollyday-core/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
de.focus_shift.jollyday.jaxb,
de.focus_shift.jollyday.jackson,
de.focus_shift.jollyday.jackson.test,
de.focus_shift.jollyday.jaxb.test;
de.focus_shift.jollyday.jaxb.test,
de.focus_shift.jollyday.java.test;
exports de.focus_shift.jollyday.core.parser.impl to
de.focus_shift.jollyday.jackson.test,
de.focus_shift.jollyday.jaxb.test;
de.focus_shift.jollyday.jaxb.test,
de.focus_shift.jollyday.java.test;
}
6 changes: 4 additions & 2 deletions jollyday-jackson/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@

exports de.focus_shift.jollyday.jackson to
de.focus_shift.jollyday.core,
de.focus_shift.jollyday.jackson.test;
de.focus_shift.jollyday.jackson.test,
de.focus_shift.jollyday.pojo.test;
exports de.focus_shift.jollyday.jackson.mapping to
com.fasterxml.jackson.databind,
de.focus_shift.jollyday.jackson.test;
de.focus_shift.jollyday.jackson.test,
de.focus_shift.jollyday.pojo.test;
}
90 changes: 90 additions & 0 deletions jollyday-pojo-generator/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>de.focus-shift</groupId>
<artifactId>jollyday</artifactId>
<version>0.28.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>jollyday-pojo-generator</artifactId>

<name>Jollyday with Plain Old Java Objects Maven Plugin Generator</name>
<description>Maven Plugin that generates Plain Old Java Objects from xml holiday configuration</description>

<packaging>maven-plugin</packaging>

<prerequisites>
<maven>${maven.version}</maven>
</prerequisites>

<properties>
<maven.version>3.9.6</maven.version>
</properties>

<dependencies>

<dependency>
<groupId>de.focus-shift</groupId>
<artifactId>jollyday-core</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>de.focus-shift</groupId>
<artifactId>jollyday-jackson</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.11.0</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<goalPrefix>pojo-generator</goalPrefix>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
<executions>
<execution>
<id>mojo-descriptor</id>
<phase>package</phase>
<goals>
<goal>descriptor</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading
Loading