Skip to content

Commit

Permalink
Add module-info and remove automatic module name from manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Nov 9, 2021
1 parent 9b61c86 commit 320187a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,6 @@
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifestEntries>
<Automatic-Module-Name>jakarta.servlet.jsp</Automatic-Module-Name>
</manifestEntries>
</archive>
<excludes>
<exclude>**/*.java</exclude>
Expand Down
24 changes: 24 additions & 0 deletions api/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* Copyright (c) 2021 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the
* Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
* version 2 with the GNU Classpath Exception, which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
*/
module jakarta.servlet.jsp {
exports jakarta.servlet.jsp;
exports jakarta.servlet.jsp.tagext;
exports jakarta.servlet.jsp.el;

requires transitive jakarta.el;
requires transitive jakarta.servlet.api;
requires transitive java.desktop;
}

0 comments on commit 320187a

Please sign in to comment.