Comments (5)
Hi,
you are using very old plugins according to the snippet. Can you first upgrade them to use the newest versions and then try again?
versions-maven-plugin is your friend if you need help in finding newer versions of plugins, dependencies etc.
HTH
Thorsten
from maven-mvnd.
My project is a project with 200+ modules. The maven plug-in and version used are as follows
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<configuration>
<delimiters>
<delimiter>@</delimiter>
</delimiters>
<useDefaultDelimiters>false</useDefaultDelimiters>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.3.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
from maven-mvnd.
you are using very old plugins according to the snippet. Can you first upgrade them to use the newest versions and then try again?
Thanks for the reply, I upgraded maven-resources-plugin from 2.6 to 3.0.2 and this problem doesn't seem to occur anymore. So far so good, I'll keep watching for a while and maybe report back here again in a few days or weeks.
In addition, the latest version of maven-resources-plugin is 3.3.1. I have tried to use it, but there seems to be some coding problem in the project that I cannot grasp yet, causing the build to fail. So version 3.0.2 is the best choice for me so far
from maven-mvnd.
In the past three days of testing, this error has not occurred again. It looks like upgrading maven-resources-plugin to 3.0.2 worked to resolve this issue.
from maven-mvnd.
Thanks @theit for the hint and thanks @meiMingle for reporting back. Let's close this then.
from maven-mvnd.
Related Issues (20)
- Split mvnd for Maven 3.x and 4.x support HOT 1
- Hang with SpotBugs plugin and fork=false HOT 2
- If Maven Daemon executes in 0.2s, the summary output might be printed too early HOT 2
- Set `MAVEN_CMD_LINE_ARGS` env HOT 2
- mvnd version support Maven 3.9.6+ HOT 2
- Obsolete OpenSSL versions dependency removal HOT 2
- Empty output for help:evaluate HOT 4
- Warnings when headless in the CI HOT 1
- Cannot use mvnd due to missing CPU features (on an older machine) HOT 18
- maven.multiModuleProjectDirectory is missing in DefaultSettingsBuildingRequest.getSystemProperties() HOT 6
- No color/ansi support on Windows with 1.0.0? HOT 6
- The stack trace is trimmed by the diag tool:
- mvnd archetype:generate failed HOT 2
- mvnd site:run stays running after mvnd process stops HOT 4
- 2.0.0-beta-1: java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 HOT 2
- Support use like mvnw? HOT 2
- mvnd release:prepare and mvn release:prepare doesn't behave the same
- mvnd clean install command install dependencies into project workind directory
- Dispatch message: PrintOut{payload='
- brew installs `2.0.0-beta-1 `
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 maven-mvnd.