Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MuleLifecycleMapping refers to non existing plugin #336

Closed
ca-stefan-cordes opened this issue Nov 1, 2019 · 2 comments
Closed

MuleLifecycleMapping refers to non existing plugin #336

ca-stefan-cordes opened this issue Nov 1, 2019 · 2 comments

Comments

@ca-stefan-cordes
Copy link
Contributor

/mule-maven-plugin/mule-maven-plugin/src/main/java/org/mule/tools/maven/mojo/model/lifecycle/mapping/project/MuleLifecycleMapping.java
is referring to maven-site-plugin:3.6.1 but that is not existing.
https://search.maven.org/search?q=g:org.apache.maven.plugins%20AND%20a:maven-site-plugin&core=gav
image

Problem is that

  • Create a blank new Mule4 project
  • mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:go-offline
    => fails with
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:resolve-plugins (resolve-plugins) on project bug-xmlmodule-fails: Could not find artifact org.apache.maven.plugins:maven-site-plugin:jar:3.6.1 in centralMirror
@ca-stefan-cordes
Copy link
Contributor Author

Workaround is to add

	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-site-plugin</artifactId>
					<version>3.8.2</version>
				</plugin>
			</plugins>
		</pluginManagement>

to the pom.xml

Probably some other versions in MuleLifecycleMapping needs to be re-checked.

Best would be to not specify versions in the java sources.

@julianpascualMuleSoft
Copy link

julianpascualMuleSoft commented Nov 4, 2019

Pull request #337 merged, thanks Stefan!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants