Git Product home page Git Product logo

Comments (5)

theit avatar theit commented on August 20, 2024 1

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.

meiMingle avatar meiMingle commented on August 20, 2024

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.

meiMingle avatar meiMingle commented on August 20, 2024

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.

meiMingle avatar meiMingle commented on August 20, 2024

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.

ppalaga avatar ppalaga commented on August 20, 2024

Thanks @theit for the hint and thanks @meiMingle for reporting back. Let's close this then.

from maven-mvnd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.