parent-pom

java.lang.NoSuchMethodError: org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequestBuilder.setSource

…衆ロ難τιáo~ 提交于 2021-02-11 15:15:23
问题 I am trying to run the spring boot parent project which uses child project, which in turn uses project(ES project) which has elasticsearch dependencies and elasticsearch config bean for transport client. The child project uses Spring Data ES repositories, which are enabled by a respective annotation in a project. These are config annotations used in the child: @Configuration @ComponentScan("package") @EntityScan("package3") @EnableJpaRepositories("package2") // enables only es repos for

Non-resolvable parent POM

落爺英雄遲暮 提交于 2020-03-18 05:09:10
问题 I am trying to develop a custom connector for mule by following http://www.mulesoft.org/documentation/display/current/Creating+a+Connector+Project tutorial. As shown in the tutorial, I am creating the project through command line by executing mvn archetype:generate -DarchetypeGroupId=org.mule.tools.devkit -DarchetypeArtifactId=mule-devkit-archetype-cloud-connector -DarchetypeVersion=3.4.3 -DgroupId=org.hello -DartifactId=hello-connector -Dversion=1.0-SNAPSHOT -DmuleConnectorName=Hello

Non-resolvable parent POM

元气小坏坏 提交于 2020-03-18 05:08:30
问题 I am trying to develop a custom connector for mule by following http://www.mulesoft.org/documentation/display/current/Creating+a+Connector+Project tutorial. As shown in the tutorial, I am creating the project through command line by executing mvn archetype:generate -DarchetypeGroupId=org.mule.tools.devkit -DarchetypeArtifactId=mule-devkit-archetype-cloud-connector -DarchetypeVersion=3.4.3 -DgroupId=org.hello -DartifactId=hello-connector -Dversion=1.0-SNAPSHOT -DmuleConnectorName=Hello

In maven project How to download the library in source/binary, mentioned in the <parent> tag in POM file?

不想你离开。 提交于 2020-01-07 01:52:27
问题 This is the pom file. <project> <parent> <groupId>org.jboss.weld</groupId> <artifactId>weld-api-bom</artifactId> <version>1.0</version> <relativePath>../bom/pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>my-module</artifactId> <dependencies> <dependency> <groupId>javax.el</groupId> <artifactId>el-api</artifactId> <optional>true</optional> </dependency> </dependencies> </project> I know, to download the dependencies(above its "el-api") we should use mvn

How to configure pom.xml file to use Nexus Repository manager

前提是你 提交于 2020-01-03 04:52:11
问题 I am using Redhat , java 1.7 , maven 3.2.5 , jenkins 1.6 , git version 2.0.5 and nexus-2.12.0-01 I have created a Local Nexus Repository for my internal development. Now What I am trying to do is, to build maven project using jenkins with Nexus Repository Manger Oss . I am able to build my project without Nexus Repository Manger Oss . Note : I am using parent pom since I have to sub projects. Below are the steps that I followed . Installed Nexus Repository Manger Oss . It is up and running

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

左心房为你撑大大i 提交于 2020-01-02 06:01:27
问题 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,

Maven complaining about parent relative path

痴心易碎 提交于 2019-12-30 02:45:09
问题 Consider a maven project with modules consists of some utilities (jar) and some poms for others to reference to if they want to use some of these utilities. e.g. inside the parent pom.xml <artifactId>project-parent</artifactId> <modules> <module>client-ref-pom</module> (a module with just one pom.xml) <module>server-ref-pom</module> (a module with just one pom.xml) <module>client-utils</module> (a module with some utility classes, needs to ref. client-ref-pom) <module>server-utils</module> (a

Error in Project creation in Spring Tool Suite using Spring Starter Project

橙三吉。 提交于 2019-12-25 08:03:04
问题 Created an project in Spring Tool Suite using Spring Starter Project and i get an error in pom.xml as below :Project build error: Non-resolvable parent POM for com.example:demo:0.0.1-SNAPSHOT: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.4.0.RELEASE from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not

Multimodule Maven project in Intellij

扶醉桌前 提交于 2019-12-22 13:49:35
问题 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>

Dependencies in Dependency Management vs Dependencies in Maven versions plugin

烈酒焚心 提交于 2019-12-21 06:04:11
问题 When I use Maven versions:display-dependency-updates to check dependencies updates, I get two sections of result. 1st: The following dependencies in Dependency Management have newer versions: 2nd: The following dependencies in Dependencies have newer versions: What's the difference between these two? 回答1: The Dependency section of the POM defines the artifacts (jars, zip etc) upon which your project depends. i.e. the artifacts that it requires to compile, run etc. The Dependency Management