-
Notifications
You must be signed in to change notification settings - Fork 228
PR for JCR-4892 #191
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
base: trunk
Are you sure you want to change the base?
PR for JCR-4892 #191
Conversation
git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/branches/JCR-4892@1908560 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/branches/JCR-4892@1908563 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/branches/JCR-4892@1909066 13f79535-47bb-0310-9956-ffa450edef68
Thank you for migrating Jackrabbit to the Jakarta namespace. Can you estimate when this feature will be released? |
No, not really; this lacks both test coverage and energy to get it done. |
I wonder, is there no automatic pipeline runner set up for this repo? Or am I doing something wrong? Also: @oleosterhagen : Can you test this to ensure we resulting jar match you expectations and use case? |
Not here, only for Jackrabbit Oak. EDIT: working on it, see https://issues.apache.org/jira/browse/JCR-5157 |
<plugin> | ||
<groupId>org.eclipse.transformer</groupId> | ||
<artifactId>transformer-maven-plugin</artifactId> | ||
<version>0.5.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we move this into the parent pom and set the version to 1.0.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can move it, yes - but org.eclipse.transformer:transformer-maven-plugin is built for Java 17 and up. What is the minimal version supported for building?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bumping up the JDK required for building should not be problem as long as we create java 11 compatible byte code.
See
jackrabbit/jackrabbit-parent/pom.xml
Line 72 in 3c76cbd
<minimalJavaBuildVersion>${javaTargetVersion}</minimalJavaBuildVersion> |
We have now migrated enough parts of our application to run the first tests. We deploy the Jackrabbit Webapp to a JBoss application server (now JBoss 8.x / Jakarta EE 10). We use
Both use cases work with this PR as expected. Two things I have noticed:
The JAR can be produced with a second execution of the transformer-maven-plugin and an extra attach for the resulting JAR: [...]
</execution>
<execution>
<id>default-jar</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<artifact>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-webapp</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifact>
<type>jar</type>
<attach>false</attach>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-jar</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/jackrabbit-webapp-jakarta-${project.version}.jar</file>
<type>jar</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
[...]
|
@oleosterhagen : Thank you for checking, sounds promising. |
This is an update of JCR-4892 on top of current trunk