@@ -381,7 +381,7 @@ Any argument that doesn't start with a hyphen (-), is treated as follows:
381381{productName} provides an application programming
382382interface (API) for developing applications in which {productName} is
383383embedded. For details, see the `org.glassfish.embeddable` packages at
384- `http ://embedded- glassfish.java.net/nonav/apidocs/ `.
384+ `https ://www.javadoc.io/doc/org. glassfish.main.common/simple-glassfish-api/latest/index.html `.
385385
386386The following topics are addressed here:
387387
@@ -1373,19 +1373,6 @@ Add `execution` elements to your POM file:
13731373goal::
13741374  The goal to use. See xref:#maven-goals-for-embedded-glassfish-server[Maven Goals for Embedded {productName}].
13751375
1376- 5. Configure the repository.
1377- Add the following `repository` element to your POM file:
1378- +
1379- [source,xml]
1380- ---- 
1381- <pluginRepositories> 
1382-     <pluginRepository> 
1383-         <id>jakarta-oss-staging</id> 
1384-         <name>Jakarta OSS Staging Repository for Maven</name> 
1385-         <url>https://jakarta.oss.sonatype.org/content/repositories/staging</url> 
1386-     </pluginRepository> 
1387- </pluginRepositories> 
1388- ---- 
13891376
13901377[[gjkod]]
13911378Example 1-13 POM File for Configuring Maven to Use Embedded {productName}
@@ -1431,13 +1418,6 @@ http://maven.apache.org/maven-v4_0_0.xsd">
14311418     </plugin> 
14321419    </plugins> 
14331420  </build> 
1434-   <pluginRepositories> 
1435-       <pluginRepository> 
1436-         <id>jakarta-oss-staging</id> 
1437-         <name>Jakarta OSS Staging Repository for Maven</name> 
1438-         <url>https://jakarta.oss.sonatype.org/content/repositories/staging</url> 
1439-       </pluginRepository> 
1440-   </pluginRepositories> 
14411421</project> 
14421422---- 
14431423
@@ -1974,18 +1954,14 @@ Line breaks in the following element are for readability purposes only
19741954http://maven.apache.org/maven-v4_0_0.xsd"> 
19751955    <modelVersion>4.0.0</modelVersion> 
19761956    <groupId>org.example</groupId> 
1977-     <artifactId>my-ejb-app-tester </artifactId> 
1957+     <artifactId>my-ejb-app-example </artifactId> 
19781958    <version>1.0.0-SNAPSHOT</version> 
19791959    <name>EJB Embeddable API Example</name> 
19801960    <dependencies> 
19811961        <dependency> 
19821962            <groupId>org.glassfish.main.extras</groupId> 
1983-             <artifactId>glassfish-embedded-static-shell </artifactId> 
1963+             <artifactId>glassfish-embedded-all </artifactId> 
19841964            <version>${project.version}</version> 
1985-             <scope>system</scope> 
1986-             <systemPath> 
1987-                 ${env.GLASSFISH_HOME}/lib/embedded/glassfish-embedded-static-shell.jar 
1988-             </systemPath> 
19891965        </dependency> 
19901966        <!-- 
19911967            The jakarta.jakartaee-api is stripped of any code and is just used to compile your 
@@ -2002,22 +1978,13 @@ http://maven.apache.org/maven-v4_0_0.xsd">
20021978            <scope>provided</scope> 
20031979        </dependency> 
20041980    </dependencies> 
2005-     <pluginRepositories> 
2006-         <pluginRepository> 
2007-             <id>jakarta-oss-staging</id> 
2008-             <name>Jakarta OSS Staging Repository for Maven</name> 
2009-             <url>https://jakarta.oss.sonatype.org/content/repositories/staging</url> 
2010-         </pluginRepository> 
2011-     </pluginRepositories> 
20121981</project> 
20131982---- 
20141983
2015- If you are using `glassfish-embedded-static-shell.jar`, you can omit the
2016- `dependency` element with the `javaee-api` `artifactId` and the
2017- `pluginRepositories` element.
1984+ If you are using `glassfish-embedded-all.jar`, you can omit the
1985+ `dependency` element with the `jakarta.jakartaee-api` `artifactId`.
20181986
2019- Set the `GLASSFISH_HOME` environment variable to the installation root
2020- directory before running the `mvn clean verify` command.
1987+ Then run `mvn clean verify` command.
20211988
20221989[[changing-log-levels-in-embedded-glassfish-server]]
20231990
@@ -2073,7 +2040,7 @@ This example shows the contents of a custom logging configuration file,
20732040
20742041[source]
20752042---- 
2076- handlers= java.util.logging.ConsoleHandler 
2043+ handlers  = java.util.logging.ConsoleHandler 
20772044java.util.logging.ConsoleHandler.level = FINEST 
20782045jakarta.enterprise.system.tools.deployment.level = FINEST 
20792046jakarta.enterprise.system.level = FINEST 
@@ -2113,15 +2080,15 @@ supports only these features of nonembedded {productName}:
21132080
21142081* The following web technologies of the Jakarta EE platform:
21152082
2116- ** Java  Servlet API
2083+ ** Jakarta  Servlet API
21172084
2118- ** Java Server  Pages (JSP) technology 
2085+ ** Jakarta  Pages
21192086
2120- ** Java Server  Faces technology 
2121- * JDBC-technology  connection pooling
2122- * Java  Persistence API
2123- * Java  Transaction API
2124- * Java  Transaction Service
2087+ ** Jakarta  Faces 
2088+ * JDBC connection pooling
2089+ * Jakarta  Persistence API
2090+ * Jakarta  Transaction API
2091+ * Jakarta  Transaction Service
21252092
21262093The `glassfish-embedded-all.jar` and
21272094`glassfish-embedded-static-shell.jar` files support all features of
0 commit comments