Why do I get org.apache.maven.plugins:maven-site-plugin:3.6.1:? - mule-sdk

I am trying to create a basic mulesoft plugin
mvn org.mule.extensions:mule-extensions-archetype-maven-plugin:1.2.0:generate
When I try and execute mvn eclipse:clean
I get
[WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.6.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.6.1: Plugin org.apache.maven.plugins:maven-site-plugin:3.6.1 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-site-plugin:jar:3.6.1 in http://repository.mulesoft.org/releases/ was cached in the local repository, resolution will not be reattempted until the update interval of mulesoft-plugin-releases has elapsed or updates are forced
How do I resolve this? I am using eclipse/studio not IntelliJ.
Any pointers?

That is a warning, not an error. It should not cause any issue. Just ignore it.

Related

cannot install subkey on windows

error: failed to parse manifest at C:\Users\zalki\.cargo\git\checkouts\substrate-7e08433d4c370a21\d2a43d4\Cargo.toml
Caused by:
feature resolver is required
consider adding cargo-features = ["resolver"] to the manifest
Specifically for the resolver issue - you likely don't have rust's latest toolchain. Try to update to latest (stable 1.54+) and try again.
But please do use WSL2: https://substrate.dev/docs/en/knowledgebase/getting-started/#windows
From the terminal, try the normal subkey installation process.

Android Studio 3.6.3 How to get rid of ERROR: Unable to resolve dependency for ':app#debug/compileClasspath' (androidx.fragment:fragment)

I'm tired of getting this error every third/fourth time I try to build project:
ERROR: Unable to resolve dependency for ':app#debug/compileClasspath': Could not resolve androidx.fragment:fragment:[1.2.0].
Show Details
Affected Modules: app
It also effects ':app#debugUnitTest/compileClasspath' and ':app#debugAndroidTest/compileClasspath' (shows the same error for them).
Also sometimes it goes after the following build error (internet connection is surely stable):
Unknown host 'repo.maven.apache.org: nodename nor servname provided, or not known'. You may need to adjust the proxy settings in Gradle.
Enable Gradle 'offline mode' and sync project
Learn about configuring HTTP proxies in Gradle
There were no changes in build.gradle files or any other gradle files before this error came.
It would be nice if you help to get rid of it. Gradle-plugin version = "1.3.71".

Broadleaf Commerce: Getting started MVN install errors

Non-resolvable parent POM for com.mycompany-community:boot-community-demo:1.0.0-SNAPSHOT: Could not transfer artifact org.broadleafcommerce:broadleaf-boot-starter-parent:pom:5.2.1-SNAPSHOT from/to public snapshots (http://nexus.broadleafcommerce.org/nexus/content/groups/community-snapshots/): Connect to nexus.broadleafcommerce.org:80 [nexus.broadleafcommerce.org/104.130.140.202] failed: Connection timed out: connect and 'parent.relativePath' points at no local POM # line 5, column 13
I am new to Broadleaf & am a UI Developer. I am trying to setup 'Heat Clinic Demo' in my local but unable to do so. Am getting the above errors and unable to proceed further, can someone please help me out in running the project. Thanks in advance
I am not sure how you got that version for your parent but it should be version 5.2.2.1-GA. That is our latest release version. I recommend changing the root pom.xml to use that version instead (in the element).
The Maven error indicates that it could not connect to the Broadleaf nexus. On my end it looks like it is up, verify that you can ping it and try again with -U, e.g. mvn clean install -U to force metadata to be refreshed from the nexus.

Load liquibase classpath failed

I generate app thanks to jhipster but when I run it I have the following error:
.m2\repository\org\liquibase\liquibase-core\3.5.3\liquibase-core-3.5.3.jar referenced one or more files that do not exist: .m2\repository\org\liquibase\liquibase-core\3.5.3\lib\snakeyaml-1.13.jar
The error happens in my IDE and when I run mvnw.
I can't find any solutions or workarounds.
Ok it seems that in fact my application failed to start cause my application-dev.yml was malformatted. But the error message what really not explicite and believed that the error come from the liquibase classpath.

Encountering errors of obtaining dependencies when starting grails application

I'm new to Grails web framework. I got this error when running my first grails app from the terminal. Below is the error I got.
> | Downloading:
> org/apache/commons/commons-parent/17/commons-parent-17.pom | Error
> Resolve error obtaining dependencies: Failed to read artifact
> descriptor for org.hamcrest:hamcrest-core:jar:1.3 (Use --stacktrace
> to see the full trace)
>
> | Error Required Grails build dependencies were not found. This is
> normally due to internet connectivity issues (such as a misconfigured
> proxy) or missing repos itories in grails-app/conf/BuildConfig.groovy.
> Please verify your configuration to continue.
I'm running this app with the internet connection but this error still occurs. How can I fix this error?
are u sure you are using a the correct download for grails, it seems that your trying to connect to the internet and your grails can't ? may be check your proxy settings? or what you are really trying to do in the command line ?
Your console log says, you can not connect to internet for downloading dependencies.
But its not the case. Maven has stopped http repositories and that is the root cause.
You have to use https. If you could not connect to https for some reason, here is workaround to that:
mavenRepo "http://insecure.repo1.maven.org/maven2/"
Putting above line in BuildConfig.groovy will resolve your issue and start downloading dependencies.
What mavenRepo's do you have in your BuildConfig.groovy. I found that I had to add a few, here's mine:
repositories {
inherits true // Whether to inherit repository definitions from plugins
grailsPlugins()
grailsHome()
mavenLocal()
grailsCentral()
mavenCentral()
// uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
mavenRepo "http://repository.codehaus.org"
mavenRepo "http://download.java.net/maven/2/"
mavenRepo "http://repository.jboss.com/maven2/"
mavenRepo 'http://repo.spring.io/milestone'
}
Have you tried running:
grails refresh-dependencies
before you try to run your app?
What version of Grails, SO and JDK do you have?, in Windows 8 with JDK Java SE 7u45 and Grails 2.3.1 i have a lot of problems; I had to make a downgrade to JDK

Resources