Comments (3)
Please run mvn with -X
, extract the relevant 'DEBUG' information from the log, and add to this issue report.
from exists-maven-plugin.
I assume that version 0.6.0
works?
from exists-maven-plugin.
Version 0.6.0 works. Now it fails on the checksum comparison for an artifact:
<failIfExists>false</failIfExists>
<cmpChecksum>true</cmpChecksum>
<failIfNotMatch>true</failIfNotMatch>
Debug log:
[DEBUG] Configuring mojo org.honton.chas:exists-maven-plugin:0.7.0:local from plugin realm ClassRealm[plugin>org.honton.chas:exists-maven-plugin:0.7.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@6f94fa3e]
[DEBUG] Configuring mojo 'org.honton.chas:exists-maven-plugin:0.7.0:local' with basic configurator -->
[DEBUG] (f) artifact = microservice-parent.pom
[DEBUG] (f) cmpChecksum = true
[DEBUG] (f) failIfExists = false
[DEBUG] (f) failIfNotExists = false
[DEBUG] (f) failIfNotMatch = true
[DEBUG] (f) localRepository = id: local
url: file:///C:/Users/developer/.m2/repository/
layout: default
snapshots: [enabled => true, update => always]
releases: [enabled => true, update => always]
[DEBUG] (f) mavenProject = MavenProject: com.company:microservice-parent:0.1.4 @ C:\Users\developer\IdeaProjects\company\company-backend-commons\pom.xml
[DEBUG] (f) project = com.company:microservice-parent:pom:0.1.4
[DEBUG] (f) property = maven.install.skip
[DEBUG] (f) session = org.apache.maven.execution.MavenSession@55d58825
[DEBUG] (f) skip = false
[DEBUG] (f) skipIfSnapshot = true
[DEBUG] (f) userProperty = false
[DEBUG] -- end configuration --
[INFO] Checking for artifact at C:\Users\developer\.m2\repository\com\company\microservice-parent\0.1.4\microservice-parent-0.1.4.pom
[DEBUG] checking for resource C:\Users\developer\.m2\repository\com\company\microservice-parent\0.1.4\microservice-parent-0.1.4.pom
[DEBUG] Calculating checksum for C:\Users\developer\IdeaProjects\company\company-backend-commons\pom.xml
[INFO] com.company:microservice-parent:pom:0.1.4 checksum does not match
from exists-maven-plugin.
Related Issues (20)
- Duplicated results in a multi-project HOT 1
- Make exists goal thread-safe HOT 1
- Authentication not passed properly into wagon when using encryption in settings.xml
- Remote checks fails because of missing security file
- Question : profile activation HOT 1
- SNAPSHOT check exists HOT 2
- The artifact exists, but the plugin says otherwise HOT 2
- Provide option to skip remote check if deploy lifecycle is not executed HOT 1
- Cannot get it to fail as expected HOT 13
- How to handle .bundle? HOT 2
- Version 0.7.0 doesn't work when using Amazon S3 HOT 8
- Did you intend to abandon Java 8 support? HOT 1
- Check if artifact exists in remote repository not working for test-jar HOT 11
- Version 0.9.0 - cmpChecksum doesn't work when using Amazon S3 HOT 4
- Not detecting artifacts with packaging maven-plugin HOT 2
- Looking for the wrong artifact when using <packaging>content-package</packaging> HOT 2
- failure with `Cannot invoke "String.length()" because "path" is null` HOT 6
- Wrong path in RemoteExistsMojo log printout
- failure when pom packaging HOT 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 exists-maven-plugin.