Tags "pom.xml" Result

Error in POM.xml

I am trying to build the openNMS in eclipse helios using maven. After importing the source using "import existing maven project" i get the around 10k errors. Also i have some error in pom.xml itself, i thought fixing it could reduce the no of errors. The error in pom.xml is maven-resources-plugin prior to 2.4 is not supported by m2e. Use maven-re

it1352 0 2019-05-15

specifying goal in pom.xml

I am creating a new maven project with pom.xml as below:- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>firstRestle

it1352 1 2019-05-15

Convert ivy.xml to pom.xml

I have a ivy.xml - https://gist.github.com/1898060 I also have the jar file related to this ivy.xml. What i need is a mechanism to import this project to my maven repo and use it in my maven project. SO basically if i am able to convert the ivy.xml to pom.xml , i might be able to get it work. Is there some mechanism through which i can achieve this

it1352 0 2019-05-21

How to identify line modifications separately from deletions in git log

In a certain file, I need to count the exact no of lines being Modified from one commit to another. If I do a git log it indicate me something like this, 10 10 modules/p2-profile-gen/pom.xml 2 2 pom.xml 4 4 pom.xml 1 0 modules/distribution/pom.xml 1 1 pom.xml 1 1 pom.xml 10 8 pom.xml 29 28

it1352 0 2019-05-18

How to diff one file to an arbitrary version in Git?

How can I diff a file, say pom.xml, from the master branch to an arbitrary older version in Git? Solution You can do: git diff master~20:pom.xml pom.xml ... to compare your current pom.xml to the one from master 20 revisions ago through the first parent. You can replace master~20, of course, with the object name (SHA1sum) of a commit or any of

it1352 1 2019-05-17

tell git to use ours merge strategy on specific files

I have the following directory structure: /.git /.git/info/attributes /MyProject /MyProject/pom.xml /MyProject/MyCode.java I have branch master and bugfix. On both branches pom.xml and MyCode.java were modified. i would like to merge changes from bugfix to master only for MyCode.java and keep master version of pom.xml file. So I added "/.git/in

it1352 3 2019-05-17

Dependency and Dependency viewer tab in intelliJ IDEA

Using STS when clicking on a pom.xml file I can view these tabs Overview Dependencies Dependcy Hierarchy Effective POM pom.xml How can I see all these tabs using intelliJ IDEA, specially Dependency Hierarchy? I tried to see it by right click pom.xml > Maven > Show Dependencies but it only show a single rectangle having my project name in i

it1352 4 2019-05-21

how to get a dependency tree for an artifact?

dependency:tree can be used to see the dependency tree for a given project. But what I need is to see the dependency tree for a 3rd party artifact. I guess I can create an empty project, but I'm looking for something easier (I need to do this for several artifacts). Solution 1) Use maven dependency plugin Create a simple project with pom.xml only

it1352 1 2019-05-15

Error in pom.xml Maven build

I am getting an error in my pom.xml when trying to build a maven project. The error is here on this plugin: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <so

it1352 3 2019-05-15