grizzly-core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.glassfish.grizzly</groupId> <artifactId>grizzly-core</artifactId> <version>4.1.0-M1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2021, 2023 Contributors to the Eclipse Foundation. Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved. 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 --> <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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.glassfish.grizzly</groupId> <artifactId>grizzly-project</artifactId> <version>4.1.0-M1</version> <relativePath>../../../pom.xml</relativePath> </parent> <artifactId>grizzly-core</artifactId> <packaging>jar</packaging> <name>grizzly-core</name> <dependencies> <dependency> <groupId>org.glassfish.grizzly</groupId> <artifactId>grizzly-framework</artifactId> </dependency> <dependency> <groupId>org.glassfish.grizzly</groupId> <artifactId>grizzly-portunif</artifactId> </dependency> </dependencies> <build> <defaultGoal>install</defaultGoal> <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.3.2</version> <configuration> <filesets> <!-- Make sure we remove the fake source directory. --> <fileset> <directory>src</directory> </fileset> </filesets> </configuration> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>3.6.1</version> <executions> <execution> <id>src-dependencies</id> <phase>generate-sources</phase> <goals> <!-- use copy-dependencies instead if you don't want to explode the sources --> <goal>unpack-dependencies</goal> </goals> <configuration> <classifier>sources</classifier> <!-- As this is a bundle we are excluding module-info.java files when unpacking the project dependencies. --> <excludes>module-info.java</excludes> <excludeArtifactIds>junit,hamcrest-core</excludeArtifactIds> <!-- fudge an actual source hierarchy so that the source plugin can actually do something useful. Otherwise, you'll end up with an empty source jar --> <outputDirectory>${basedir}/src/main/java</outputDirectory> <overWriteReleases>false</overWriteReleases> <overWriteSnapshots>true</overWriteSnapshots> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <configuration> <instructions> <Import-Package> *, </Import-Package> <Export-Package> org.glassfish.grizzly.*;-split-package:=merge-first;version=${project.version} </Export-Package> <Embed-Dependency>org.glassfish.grizzly;scope=runtime </Embed-Dependency> </instructions> <unpackBundle>true</unpackBundle> </configuration> <executions> <execution> <id>osgi-bundle</id> <phase>package</phase> <goals> <goal>bundle</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>fudge-source</id> <phase>install</phase> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <executions> <execution> <phase>install</phase> <configuration> <target> <delete dir="src" includeemptydirs="true" /> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>