Re: How to apply maven build system (Was: How to use Debian packaged freehep instead of upstream provided freehep.jar)

2011-02-18 Thread Thomas Zeeman
Hi, On Feb 18, 2011, at 8:55 AM, Andreas Tille wrote: > Hi, > > Please excuse for my ignorance but it seems that I need more detailed > advise. I applied this to the previosely suggested pom.xml (see > attachment) but now I get Sorry, my bad. I thought you had a bit more knowledge about maven

Re: How to apply maven build system (Was: How to use Debian packaged freehep instead of upstream provided freehep.jar)

2011-02-18 Thread Olivier Sallou
Hi, the plugin must be under other tags. Example: org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 So your pom should look like: 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 htt

Re: How to apply maven build system (Was: How to use Debian packaged freehep instead of upstream provided freehep.jar)

2011-02-18 Thread Andreas Tille
Hi, On Thu, Feb 17, 2011 at 07:49:52PM +0100, Thomas Zeeman wrote: > It means the application is using two features of java (annotations and > generics to be precise) which are only supported in Java 5+. To fix this you > need to set the source property of the maven-compiler-plugin in the build

Re: How to apply maven build system (Was: How to use Debian packaged freehep instead of upstream provided freehep.jar)

2011-02-17 Thread Thomas Zeeman
On Feb 17, 2011, at 5:41 PM, Andreas Tille wrote: > [INFO] > > [INFO] Cannot execute mojo: resources. It requires a project with an existing > pom.xml, but the build is not using one. > [INFO] > --

Re: How to apply maven build system (Was: How to use Debian packaged freehep instead of upstream provided freehep.jar)

2011-02-17 Thread Andreas Tille
On Wed, Feb 16, 2011 at 11:29:52PM +0100, Torsten Werner wrote: > are you looking for 'mvn package'? $ mvn package [INFO] Scanning for projects... [INFO] [INFO] Building Mave

Re: How to apply maven build system

2011-02-16 Thread Torsten Werner
On Thu, Feb 17, 2011 at 12:40 AM, Russ Allbery wrote: > Yeah, that's typical for Maven.  It's absolutely amazing how much stuff it > downloads in order to do anything. It is impressive to run something trivial like 'mvn clean' (after purging the ~/.m2 cache) in a mostly empty directory except for

Re: How to apply maven build system (Was: How to use Debian packaged freehep instead of upstream provided freehep.jar)

2011-02-16 Thread Manfred Moser
> BTW, working on this just made me notice that some new versions of > FreeHEP were released some months ago. These releases were deployed on > maven repositories, but I didn't notice them because they were not > deployed on the site where development happened before. This is one of > the many thi

Re: How to apply maven build system

2011-02-16 Thread Manfred Moser
> Giovanni Mascellani writes: > >> There's something funny about this command: I executed it and it had to >> download about 30 different files before being able to do something >> really dump (copy some simple templates in the working directory). > > Yeah, that's typical for Maven. It's absolute

Re: How to apply maven build system

2011-02-16 Thread Russ Allbery
Giovanni Mascellani writes: > There's something funny about this command: I executed it and it had to > download about 30 different files before being able to do something > really dump (copy some simple templates in the working directory). Yeah, that's typical for Maven. It's absolutely amazin

Re: How to apply maven build system (Was: How to use Debian packaged freehep instead of upstream provided freehep.jar)

2011-02-16 Thread Giovanni Mascellani
Hi. On 16/02/2011 23:03, Andreas Tille wrote: > mvn archetype:generate -DgroupId=Patristic -DartifactId=patristic > -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false > > as it is suggested here[3] There's something funny about this command: I executed it and it had to d

Re: How to apply maven build system (Was: How to use Debian packaged freehep instead of upstream provided freehep.jar)

2011-02-16 Thread Manfred Moser
> Hi, > > inspired by some hints about Java packaging I tried another package. It > is called patristic[1] (just another biological phylogeny software). It > comes just with a directory full of *.java files and the binary download > just tells in what directory layout the classes should end up.

Re: How to apply maven build system

2011-02-16 Thread Manfred Moser
Its gonna be more hazzle.There are references to these two classes import Time.TimeManager; import Process.Process; as well as to net.iharder.dnd.FileDrop(motif, new net.iharder.dnd.FileDrop.Listener You will have to find whatever the Time and Process libraries are...looks like a mess to me. m

Re: How to apply maven build system

2011-02-16 Thread Manfred Moser
> Andreas Tille writes: > >> I'm actually not very keen on really using maven as long as I can get >> the package working at all - but I actually have no real clue what >> command line would trigger the build process (and upstream) seems to be >> dead. So in principle the most simple help would b

Re: How to apply maven build system

2011-02-16 Thread Russ Allbery
Andreas Tille writes: > I'm actually not very keen on really using maven as long as I can get > the package working at all - but I actually have no real clue what > command line would trigger the build process (and upstream) seems to be > dead. So in principle the most simple help would be a com

Re: How to apply maven build system (Was: How to use Debian packaged freehep instead of upstream provided freehep.jar)

2011-02-16 Thread Torsten Werner
Hi Andreas, On Wed, Feb 16, 2011 at 11:03 PM, Andreas Tille wrote: > I'm actually not very keen on really using maven as long as I can > get the package working at all - but I actually have no real clue > what command line would trigger the build process (and upstream) > seems to be dead.  So in