Comments (8)
Could glassfish-build-maven-plugin perhaps also be updated to 4.0.1 and integrated?
For small Windows build issue: eclipse-ee4j/glassfish-build-maven-plugin#176
from glassfish.
Could glassfish-build-maven-plugin perhaps also be updated to 4.0.1 and integrated?
Yes, sure we can do that
from glassfish.
Exousia M3 staged: https://jakarta.oss.sonatype.org/content/repositories/staging/org/glassfish/exousia/exousia/3.0.0-M3/
from glassfish.
Build plugin 4.0.1 staged: https://jakarta.oss.sonatype.org/content/repositories/staging/org/glassfish/build/glassfishbuild-maven-plugin/4.0.1/
from glassfish.
Unfortunately can't integrate it in GF (8) at the moment. The build fails when updating the spec plugin (to 2.2) or the build plugin (to the just staged 4.0.1)
[ERROR] Failed to execute goal org.glassfish.build:glassfishbuild-maven-plugin:4.0.1:featuresets-dependencies (default-featuresets-dependencies) on project glassfish-common:
Execution default-featuresets-dependencies of goal org.glassfish.build:glassfishbuild-maven-plugin:4.0.1:featuresets-dependencies failed:
A required class was missing while executing org.glassfish.build:glassfishbuild-maven-plugin:4.0.1:featuresets-dependencies:
org/apache/commons/io/build/AbstractStreamBuilder
[ERROR] -----------------------------------------------------
[ERROR] realm = extension>org.glassfish.build:glassfishbuild-maven-plugin:4.0.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/.m2/repository/org/glassfish/build/glassfishbuild-maven-plugin/4.0.1/glassfishbuild-maven-plugin-4.0.1.jar
[ERROR] urls[1] = file:/.m2/repository/org/apache/maven/maven-archiver/3.6.2/maven-archiver-3.6.2.jar
[ERROR] urls[2] = file:/.m2/repository/org/codehaus/plexus/plexus-archiver/4.9.2/plexus-archiver-4.9.2.jar
[ERROR] urls[3] = file:/.m2/repository/org/codehaus/plexus/plexus-utils/4.0.0/plexus-utils-4.0.0.jar
[ERROR] urls[4] = file:/.m2/repository/org/codehaus/plexus/plexus-io/3.4.2/plexus-io-3.4.2.jar
[ERROR] urls[5] = file:/.m2/repository/org/apache/commons/commons-compress/1.26.1/commons-compress-1.26.1.jar
[ERROR] urls[6] = file:/.m2/repository/org/apache/commons/commons-lang3/3.14.0/commons-lang3-3.14.0.jar
[ERROR] urls[7] = file:/.m2/repository/commons-codec/commons-codec/1.16.1/commons-codec-1.16.1.jar
[ERROR] urls[8] = file:/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar
[ERROR] urls[9] = file:/.m2/repository/org/tukaani/xz/1.9/xz-1.9.jar
[ERROR] urls[10] = file:/.m2/repository/com/github/luben/zstd-jni/1.5.5-11/zstd-jni-1.5.5-11.jar
[ERROR] urls[11] = file:/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.27/plexus-interpolation-1.27.jar
[ERROR] urls[12] = file:/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.4.2/maven-shared-utils-3.4.2.jar
[ERROR] urls[13] = file:/.m2/repository/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
from glassfish.
The following does work:
<plugin>
<groupId>org.glassfish.build</groupId>
<artifactId>glassfishbuild-maven-plugin</artifactId>
<version>4.0.1</version>
<!-- Adds support for glassfish-jar and it's customized lifecycle-->
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
</dependencies>
</plugin>
from glassfish.
Epicyro M2 staged here: https://jakarta.oss.sonatype.org/content/repositories/staging/org/glassfish/epicyro/epicyro/3.1.0-M2/
from glassfish.
The following does work:
<plugin> <groupId>org.glassfish.build</groupId> <artifactId>glassfishbuild-maven-plugin</artifactId> <version>4.0.1</version> <!-- Adds support for glassfish-jar and it's customized lifecycle--> <extensions>true</extensions> <dependencies> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>${commons-io.version}</version> </dependency> </dependencies> </plugin>
Then it would be better to just add the dependency to plugin dependencies before the release. In the comment before you have quite old 2.11 for some reason. I will take a look.
from glassfish.
Related Issues (20)
- Embedded glassfish JAR doesn't contain JARS/RARS to support JMS HOT 1
- NPE on PoolManagerImpl.resourceClosed(PoolManagerImpl.java:367)
- Clean code: add checkstyle rule to prevent unused imports HOT 2
- Improve Thread safeness of LocalTxConnectionEventListener
- Provide official arquillian adapter? HOT 1
- Glassfish Arquillian tests very very slow HOT 8
- Glassfish 8.0.0-M* use Expressly 6.0.0-M1 not available in Maven Central HOT 2
- Clean code: Fix "Unlikely argument type for equals()" and remove some unused variables HOT 1
- On Jersey 4.0.0 changes HOT 3
- Update documentation to match GlassFish 7
- Document and refactor some connectors-runtime module code
- Enhancement: Allow to specify protocol for URLs the server sends to the client
- JSON-B date serialization and deserialization problem HOT 5
- Glassfish 7 Java 21 builds fail in ConnectionPoolTest HOT 1
- glassfish 6.2.5 edit JDBC realm HOT 1
- `start-domain --debug=true` does not display port number
- Couldn't load error report valve if GlassFish started with a virtual server in state=off
- Detected deadlock in logging - rolling the file
- Admin Session Timeout doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glassfish.