-
Notifications
You must be signed in to change notification settings - Fork 229
JCR-4892: support the jakarta.servlet package name #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
Open
jespersm
wants to merge
7
commits into
apache:trunk
Choose a base branch
from
jespersm:JCR-4892
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
53c3650
JCR-4892
cbb616b
JCR-4892 Patch applied
5996450
JCR-4892 Patch
422f220
Merge branch 'trunk' into JCR-4892
jespersm a2890f0
JCR-4892: Drop Apache Tika back to 2.4.1
jespersm 950c55b
Merge branch 'trunk' into JCR-4892
jespersm b962b12
JCR-4892: Fix integration tests and improve name/description consistency
jespersm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<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>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-jcr-server-project</artifactId> | ||
<version>2.23.2-beta-SNAPSHOT</version> | ||
<relativePath>../jackrabbit-jcr-server-project</relativePath> | ||
</parent> | ||
<artifactId>jackrabbit-jcr-server-jakarta</artifactId> | ||
<name>Jackrabbit JCR Server (Jakarta)</name> | ||
<description>WebDAV server implementations for JCR, using supporting the Jakarta Servlet API 5.0, as transformed from the jackrabbit-jcr-server project.</description> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.transformer</groupId> | ||
<artifactId>transformer-maven-plugin</artifactId> | ||
<version>0.5.0</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<rules> | ||
<jakartaDefaults>true</jakartaDefaults> | ||
</rules> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>default-jar</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
<configuration> | ||
<artifact> | ||
<groupId>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-jcr-server</artifactId> | ||
<version>${project.version}</version> | ||
</artifact> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<profiles> | ||
<profile> | ||
<id>apache-release</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.transformer</groupId> | ||
<artifactId>transformer-maven-plugin</artifactId> | ||
<version>0.5.0</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<rules> | ||
<jakartaDefaults>true</jakartaDefaults> | ||
</rules> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>source-jar</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
<configuration> | ||
<artifact> | ||
<groupId>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-jcr-server</artifactId> | ||
<version>${project.version}</version> | ||
<classifier>sources</classifier> | ||
</artifact> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-webdav-jakarta</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>jakarta.servlet</groupId> | ||
<artifactId>jakarta.servlet-api</artifactId> | ||
<version>5.0.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<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>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-parent</artifactId> | ||
<version>2.23.2-beta-SNAPSHOT</version> | ||
<relativePath>../jackrabbit-parent/pom.xml</relativePath> | ||
</parent> | ||
<artifactId>jackrabbit-jcr-server-project</artifactId> | ||
<name>Jackrabbit JCR Server (parent)</name> | ||
<description>Parent project for JCR Server for both legacy Servlet API and Jakarta Servlet API 5.0.</description> | ||
<packaging>pom</packaging> | ||
<modules> | ||
<module>../jackrabbit-jcr-server</module> | ||
<module>../jackrabbit-jcr-server-jakarta</module> | ||
</modules> | ||
<dependencies> | ||
<dependency> | ||
<groupId>javax.jcr</groupId> | ||
<artifactId>jcr</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-spi-commons</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-jcr-commons</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.tika</groupId> | ||
<artifactId>tika-core</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-fileupload</groupId> | ||
<artifactId>commons-fileupload</artifactId> | ||
</dependency> | ||
<!-- OSGi support --> | ||
<dependency> | ||
<groupId>org.osgi</groupId> | ||
<artifactId>org.osgi.compendium</artifactId> | ||
<version>5.0.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>org.apache.felix.scr.annotations</artifactId> | ||
<version>1.12.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.osgi</groupId> | ||
<artifactId>org.osgi.annotation</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.easymock</groupId> | ||
<artifactId>easymock</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-core</artifactId> | ||
<version>${project.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-jcr-tests</artifactId> | ||
<version>${project.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.eclipse.jetty</groupId> | ||
<artifactId>jetty-server</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.eclipse.jetty</groupId> | ||
<artifactId>jetty-servlet</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>ch.qos.logback</groupId> | ||
<artifactId>logback-classic</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.mockito</groupId> | ||
<artifactId>mockito-core</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.derby</groupId> | ||
<artifactId>derby</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one or more | ||
contributor license agreements. See the NOTICE file distributed with | ||
this work for additional information regarding copyright ownership. | ||
The ASF licenses this file to You under the Apache License, Version 2.0 | ||
(the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<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>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-jcr-servlet-project</artifactId> | ||
<version>2.23.2-beta-SNAPSHOT</version> | ||
<relativePath>../jackrabbit-jcr-servlet-project</relativePath> | ||
</parent> | ||
<artifactId>jackrabbit-jcr-servlet-jakarta</artifactId> | ||
<name>Jackrabbit JCR Servlets (Jakarta)</name> | ||
<description>Servlets and related classes for easy use of JCR content repositories in web applications, supporting the Jakarta Servlet API 5.0, as transformed from the jackrabbit-jcr-servlet project.</description> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.transformer</groupId> | ||
<artifactId>transformer-maven-plugin</artifactId> | ||
<version>0.5.0</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<rules> | ||
<jakartaDefaults>true</jakartaDefaults> | ||
</rules> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>default-jar</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
<configuration> | ||
<artifact> | ||
<groupId>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-jcr-servlet</artifactId> | ||
<version>${project.version}</version> | ||
</artifact> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<profiles> | ||
<profile> | ||
<id>apache-release</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.transformer</groupId> | ||
<artifactId>transformer-maven-plugin</artifactId> | ||
<version>0.5.0</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<rules> | ||
<jakartaDefaults>true</jakartaDefaults> | ||
</rules> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>source-jar</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
<configuration> | ||
<artifact> | ||
<groupId>org.apache.jackrabbit</groupId> | ||
<artifactId>jackrabbit-jcr-servlet</artifactId> | ||
<version>${project.version}</version> | ||
<classifier>sources</classifier> | ||
</artifact> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
<dependencies> | ||
<dependency> | ||
<groupId>jakarta.servlet</groupId> | ||
<artifactId>jakarta.servlet-api</artifactId> | ||
<version>5.0.0</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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