Re: Automating the build of a JNI based application

2015-08-03 Thread Dušan Rychnovský
required class is missing: org/sonatype/aether/resolution /ArtifactResolutionException org.sonatype.aether.resolution.ArtifactResolutionException* What's wrong? Thanks, Dusan 2015-08-01 21:05 GMT+02:00 Benson Margulies : > Look for the modern nar plugin on github. > > On Fri, Jul 31, 2015 at 12:59 PM,

Automating the build of a JNI based application

2015-07-31 Thread Dušan Rychnovský
Hi, I'm creating a JNI wrapper on top of a C++ library. I'd like to have a "one-click" Maven build for the whole application. When building it manually, I need to do the following: javac ... (compile the Java source files) javah ... (generate JNI header files from Java class files) g++ ... (com

Re: Log4J - "cannot find symbol - method trace(String)"

2014-04-30 Thread Dušan Rychnovský
884 Jan 8 13:31 log4j-1.2.17.jar > > 02:28:45 ~/.m2/repository/log4j/log4j/1.2.17$ sha1sum log4j-1.2.17.jar > > 5af35056b4d257e4b64b9e8069c0746e8b08629f log4j-1.2.17.jar > > 02:28:47 ~/.m2/repository/log4j/log4j/1.2.17$ cat log4j-1.2.17.jar.sha1 > > 5af35056b4d257e4b64b9e

Re: Log4J - "cannot find symbol - method trace(String)"

2014-04-30 Thread Dušan Rychnovský
~~ Try to leave this world a little better than you found it and, > > when your turn comes to die, you can die happy in feeling that at any > > rate you have not wasted your time but have done your best ~~~ > > > > Lord Baden-Powell > > > > > > On Wed, Apr

Log4J - "cannot find symbol - method trace(String)"

2014-04-30 Thread Dušan Rychnovský
Hi everyone, I have the following dependency in my project's POM: ... log4j log4j 1.2.17 ... The artifact is downloaded to my local repository, but, during the compile phase, the following error is emitted and the build process is aborted: [ERROR] Failed to execute goal org.apache

Artifact with external configuration - the Maven way

2012-07-13 Thread Dušan Rychnovský
Hi! I'm using Maven at work to organize my software projects. I will first of all describe you my current build process. - The typical deployment assembly contains at least:

Resolving the SNAPSHOT placeholder in the package phase

2012-04-06 Thread Dušan Rychnovský
Hi! Is there a way to make Maven susbtitute the counter for the SNAPSHOT placeholder in the package phase? I use the assembly plugin to bundle the jar from the target directory together with some configuration files into a zip archive and I would need both the jar and zip files to bear the SNAPSH

Preventing Maven from escaping filtered properties

2012-03-15 Thread Dušan Rychnovský
Hi, I found out that Maven would not filter properties inside resource files if preceeded (escaped) by a backslash. In my case however, the backslash preceeding a property is a part of a Windows FS Path. I need "C:\build\${artifactId}" to be substituted like "C:\build\appartifact", not like "C:\b

maven-resources-plugin - copying custom nonpackaged resources - rewrite existing files

2011-07-07 Thread Dušan Rychnovský
Hi all, I use the maven-resources-plugin to copy some configuration files to the same directory as the resulting jar goes to (which is different from the standard target directory - I changed that using the maven-jar-plugin's outputDirectory configuration selection). It works fine, there's just on