parent-pom

How to resolve parent pom dependency issue: Failed to read artifact descriptor; Could not find artifact?

只谈情不闲聊 提交于 2019-12-20 03:16:57
问题 I recently published three artifacts to Maven Central: https://search.maven.org/search?q=ced2ar3-rdb The three are part of the same project and are published concurrently. I'm now trying to build a new project using ced2ar-rdb and ced2ar-rdb-tests as dependencies, but not where in my code do I reference the parent pom file (ced2ar3-rdb-parent; I don't actually want to use it and didn't think I needed it). However, when I try to build my project that uses ced2ar-rdb as a dependency, I get this

Should I rely on transitive dependencies in Maven if they come from other sub-module of my parent?

我怕爱的太早我们不能终老 提交于 2019-12-20 02:34:10
问题 Suppose we are working on mortgage sub-module, and we are directly using the Google Guava classes in module code, but the dependcy for the guava is defined in other sub-module under the same parent and we have access to Guava classes only by transitive dependency on "investment" module: banking-system (parent pom.xml) | |-- investment (pom.xml defines <dependency>guava</dependency>) | |-- mortgage (pom.xml defiens <dependency>investment</dependency>) Should we still put a <dependency> to

Duplicate artifactId in child pom

隐身守侯 提交于 2019-12-19 07:39:38
问题 I want a parent pom to define some properties for numerous child poms to inherit. However when I try and use the artifactId within one of these properties in the parent pom, it duplicates in the child's effective pom. Very basic example below. Assume I have all the valid fields needed for poms (groupId, version, packaging etc). The parent pom's effective pom has a scm connection value of www.mysite.com/parent-pom . But the child's effective pom has a scm connection value of www.mysite.com

How to inherit dependency from a parent pom to a child pom

蓝咒 提交于 2019-12-18 10:49:26
问题 I am new in using maven and jenkins. I am trying to inherit the dependencies from parent pom to child pom it shows the following errors: [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /D:/jenkins/workspace/CBAW/testP/WSW_Investment/src/main/java/com/td/inv/wss/util/XMLConverters.java:[10,26] package com.rpmtec.current does not exist [ERROR] /D:/jenkins/workspace/CBAW/testP/WSW_Investment/src/main/java/com/td/inv/wss/util/XMLConverters

Project build error: Non-resolvable parent POM

牧云@^-^@ 提交于 2019-12-12 02:01:48
问题 I just import this project to my local eclipse and I get this error message: Project build error: Non-resolvable parent POM: Failure to transfer eu.ohim:esearch-parent:pom:1.8.0-RC2.1 from http://f5dmzprodf03.oami.europa.eu/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus-releases has elapsed or updates are forced. Original error: Could not transfer artifact eu.ohim:esearch-parent:pom:1.8.0-RC2.1 from/to

Maven unreachable parent pom in unusual relations setup

被刻印的时光 ゝ 提交于 2019-12-11 17:24:00
问题 I have a maven project where I need to share 2 levels of common project traits. One level is project-wide things like remote Maven repo (Artifactory), plugin versions, deps versions. The other is a complicated mapping of actions to Maven lifecycle, shared for "modules" of a special runtime platform. The parents are nested: com.mycompany:projectfoo-parent ^-- parent of: com.mycompany:projectfoo-module-parent Each sub-project looks like this: subprojectA/pom.xml [ROOT] <--parent-- projectfoo

The goal “copy-dependencies” does not copy the parent pom

亡梦爱人 提交于 2019-12-11 02:46:12
问题 My project structure is like this: * Foo - API - Core - OSGi All child projects define Foo as their parent (parent has dependencyManagement). Another team is going to use my project. They only need my API layer and they cannot access my maven repository. I need to give them all the dependencies of my API so I executed the following maven command: mvn dependency:copy-dependencies -DincludeScope=compile -Dmdep.copyPom -Dmdep.useRepositoryLayout The dependency-plugin copies everything just fine

Maven: trustAnchors parameter must be non-empty and 'parent.relativePath' @ InvalidAlgorithmParameterException @ Non-resolvable parent POM

≯℡__Kan透↙ 提交于 2019-12-10 04:10:23
问题 I'm new to Maven and Spring. The project runs in my local test environment, but not on the deployed system. On deployed system: I got a fresh installed Ubuntu with OpenSDK 10.0.1, Maven 3.5.2 I'm behind a different firewall and have a different keyStore and trustStore. Maven spits out: Non-resolvable parent POM for org. [%mything%] .app:useraut:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.9.RELEASE from/to central (https://repo.maven

Multimodule Maven project in Intellij

独自空忆成欢 提交于 2019-12-06 09:43:34
Issue : For some reason my main application can't import classes from other modules. Also I don't see the compiled output of Data and Remote modules getting included in main Main:war: exploded under WEB-INF/classes under Module Settings (IntelliJ) Main application <groupId>com.example.entitlement</groupId> <artifactId>service</artifactId> <version>1.0-SNAPSHOT</version> <modules> <module>Data</module> <module>Remote</module> </modules> <packaging>pom</packaging> Data Module <parent> <artifactId>service</artifactId> <groupId>com.example.entitlement</groupId> <version>1.0-SNAPSHOT</version> <

Can Maven ref a parent POM from a private s3 bucket?

删除回忆录丶 提交于 2019-12-05 19:15:00
When using a private AWS S3 bucket as a Maven repo, there's plenty of working s3 wagon providers that work just fine for deploying and pulling dependencies using the s3://[bucket]/folder protocol. However, when you try to do this with a parent POM reference, i.e. <parent> <groupId>com.my.company</groupId> <artifactId>my-parent-pom</artifactId> <version>1.0.0</version> </parent> Which exists only in a private S3 Maven repo, it seems that Maven only checks the HTTP based defined repositories, and doesn't attempt to look in the S3 repo. The S3 wagon in this project is defined as <build>