Re: Re : Embedded error: Unknown artifact type[xml.zip]

2010-02-23 Thread Stephane Nicoll
Indeed. map it to zip and not jar S. --- [image: Linkedin] http://www.linkedin.com/in/snicoll[image: Twitter]http://twitter.com/snicoll On Wed, Feb 17, 2010 at 3:12 PM, Julien HENRY henr...@yahoo.fr wrote: Hi Stephane, I've mapped xml.zip custom type using this syntax:

Deploy Headerfiles

2010-02-23 Thread Greeny
Hello all, i've got a problem with the deploy plugin. I use maven and have some C++ files which are compile fine. Deploying to my repository also works fine. But now i want to deploy the used headerfiles too. The repository i use is connected via http so using ant-copy does not work. Someone

Re: SVN maven-release-plugin

2010-02-23 Thread Marshall Schor
On 2/23/2010 2:44 AM, bendg wrote: Hi How can I get source (to be able to build), for maven-release-plugin? Try checking out from http://svn.apache.org/repos/asf/maven/release/trunk/maven-release-plugin if you want the trunk. See the section titled Anonymous access on the page

Re: Deploy Headerfiles

2010-02-23 Thread Karl Heinz Marbaise
Hi, i don't know which plugin you are using...one choice would be to use the assembly pluging to package the include files into a tar.gz or the other choice can be to use the maven-nar plugin (http://duns.github.com/maven-nar-plugin/)... Kind regards Karl Heinz Marbaise -- View this

dependencyManagement and Manifest.MF issue

2010-02-23 Thread torsten . reinhard
Hi, in our build, we have a module C with a dependeny to module B, having a dependency to module A in version A-4.0.14, but managed to version A-4.0.15. Thus, this version and dependency is build into Manifest.MF of module C: Class-Path: B-1.0.0-SNAPSHOT.jar A-4.0.15.jar Later on, we pick up

Generate source code through maven before compling

2010-02-23 Thread Kiran Kumar M
Hi, I have requirement where to generate the source code by reading some velocity files *.vm and *.yml . This has been achieved through ant target, since we are moving every thing to maven, the sam thing need to be achieved through maven plugins Could you please help me on this Regards

Re: Problem creating a self-executing signed jar

2010-02-23 Thread Michael Remijan
Wow, I seriously need to create a seperate project to do this? From: Anders Hammar and...@hammar.net To: Maven Users List users@maven.apache.org Sent: Tue, February 23, 2010 1:47:41 AM Subject: Re: Problem creating a self-executing signed jar I think your main

Re: Generate source code through maven before compling

2010-02-23 Thread Stephen Connolly
bind an execution of maven-antrun-plugin to the generate-sources phase putting your generated sources in ${project.build.directory}/generated-sources/my-company/ then use buildhelper-maven-plugin (@mojo) to add additional source directory paths (you'll want to add

Re: Problem creating a self-executing signed jar

2010-02-23 Thread Stephen Connolly
a multi-module build... it will be the same overall project, just structured better If you think Maven is like ANT then drink the maven kool-aid and you'll be happy ;-) -Stephen On 23 February 2010 15:31, Michael Remijan mjremi...@yahoo.com wrote: Wow, I seriously need to create a seperate

Re: dependencyManagement and Manifest.MF issue

2010-02-23 Thread Jörg Schaible
Hi Torsten, torsten.reinh...@gi-de.com wrote at Dienstag, 23. Februar 2010 15:24: Hi, in our build, we have a module C with a dependeny to module B, having a dependency to module A in version A-4.0.14, but managed to version A-4.0.15. Thus, this version and dependency is build into

How to skip src.jar html-documentation.jar in release:perform

2010-02-23 Thread pawan gandhi
Hi Folks, I need to skip the generation of project-src.jar and project-doc.jar and want to upload only binary to maven repository. Following deploy runs be default when run command release:perform. mvn deploy --no-plugin-updates --batch-mode -DperformRelease=true -f pom.xml How can i achieve

Re: How to skip src.jar html-documentation.jar in release:perform

2010-02-23 Thread Olivier Lamy
http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#useReleaseProfile 2010/2/23 pawan gandhi pawan.gan...@dowjones.com: Hi Folks, I need to skip the generation of project-src.jar and project-doc.jar and want to upload only binary to maven repository. Following deploy

assembly and including a test-jar

2010-02-23 Thread Ed Young
I am assembling a jar-with-dependencies jar for a project with two modules. mvn package assembly:assembly assembles the jar using the wrong jar file for one of the modules. I believe the solution is in how I configure the assembly descriptor to include the right jar, but this is where I'm having

Re: Begginer's question: How can I use an other Mojo in my own plugin?

2010-02-23 Thread Kai Hackemesser
I found a way to get my plugin dependencies from outside: @SuppressWarnings(unchecked) ListArtifact pluginArtifacts = pluginManager.getPluginDescriptorForPrefix(myPrefix).getArtifacts(); Artifact plugin = null; for(Artifact artifact: pluginArtifacts){

Plugin Development: how to make a multi value parameter available via command line args

2010-02-23 Thread Kai Hackemesser
Hi there, Does anybody know an example of how to annotate / evaluate a multivalue parameter exposed via command line and plugin configuration? I haven't found a general syntax for that. Cheers, Kai

How to resolve this javax.transaction:jta:jar:1.0.1B error

2010-02-23 Thread Ajoo123
Hi, I just started learning Mavin and Hibernate. When I comiple I get this exception: Below is the pom file Question: Where is the local repository created? If I download this jar where will I copy it? Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:

Re: Newbie Question

2010-02-23 Thread Jeremy Banks
Thanks for the help Baptiste. That didn't work but -Darguments=-Pversion did. Thanks for pointing me in the right direction. Cheers Jeremy Banks Development Team Lead BIS² Level 2 45 Tory Street PO Box 19204 Wellington New Zealand +64 21 686 986 On 23 February 2010 19:31, Baptiste MATHUS

Re: How to resolve this javax.transaction:jta:jar:1.0.1B error

2010-02-23 Thread kristian
download the jar and use the following command and replace the /path/to/file respectively, it will install it into the local repository (which is usually $HOME/.m2/repository) On Wed, Feb 24, 2010 at 8:58 AM, Ajoo123 asgar...@gmail.com wrote: mvn install:install-file -DgroupId=javax.transaction

Re: How to resolve this javax.transaction:jta:jar:1.0.1B error

2010-02-23 Thread Wayne Fay
I just started learning Mavin and Hibernate. When I comiple I get this exception: Below is the pom file Question: Where is the local repository created? If I download this jar where will I copy it? I know its asking a lot... but did you READ the message Maven printed to your console before

XML Files in Maven Jar

2010-02-23 Thread vasm
Hi All, I am new to maven. I have created a new maven project to create a jar file. I have a few xml files in classpath as well. When i build the project only the java files (i.e. class files) get included in jar. The xml files are excluded. Can anyone please help. How to include these xml files

Re: XML Files in Maven Jar

2010-02-23 Thread Jochen Wiedmann
Put them into src/main/resources, rather than src/main/java. If you don't like that default behaviour, create an element like build/resources/resource with directory src/main/java. In the latter case, be sure to exclude **/*.java and **/package*.html . Jochen On Wed, Feb 24, 2010 at 8:10 AM,

Re: XML Files in Maven Jar

2010-02-23 Thread Thomas Sundberg
Hi! Where are the xml files located in your project? They will be included automatically if you place them in src/main/resources hth Thomas On Wed, Feb 24, 2010 at 08:10, vasm ajay.kulka...@krawlernetworks.com wrote: Hi All, I am new to maven. I have created a new maven project to create a

Re: Generate source code through maven before compling

2010-02-23 Thread Stephen Connolly
Kiran, Please keep replies on the list so that in future others can use Google to find the answers... also, did you not read the PS in my reply? On 24 February 2010 04:04, kiran.choud...@gmail.com wrote: Hi Stephen, Iam new to maven and iam struggling to generate the source code at runtime