[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mh_make and resolving pom dependencies



Thanks for the reply.
I went through jdeb .

I also found in few pom.xml that there can be elements like <debian.mavenRules> to specify maven rules .
Since we don't have debian directory with jdeb , the need to specify ignoreRules or rules or properties can be achieved by one of these methods

i. mvn command  : like -Dmaven.skip.test=true
ii. pom.xml : like <debian.mavenRules>
iii. src/deb/control directory : which currently has postrm,prerm and control files. unable to find others like maven.rules etc
iv. remove the whole section from pom.xml.

1. So I want to know which is best way to go about specifying these rules.

2. The link you provided is generic one. For example it says nothing about <debian.mavenRules> .Is there any link which has exhaustive set of all elements.


On Fri, Nov 7, 2014 at 2:12 PM, Emmanuel Bourg <ebourg@apache.org> wrote:
Le 07/11/2014 09:35, Raaj S a écrit :

> 1. what is the use of ~/.m2 directory?

~/.m2 is the local Maven repository used when Maven is called from the
command line. It is not used when building Debian packages.

> 2. is there anyway to give ignoreRules from pom.xml or from mvn command
> line?

The ignore rules are Debian specific. They are recorded in the
debian/maven.ignoreRules file. You can't specify them from the pom.xml
file or by calling mvn, it doesn't make sense.

> 3. where can I find the complete list of elements which can be specified
> in pom.xml

http://maven.apache.org/pom.html

I'm not sure to understand what you are trying to do though.

Emmanuel Bourg



Reply to: