Re: Assembly plugin for multi module project
Nabble archives don't open here, returns timeout everytime. Does it have protection from brazilian ips? If so, a proxy would help. Barrie Treloar, could you send an example of your assembly descriptor? Thx, Paolo Bacci On 11/23/06, Barrie Treloar [EMAIL PROTECTED] wrote: On 11/23/06, Timo Wolf [EMAIL PROTECTED] wrote: 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. Search the Nabble archives. I am happily using assembly in multi-module mode, however I use dependencySets not moduleSets. If you search for something like assembly example baerrach you will find the emails (and other emails with answers similar to this pointing to the original threads) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Assembly plugin for multi module project
Hi, I need to make an assembly of my project to make tests on windows. I read this manual http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html but i keep getting the same error message: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error creating assembly: You must set at least one file. [INFO] My project is set up as: Parent child1 child2 child3 I can build the .jar with mvn package command, but when I try to run mvn assembly:assembly, it returns me the error from above. I've tried using the default descriptor, but it creates an empty file, so I've searched for an descriptor example and after that started using this descriptor: assembly idbin/id formats formattar.gz/format /formats includeBaseDirectoryfalse/includeBaseDirectory moduleSets moduleSet includes includecom.longadata.scapintegration.api/include includecom.longadata.scapintegration.core/include includecom.longadata.scapintegration.model/include /includes binaries outputDirectorymodules/scap-integration-branch/outputDirectory includeDependenciestrue/includeDependencies unpackfalse/unpack /binaries /moduleSet /moduleSets /assembly Both of them are not giving me the expected result. Does anybody has any clue about what could be possibly wrong? thx, Paolo Bacci.
Re: set -source 1.5?
I had problem like this one last week and in my case was that my javac was pointing to 1.5, while my java was pointing to 1.4 Maybe you're having the same problem. Try checking if javac and java are pointing to 1.5. It may be 1.4 as default. Paolo On 11/22/06, Eric Redmond [EMAIL PROTECTED] wrote: Are you using a compiler other than Sun or IBM? If so, you may have to add this configuration (or whatever arg is speciific to your compiler): compilerArguments resouce1.4/resouce /compilerArguments Eric On 11/ 21/06, jiangshachina [EMAIL PROTECTED] wrote: Hi guys, My project uses JDK1.5.0, and its new features(e.g. Annotation). I have set following scripts in pom.xml plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin but when I run mvn compile, Maven reposted -resouce 1.4 doesn't support Annotation What's wrong with the matter? Thanks in advance! a cup of Java, cheers! Sha Jiang -- View this message in context: http://www.nabble.com/set-- source-1.5--tf2683585s177.html#a7485367 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond