Platform depending compilation

2007-01-16 Thread Timo Wolf
Hi All, I have a java swing application that I build with maven. I include some Mac OS X java libraries to integrate the app into OS X. I get errors when compiling on Windows, as the os x libraries are not available. Is it possible to detect the current OS and exclude some java classes

Re: Assembly-Plugin V2.2

2006-11-28 Thread Timo Wolf
11/28/06, Timo Wolf <[EMAIL PROTECTED]> wrote: The Assembly plugin is in version 2.2. But it is not available. Is there any other repository that I do not know? If you're referring to the statement "Current Assembly Plugin Version is: 2.2" in the plugin docs [1], it is a

Assembly-Plugin V2.2

2006-11-28 Thread Timo Wolf
Hi All, The Assembly plugin is in version 2.2. But it is not available. Is there any other repository that I do not know? Cheers, Timo Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/ maven-assembly-plugin/2.2/maven-assembly-plugin-2.2.pom [WARNING] Unable to get resour

Re: surefire-junit-2.1.jar

2006-11-28 Thread Timo Wolf
Do I have to put the dependency to the main dependency list or to the ...? On Nov 28, 2006, at 3:21 PM, Avegaart, Menno wrote: You don't need to use profiles. Just add the pluginRepositories section to your pom (as you already did). Secondly, you'll need to add a dependency to surefire-juni

Re: surefire-junit-2.1.jar

2006-11-28 Thread Timo Wolf
Thanks, The guide tells me to configure the settings.xml file ans use profiles. I don't want this. is there a way to add the snapshot repository to the pom? I added the following but it did not use the repository Cheers, Timo apache.org Maven Plugin Sn

surefire-junit-2.1.jar

2006-11-28 Thread Timo Wolf
Hi All, I want to use junit TestSuites in the surefire plugin. I found a bug http://jira.codehaus.org/browse/MSUREFIRE-113 that says that the usage depends on surefire-junit-2.1-SNAPSHOT.jar Is there any plan to release surefire-junit-2.1.jar and include it in the surefire plugin? Thanks Timo

Re: Assembly plugin for multi module project

2006-11-24 Thread Timo Wolf
Hi, Thanks for the help. But I still have some problems. I do not really understand the reason for the -build module. Do you use the module just for creating the assemblies? I tried to invoke the assembly plugin from the top level directory. The invokation should call all configured assemblies o

Re: Assembly plugin for multi module project

2006-11-22 Thread Timo Wolf
Hi, I have the same problem for some time and cannot find a solution. I found lots of users including me have big problems with the assembly plugin in multi module projects. Please help if possible. Timo On Nov 22, 2006, at 8:53 PM, Paolo Bacci wrote: Hi, I need to make an assembly of my p

Release Plugin configuration

2006-11-21 Thread Timo Wolf
Hi All, The release plugin creates jar files with the source code and with the javadoc of the project. How can I configure the plugin so that it will not produce the source and javadoc jar file. Thanks Timo - To unsubscri

Re: Assembly: Export jar dependency list to xml file

2006-11-21 Thread Timo Wolf
simple change to write xml:http://jira.codehaus.org/browse/MDEP-26 -Original Message- From: Timo Wolf [mailto:[EMAIL PROTECTED] Sent: Friday, November 17, 2006 9:39 AM To: Maven Users List Subject: Assembly: Export jar dependency list to xml file Hi guys, I am using the assembly plugin

Assembly: Export jar dependency list to xml file

2006-11-17 Thread Timo Wolf
Hi guys, I am using the assembly plugin to create a Mac OS X java application. OS X applications are using an xml file to describe the application, containing the main class and the jar files that are in the classpath. Currently I have to change the xml file by hand if I add a new jar file or if

Re: Release Plugin: Include assemblies for deploying

2006-11-17 Thread Timo Wolf
Hi, I created a reactor project with a super pom and with many modules and module dependencies. To some modules are complete applications so I added the assembly plugin to build the executable application including scripts, jars, properties, etc. So each module creates a jar file that is ne

Re: Release Plugin: Include assemblies for deploying

2006-11-16 Thread Timo Wolf
/plugins/maven-assembly-plugin/usage.html See "Building an Assembly as Part of the Build Lifecycle" in Damien -Message d'origine- De : Timo Wolf [mailto:[EMAIL PROTECTED] Envoyé : jeudi 16 novembre 2006 14:42 À : Maven Users List Objet : Re: Release Plugin: Include assemblie

Re: Release Plugin: Include assemblies for deploying

2006-11-16 Thread Timo Wolf
, 2006, at 12:50 PM, LECAN Damien wrote: I'm doing releases like that : mvn release:perform -Dgoals="install assembly:attached deploy site- deploy" Beware, some phases are executed twice, even three times Damien -Message d'origine- De : Timo Wolf [mailto:[EMA

Re: Release plugin: source jar includes sources twice.

2006-11-16 Thread Timo Wolf
On Nov 16, 2006, at 12:32 PM, Jochen Wiedmann wrote: On 11/16/06, Timo Wolf <[EMAIL PROTECTED]> wrote: org false ${basedir}/src/main/java/org That is exactly as I expected. There is one thin

Re: Release plugin: source jar includes sources twice.

2006-11-16 Thread Timo Wolf
*.jpg **/*.png **/*.wav **/*.java On Nov 16, 2006, at 12:20 PM, Jochen Wiedmann wrote: On 11/16/06, Timo Wolf <[EMAIL P

Release Plugin: Include assemblies for deploying

2006-11-16 Thread Timo Wolf
Hi All, I have a multi module project with some modules that include a required assembly to pack a complete application containing scripts, properties, etc. When making a release on the top level directory, all jars, and poms etc get uploaded and deployed on my repository. Is it possible

Re: Release plugin: source jar includes sources twice.

2006-11-16 Thread Timo Wolf
Hi, org is the first package under /src/main/java I do not have an org directory on the base directory. Tanks Timo On Nov 16, 2006, at 12:02 PM, Jochen Wiedmann wrote: On 11/16/06, Timo Wolf <[EMAIL PROTECTED]> wrote: globalse/... and the complete source code, which is strange. T

Release plugin: source jar includes sources twice.

2006-11-16 Thread Timo Wolf
Hi All, I used the release plugin for the first time. I saw that it creates and deploy a XXX-source.jar file of my classes. But the jar file contained the source code two times. My package structure is org.globalse.xxx The jar file contained a folder with org/... and the complete source co

Attaching an assembly to a multi module project

2006-11-10 Thread Timo Wolf
Hi All, I created a reactor project with a super pom and with many modules and module dependencies. To some modules I added the assembly plugin (2.1) to the package phase to build the executable application including scripts, jars, properties, etc. mainproject |-module1 |-mo