Skip to content

Commit

Permalink
Add module-info.java
Browse files Browse the repository at this point in the history
Fixes #140
- Add module-info.java
- Change compiler source and target to JDK 11
- Update maven-bundle-plugin to 5.1.2

Signed-off-by: hussainnm <hussain.nm@cognizant.com>
  • Loading branch information
hussainnm committed Oct 6, 2021
1 parent 8c2c5c3 commit 0729499
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/pom.xml
Expand Up @@ -36,11 +36,11 @@
<legal.doc.source>../</legal.doc.source>
<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.1</maven-compiler-plugin.version>
<spec-version-maven-plugin.version>2.1</spec-version-maven-plugin.version>
<maven-bundle-plugin.version>4.2.1</maven-bundle-plugin.version>
<maven-bundle-plugin.version>5.1.2</maven-bundle-plugin.version>
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
Expand Down
27 changes: 27 additions & 0 deletions api/src/main/java/module-info.java
@@ -0,0 +1,27 @@
/*
* 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
*/
/**
* Defines the modules for jakarta.ejb
*/
module jakarta.ejb {
requires java.rmi;
requires java.naming;
requires transitive jakarta.transaction;

exports jakarta.ejb;
exports jakarta.ejb.embeddable;
exports jakarta.ejb.spi;
}

0 comments on commit 0729499

Please sign in to comment.