Skip to content

Commit

Permalink
Merge pull request #103 from treblereel/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
treblereel authored Jul 8, 2024
2 parents f1be407 + 20d13fc commit e5aead0
Show file tree
Hide file tree
Showing 23 changed files with 54 additions and 46 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Crysknife requires the following software in order to run:
* Java 11 or later
* Maven 3.6.3 or later
* Basic knowledge of J2Cl and Maven
* j2cl-maven-plugin 0.22 or later


## 1.3. Getting Started with Crysknife
Expand Down Expand Up @@ -104,7 +105,7 @@ To read more about Jakarta CDI, please visit official documentation (https://jak

* pre-requisites: working maven j2cl application. If you don't have one, please follow the instructions in the J2CL Maven Plugin documentation (https://github.com/Vertispan/j2clmavenplugin).

tip : clone application from https://github.com/treblereel/j2cl-tests or genetare it from j2cl-maven-plugin archetype.
tip : clone application from https://github.com/treblereel/j2cl-tests, use demo or generate it from j2cl-maven-plugin archetype.

* add crysknife dependencies to your pom.xml

Expand Down
2 changes: 1 addition & 1 deletion annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.crysknife</groupId>
<artifactId>crysknife-parent</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
</parent>

<artifactId>crysknife-annotations</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.crysknife</groupId>
<artifactId>bom</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
<packaging>pom</packaging>


Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.crysknife</groupId>
<artifactId>crysknife-parent</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
</parent>

<artifactId>crysknife-core</artifactId>
Expand Down
15 changes: 5 additions & 10 deletions demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>io.crysknife.demo</groupId>
<artifactId>demo</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
<packaging>jar</packaging>

<properties>
Expand All @@ -14,15 +14,10 @@

<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.jetty.plugin.version>9.4.31.v20200723</maven.jetty.plugin.version>
<maven.tomcat.plugin.version>2.2</maven.tomcat.plugin.version>
<maven.properties.plugin>1.0.0</maven.properties.plugin>

<webappdir>${project.build.directory}/webapp</webappdir>
<webapp.libdir>${webappdir}/WEB-INF/lib</webapp.libdir>
<elemental2.version>1.1.0</elemental2.version>
<j2cl.maven.plugin.version>0.21-SNAPSHOT</j2cl.maven.plugin.version>
<org.treblereel.j2cl.processors.version>0.6.1</org.treblereel.j2cl.processors.version>
<elemental2.version>1.2.1</elemental2.version>
<j2cl.maven.plugin.version>0.23.1</j2cl.maven.plugin.version>
<org.treblereel.j2cl.processors.version>0.7</org.treblereel.j2cl.processors.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -88,7 +83,7 @@
</resources>
<plugins>
<plugin>
<groupId>com.vertispan.j2cl</groupId>
<groupId>org.kie.j2cl.tools</groupId>
<artifactId>j2cl-maven-plugin</artifactId>
<version>${j2cl.maven.plugin.version}</version>
<executions>
Expand Down
12 changes: 6 additions & 6 deletions internal-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.crysknife</groupId>
<artifactId>internal-bom</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
<packaging>pom</packaging>


Expand Down Expand Up @@ -46,8 +46,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>

<maven.compiler.plugin.version>3.8.0</maven.compiler.plugin.version>
<maven.source.plugin.version>3.0.1</maven.source.plugin.version>
Expand All @@ -74,11 +74,11 @@
<google.jsinterop.annotations.version>2.0.0</google.jsinterop.annotations.version>
<google.guava.version>28.1-jre</google.guava.version>
<classgraph.classgraph.version>4.8.156</classgraph.classgraph.version>
<org.treblereel.j2cl.processors.version>0.6.1</org.treblereel.j2cl.processors.version>
<gwt.jakarta.version>0.2</gwt.jakarta.version>
<org.treblereel.j2cl.processors.version>0.7</org.treblereel.j2cl.processors.version>
<gwt.jakarta.version>0.4</gwt.jakarta.version>

<javaparser.core.version>3.25.5</javaparser.core.version>
<elemental2.version>1.1.0</elemental2.version>
<elemental2.version>1.2.1</elemental2.version>
<auto.common.version>1.2.1</auto.common.version>
<auto.service.version>1.0-rc7</auto.service.version>
<mockito.core.version>4.6.1</mockito.core.version>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>io.crysknife</groupId>
<artifactId>crysknife-parent</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
<packaging>pom</packaging>

<name>crysknife parent</name>
Expand Down Expand Up @@ -285,7 +285,7 @@
<version>3.0</version>
</requireMavenVersion>
<requireJavaVersion>
<version>(1.8.0,)</version>
<version>(11.0,)</version>
</requireJavaVersion>
</rules>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.crysknife</groupId>
<artifactId>crysknife-parent</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
</parent>

<artifactId>crysknife-processor</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
import io.crysknife.task.TaskGroup;

@AutoService(Processor.class)
@SupportedSourceVersion(SourceVersion.RELEASE_8)
@SupportedSourceVersion(SourceVersion.RELEASE_11)
public class AfterBurnFactoryProcessor extends AbstractProcessor {

private static final TreeLogger logger = new PrintWriterTreeLogger();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@


@AutoService(Processor.class)
@SupportedSourceVersion(SourceVersion.RELEASE_8)
@SupportedSourceVersion(SourceVersion.RELEASE_11)
public class ApplicationProcessor extends AbstractProcessor {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@


@AutoService(Processor.class)
@SupportedSourceVersion(SourceVersion.RELEASE_8)
@SupportedSourceVersion(SourceVersion.RELEASE_11)
public class BeanManagerGeneratorProcessor extends AbstractProcessor {

private IOCContext iocContext;
Expand Down
2 changes: 1 addition & 1 deletion tests/j2cl-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.crysknife.tests</groupId>
<artifactId>j2cl-tests</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
<description>J2CL tests</description>

<properties>
Expand Down
6 changes: 3 additions & 3 deletions tests/jre-tests/cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.crysknife.tests</groupId>
<artifactId>jre-cdi-tests</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
<packaging>jar</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>

<aspectj.version>1.9.19</aspectj.version>
<aspectj.maven.plugin.version>1.14.0</aspectj.maven.plugin.version>
Expand Down
2 changes: 1 addition & 1 deletion tests/jre-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>jre-parent</artifactId>
<groupId>io.crysknife.tests</groupId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
<packaging>pom</packaging>
<name>Crysknife :: Tests :: JRE</name>

Expand Down
6 changes: 3 additions & 3 deletions tests/jre-tests/reduces-classpath/app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.crysknife.tests</groupId>
<artifactId>reduces-classpath-app</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
<packaging>jar</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>

<aspectj.version>1.9.19</aspectj.version>
<aspectj.maven.plugin.version>1.14.0</aspectj.maven.plugin.version>
Expand Down
15 changes: 14 additions & 1 deletion tests/jre-tests/reduces-classpath/dep/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.crysknife.tests</groupId>
<artifactId>reduces-classpath-dep</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
<packaging>jar</packaging>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
Expand All @@ -21,4 +22,16 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

</project>
2 changes: 1 addition & 1 deletion tests/jre-tests/reduces-classpath/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.crysknife</groupId>
<artifactId>reduces-classpath-parent</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
<packaging>pom</packaging>

<modules>
Expand Down
6 changes: 3 additions & 3 deletions tests/jre-tests/simple/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.crysknife.tests</groupId>
<artifactId>jre-simple-tests</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
<packaging>jar</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>

<aspectj.version>1.9.19</aspectj.version>
<aspectj.maven.plugin.version>1.14.0</aspectj.maven.plugin.version>
Expand Down
4 changes: 2 additions & 2 deletions tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>io.crysknife</groupId>
<artifactId>crysknife-parent</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
</parent>

<artifactId>tests-parent</artifactId>
<groupId>io.crysknife.tests</groupId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
<packaging>pom</packaging>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion ui/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.crysknife.ui</groupId>
<artifactId>parent</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
</parent>

<artifactId>crysknife-ui-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ public class DefaultContentDelegation implements ContentDelegation {
public void showContent(Object page, HTMLElement container, JsArray<HTMLElement> elements,
Object previousPage, DelegationControl control) {
if (container != null && elements != null) {

elements.forEach((node, p1, p2) -> {
elements.forEach((node, index) -> {
container.append(node);
return null;
});
Expand Down
2 changes: 1 addition & 1 deletion ui/generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.crysknife.ui</groupId>
<artifactId>parent</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
</parent>

<artifactId>crysknife-ui-generator</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.crysknife</groupId>
<artifactId>crysknife-parent</artifactId>
<version>0.5.2-SNAPSHOT</version>
<version>0.7</version>
</parent>

<groupId>io.crysknife.ui</groupId>
Expand Down

0 comments on commit e5aead0

Please sign in to comment.