Skip to main content

All Questions

Tagged with
-1 votes
0 answers
34 views

Maven dependency release dates [closed]

I've noticed that some Maven dependencies have release dates earlier than the components they depend on. I'm investigating the reasons behind this and suspect that the upstream component might have ...
Nkiru Ede's user avatar
0 votes
0 answers
26 views

Custom library repository artifacts not imported

Sonatype nexus not importing custom project artifacts upon maven clean install. In Sonatype Nexus, I have created following three repositories: 1. my-proxy-repo(proxy) 2. my-parent-repo(hosted)...
Joe jonas's user avatar
0 votes
0 answers
24 views

How to replace the direct dependency `A` with all transitive dependencies of `A` in the artifact pom.xml?

I have a maven project named A which is dependent on artifacts B and C, I want to generate a thin jar which will have only the classes of A, B and C from project A with As pom. I can do this using ...
Naveen Kumar's user avatar
0 votes
1 answer
31 views

Maven ${project.version} scope

I have parent pom with dependency management declared by ${project.version}. Then I inherit parent in my target project, this project has other version than parent. This throws errors, because of ...
Cezary's user avatar
  • 35
0 votes
1 answer
19 views

How to create 2 archetypes out of the same project having different modiles in maven

I have a project with module A and module B i want to create 2 artifacts separately 1. with module A + module B packaged and another one with only Module B packaged. Both of these would have different ...
Sourabh's user avatar
  • 470
0 votes
0 answers
58 views

How to Resolve that the command is too long issues while using the maven-jdeps-plugin

In my project having more dependency. So I want to analyze classes for how many classes depend on JDK unsupported. Plugin Configuration in POM.xml <plugin> <groupId>org.apache.maven....
Aakash's user avatar
  • 298
0 votes
1 answer
43 views

Error reading assemblies: Error locating assembly descriptor: descriptor.xml

I am trying to create a jar file out of a directory Below is the structure of my files test-dir - [Root folder] src QE (directory that i want to pack) descriptor.xml pom.xml My pom file <project&...
wehelpdox's user avatar
  • 527
0 votes
0 answers
25 views

Pom.xml file showing error after creating maven project

Thanks in advance! I'm getting pom.xml file error after creating maven project. Error: Could not calculate build plan:Plugin org.apache.maven.plugins:maven-compiler-plugin:3.11.0 or one of its ...
Nani's user avatar
  • 1
-2 votes
1 answer
59 views

if else statement returning wrong answer [duplicate]

import java.util.Scanner; public class orOperator { public static void main(String args[]) { System.out.println(" This code is to check you are eligible or not"); Scanner ...
buddhasatta's user avatar
0 votes
0 answers
47 views

Build jar with dll in pom or external dll file - unable to solve

I'm fighting with this issue for a few days already, so I'm really in need of your help, girls and boys. I did a simple stuff in Java, that works till I'm using my IDE (IntelliJ) - I can run my ...
Nevras's user avatar
  • 11
0 votes
0 answers
115 views

mvn version is failing while setting the new version

When i am trying to update internal version using mvn versions:set -DnewVersion i am getting below error. In my automation CI/CD script i am trying to upgrade maven internal version. I am new to this, ...
karthik's user avatar
  • 333
0 votes
1 answer
221 views

Unable to push maven artifact to gitlab

I am trying to push an artifact from laptop to gitlab artifactory and not able to push because of the following error. Error details in terminal: --- maven-deploy-plugin:2.8.2:deploy (default-...
user923499's user avatar
1 vote
1 answer
180 views

Download dependency from remote maven repository

I have the following pom.xml file which requires downloading various dependencies from azure feed. pom.xml When I want to execute mvn install, I get the next error: Execution rest-server-generation ...
cekodis681 cekodis681's user avatar
1 vote
1 answer
570 views

How can I use the Maven Assembly Plugin to create a ZIP archive that includes a specific folder and all of its files?

I have a project with structure like this I am currently attempting to create a compressed zip folder named "wso2mi.zip" and my goal is to include all files and directories that are ...
Subodh Joshi's user avatar
  • 13.3k
0 votes
0 answers
417 views

An API incompatibility was encountered while executing org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar: java.lang.UnsupportedClass

I'm getting this error when trying to build the project artifact with command "mvn clean install -U": An API incompatibility was encountered while executing org.sonarsource.scanner.maven:...
ncisco3200's user avatar

15 30 50 per page
1
2 3 4 5
105