Re: Issue with ProGuard Maven plugin.

2008-07-03 Thread Mikel Cármenes Cavia
: Mikel Cármenes Cavia wrote: Well, that sure sounds like another very intelligent way to do it. Would you mind sharing the portion of your POM that takes care of this sort of functionality? Ok, here we go ... Step 1: list all the dependencies into a text file plugin

Re: Issue with ProGuard Maven plugin.

2008-07-02 Thread Mikel Cármenes Cavia
. On Wed, Jul 2, 2008 at 06:43, Dirk Olmes [EMAIL PROTECTED] wrote: Mikel Cármenes Cavia wrote: Isn't that feature enabled automatically? It definitely is if you specify it in your POM. I thought that Maven took care of the dependencies specified in the POM by passing these over to ProGuard

Re: Issue with ProGuard Maven plugin.

2008-07-02 Thread Mikel Cármenes Cavia
, however I would like to keep them inside. Other than that, I can't really think of why this would be happening... On Wed, Jul 2, 2008 at 08:51, Mikel Cármenes Cavia [EMAIL PROTECTED] wrote: Hmm, I am still getting the same error/warning messages after adding that to my POM. It seems like the jar's

Re: Issue with ProGuard Maven plugin.

2008-07-02 Thread Mikel Cármenes Cavia
outside? Thanks so much for the insight Dirk! Cheers. On Wed, Jul 2, 2008 at 09:43, Dirk Olmes [EMAIL PROTECTED] wrote: Mikel Cármenes Cavia wrote: I wonder if this could have anything to do with the libraries themselves being obfuscated, thus why some stuff can't be found. Is there any way

Re: Issue with ProGuard Maven plugin.

2008-07-01 Thread Mikel Cármenes Cavia
Isn't that feature enabled automatically? I thought that Maven took care of the dependencies specified in the POM by passing these over to ProGuard... It'd be lovely to get this all to work! Thanks. On Tue, Jul 1, 2008 at 15:19, Dirk Olmes [EMAIL PROTECTED] wrote: Mikel Cármenes Cavia wrote

Issue with ProGuard Maven plugin.

2008-06-30 Thread Mikel Cármenes Cavia
Hey guys, I am trying to obfuscate my code by using Maven's ProGuard plugin. This is the section I added to my POM file to activate the plugin: ... plugin groupIdcom.pyx4me/groupId artifactIdproguard-maven-plugin/artifactId executions

Re: Issue with ProGuard Maven plugin.

2008-06-30 Thread Mikel Cármenes Cavia
the project dependencies are handled automatically, so I really shouldn't have to worry about the lib parameters, right? Cheers, Mikel On Mon, Jun 30, 2008 at 15:20, Mikel Cármenes Cavia [EMAIL PROTECTED] wrote: Hey guys, I am trying to obfuscate my code by using Maven's ProGuard plugin

Re: Incorporating DLL's into Maven Project.

2008-06-18 Thread Mikel Cármenes Cavia
I'm lost with this DLL business... What pains me the most is that I'm sure it's quite the trivial thing to do, but I can't seem to figure it out... Mikel On Tue, Jun 17, 2008 at 15:31, Mikel Cármenes Cavia [EMAIL PROTECTED] wrote: Kalle, I have made sure to carefully deploy the dll's to my

Re: Use Maven2 to build from a CVS tag

2008-06-18 Thread Mikel Cármenes Cavia
I'm developing a tool that among other things, allows for the user to pick a CVS version and build it with maven (this is part of the process anyways). While I have not got as far as you seem to be yet, I do not know of any automated way to do this. Could you elaborate on how you use the maven

Re: Incorporating DLL's into Maven Project.

2008-06-17 Thread Mikel Cármenes Cavia
, using it requires some code changes. Kalle On Mon, Jun 16, 2008 at 11:19 AM, Mikel Cármenes Cavia [EMAIL PROTECTED] wrote: Hey guys, I need to include three DLL's in my Maven project. Prior to deciding to email the list, I have looked around the archives, and haven't been able to find

Re: Incorporating DLL's into Maven Project.

2008-06-17 Thread Mikel Cármenes Cavia
to get this to work. On Tue, Jun 17, 2008 at 08:12, Mikel Cármenes Cavia [EMAIL PROTECTED] wrote: I will give those steps a shot today and let you all know if I run into any problems. It sounds like a pretty logical thing to do actually, and fortunately I do not require cross-platform

Re: Incorporating DLL's into Maven Project.

2008-06-17 Thread Mikel Cármenes Cavia
at 10:23 AM, Mikel Cármenes Cavia [EMAIL PROTECTED] wrote: I have followed the steps, and I am now getting the following error message when I try to package my project: [INFO] [ERROR] BUILD ERROR [INFO

Incorporating DLL's into Maven Project.

2008-06-16 Thread Mikel Cármenes Cavia
Hey guys, I need to include three DLL's in my Maven project. Prior to deciding to email the list, I have looked around the archives, and haven't been able to find anything that would seem to answer my problem (which is a very easy one in nature). I use JNA to interface with two of the three DLL's

CGLIB Enhancement failed.

2008-06-13 Thread Mikel Cármenes Cavia
Hey guys, Does anybody know what the following error might be caused by? 09:20:16,140 ERROR BasicLazyInitializer:130 - CGLIB Enhancement failed: org.git.systems.data.PcCalc java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer I've made sure that cglib is

Re: CGLIB Enhancement failed.

2008-06-13 Thread Mikel Cármenes Cavia
dependency, and exclude the oldest one. Good luck! Mikel Cármenes Cavia escreveu: Hey guys, Does anybody know what the following error might be caused by? 09:20:16,140 ERROR BasicLazyInitializer:130 - CGLIB Enhancement failed: org.git.systems.data.PcCalc java.lang.NoClassDefFoundError

Re: CGLIB Enhancement failed.

2008-06-13 Thread Mikel Cármenes Cavia
) at java.lang.Class.forName(Unknown Source) ... 61 more Thanks! On Fri, Jun 13, 2008 at 10:18, Mikel Cármenes Cavia [EMAIL PROTECTED] wrote: Thanks Fabio, I should have realized that I was adding cglib twice, since Hibernate adds it already as a transitive dependency. So I have removed cglib from my pom

Re: CGLIB Enhancement failed.

2008-06-13 Thread Mikel Cármenes Cavia
a misbehavior of declare a specific version dependency. I needed to add the exclude/exclude element in the dependency declaration to remove the extra library. All the best! Mikel Cármenes Cavia escreveu: Here is the complete exception, in case this helps: C:\DEV\Maven\GITSYSTEMS\targetjava -jar

Re: CGLIB Enhancement failed.

2008-06-13 Thread Mikel Cármenes Cavia
the right pom declarations for each of the dependencies? This is the only way I can think of to add some dynamism to the whole custom build process. Cheers! On Fri, Jun 13, 2008 at 11:08, Mikel Cármenes Cavia [EMAIL PROTECTED] wrote: Thanks so much Simon and Fabio, it's all up and running now

Resources not being added correctly.

2008-06-12 Thread Mikel Cármenes Cavia
I am fairly new to Maven, and after a few days of playing around with it and reading two pretty lengthy PDF's, I have managed to get it all to work and create a nice jar file for my application, with all its dependencies. However, I am having severe problems with adding resources, such that