Re: Release Plugin doesn't commit poms correctly anymore

2013-09-20 Thread Tim Kettler
Am 20.09.2013 10:10, schrieb Christian Grobmeier: Hi folks, I have used the release plugin fro a millions of releases. And suddenly it stopped working as expected. I am doing: $ mvn release:prepare $ mvn release:perform And usually I see commits of the kind: [maven-release-plugin] prepare

Re: Release Plugin doesn't commit poms correctly anymore

2013-09-20 Thread Tim Kettler
Am 20.09.2013 10:46, schrieb Tim Kettler: Am 20.09.2013 10:10, schrieb Christian Grobmeier: Hi folks, I have used the release plugin fro a millions of releases. And suddenly it stopped working as expected. I am doing: $ mvn release:prepare $ mvn release:perform And usually I see commits

Re: maven-source-plugin questions

2013-03-18 Thread Tim Kettler
Am 18.03.2013 06:56, schrieb Kevin Krumwiede: Are the jars produced by maven-source-plugin intended primarily as a reference for IDEs and other automated tools, as opposed to being something you would actually build from? They are intended primarily as a reference thing. I ask because I have

Re: Unpacking jars into target/classes

2013-03-08 Thread Tim Kettler
Am 02.03.2013 21:32, schrieb Joachim Durchholz: Hi all, I have two jars from an external source and need to merge their contents into the target/classes tree until the process-classes phase. I'm not sure what plugin(s) can be used to achieve this effect. As wholeheartedly as I agree to all

Re: Antwort: Re: Maven Shade Plugin

2013-03-01 Thread Tim Kettler
Am 01.03.2013 08:26, schrieb Jörg Schaible: Hi Tim, Tim Kettler wrote: Am 28.02.2013 19:47, schrieb Joachim Durchholz: Am 28.02.2013 16:24, schrieb Jan Engler: At first: in fact this is only one artifact. The full jar contains all classes of the dependecies, the api a reduced set (using

Re: Antwort: Re: Maven Shade Plugin

2013-02-28 Thread Tim Kettler
Am 28.02.2013 19:47, schrieb Joachim Durchholz: Am 28.02.2013 16:24, schrieb Jan Engler: At first: in fact this is only one artifact. The full jar contains all classes of the dependecies, the api a reduced set (using filtern in the shade plugin). Is there a (conceivable) Maven build that uses

Re: overriding goal's configuration from command line?

2011-04-14 Thread Tim Kettler
Hi, you can look that up in the documentation of the goal [1]. If an expression is defined for a parameter that is what you can use as a property on the commandline. In your example: -Dmaven.compiler.source=1.5 -Tim [1] http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html

Re: Reuse of configuration

2011-04-12 Thread Tim Kettler
Am 12.04.2011 00:50, schrieb emerson: All my CI configuration is done in a profile (build and report plugins). This is so that I have the option to not generate the reports when running an on demand CI, and to generate only during nightly builds. As all my projects will have the same number of

Re: How to get my plugin to execute in a particular phase?

2011-04-12 Thread Tim Kettler
Am 12.04.2011 01:50, schrieb Hilco Wijbenga: Hi all, Hi, I'm following the online documentation to write a plugin (http://maven.apache.org/guides/mini/guide-configuring-plugins.html). I have package sample.plugin; import org.apache.maven.plugin.AbstractMojo; import

Re: Missing artifact org.apache.cxf

2011-04-12 Thread Tim Kettler
In fact, the artifact in question is an osgi bundle build with the maven-bundle-plugin and as such has the packing set to 'bundle'. Normally one refers to such artifacts just like normal 'jar' artifacts omitting the type. If you need to refer to them as 'bundle' artifact you need to add the

Re: Missing artifact org.apache.cxf

2011-04-12 Thread Tim Kettler
I should have expressed myself more clearly. The preferred solution is just to omit the type element. and declare the dependency like Stuart showed in his mail: dependency groupIdorg.apache.cxf/groupId artifactIdcxf-bundle/artifactId version2.3.3/version

Re: pluginManagement is confusing me..

2011-04-11 Thread Tim Kettler
The documentation is a little bit ambigious. What it means is: In pluginManagement you specify the default configuration and versions of plugins used unless explicitly overwritten. Think of it as a template. No plugin goal is executed just because you mention it in pluginManagement section.

Re: Default phase of a plugin

2011-04-11 Thread Tim Kettler
Am 11.04.2011 10:39, schrieb amaresh mourya: Hi All, Hi, I created my own plugin and bind a goal to 'install' phase via '@phase install' in the goal's MOJO. My question is if I run this goal via myPlugin:Mygoal in command line, will it execute all the previous phases? I am expecting all

Re: source:jar includes resources; source:test-jar does not; similarly fo jar:jar and jar:test-jar

2011-04-11 Thread Tim Kettler
Hi, Am 11.04.2011 13:00, schrieb sebb: I'm trying to add source and binary test jars to a project. Now source:jar works fine; it picks up NL from theresources section. However, source:test-jar appears to ignore theresources section - is that intentional, or an oversight? In any case, how

Re: Activate differernt profiles in Multimodule projects

2010-06-04 Thread Tim Kettler
Hi, wouldn't adding a specialized parent pom for modules containing idl files to your project work? -Tim On 04.06.2010 10:33, MartyMcFly wrote: thanks for the answer. Sorry I probably should have add more information. It is generated source code. We have IDL files for Corba which are in

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-13 Thread Tim Kettler
Brian Fox schrieb: On Mon, May 11, 2009 at 9:48 AM, Todd Thiessen thies...@nortel.com wrote: Are there many cases where you want something for compilation that isn't needed at runtime? I don't see them as being separate. Really? I am surprised. Yes there is a relation between compile and

Re: Relative Path to a Local Repo

2009-03-18 Thread Tim Kettler
Jeremy Sager schrieb: Is there any way to specify the local repo to use from the command line? I was not able to figure that out either but if it's possible to do that would represent a perfect solution. mvn -Dmaven.repo.local=path ... -Tim

Re: compiltaion of .java problem

2009-01-21 Thread Tim Kettler
SHAILJA schrieb: Hi, Hi, I have directory strucute like this a/b a/c a/d.java a/e.java Understood. I have one pom.xml under a directory .. Having code for compilation and redirecting directories from there Like m 4.0.0 a 1.0

Re: Can the maven-upload-plugin be used in a open source project?

2009-01-19 Thread Tim Kettler
Jaikiran schrieb: I was working on a Maven project and was looking for a plugin which could upload some documentation to some remote location. While searching this mailing list i came across the maven-upload-plugin which is hosted at

Re: Access to e.g. jboss lib

2008-07-06 Thread Tim Kettler
, not as in the repository. But that is important, sometimes or? regards, buters Tim Kettler wrote: What does accessing the jboss jars has to do with plugins? Anyway, JBoss maintains an own maven repository [1] you can add to settings.xml or pom. I don't know if the specific jars you need are available

Re: Access to remote repositories

2008-07-06 Thread Tim Kettler
buters schrieb: Hi, Hi, would you explain me how can I acces to e.g. http://repository.jboss.com/maven2/ I know that I have to add this in settings.txt You probably mean settings.xml. servers server idartifactory/id usernameadmin/username passwordpassword/password

Re: Access to remote repositories

2008-07-06 Thread Tim Kettler
errors, set dependency manual and try to run Maven goals? Thanks beforehand, regards, buters Tim Kettler wrote: buters schrieb: Hi, Hi, would you explain me how can I acces to e.g. http://repository.jboss.com/maven2/ I know that I have to add this in settings.txt You probably mean

Re: Filtering of a SINGLE property

2008-07-06 Thread Tim Kettler
Hi, If you absolutely have go the way of filtering Java files, I would probably do it that way: 1. Put the java files to filter in a separate directory (src/main/java-filtered) 2. Add a filtered resource to the pom (target/generated/sources/java-filtered) 3. Make this additional source

Re: Access to e.g. jboss lib

2008-07-05 Thread Tim Kettler
What does accessing the jboss jars has to do with plugins? Anyway, JBoss maintains an own maven repository [1] you can add to settings.xml or pom. I don't know if the specific jars you need are available from there, but it's worth a try. -Tim [1] http://repository.jboss.com/maven2/ buters

Re: maven-ejb3-plugin

2008-06-22 Thread Tim Kettler
Hi, you don't need to use the maven-ejb3-plugin. It was developed because a draft version of the EJB3 specification contained a new .ejb3 packaging type. This new type was dropped for the final specification and the plugin never maid it out of the sandbox and was never released. Just use the

Re: regarding creating new maven project

2008-06-20 Thread Tim Kettler
Ravinder Kankanala schrieb: Hi Hi, neither the issues nor the developer mailinglists are the right place for this kinds of questions. Please ask usage related questions on the users list next time. Apart from these lists just being the wrong place to ask this kinds of question, the

Re: How to build a own goal

2008-06-15 Thread Tim Kettler
chokdee schrieb: Hi all, Hi, i am new to maven but have many experience in Ant. After reading Better Builds with maven... I didnt read how to build my own goals. Goals (also called mojos) are part of a plugin. How to develop new plugins is described in chapter 5 of the book you mention.

Re: Embedded error: Unknown artefact type[test-jar]

2008-06-15 Thread Tim Kettler
[INFO] Final Memory: 2M/5M [INFO] Regards, Mukta Jindal -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: 13 June 2008 10:42 To: Maven Users List Subject: Re: Embedded error: Unknown artefact type

Re: Glassfish, Maven, dependencies fail to download on bootstrap, build, whatever - SocketException: invalid argument

2008-06-14 Thread Tim Kettler
Hi, as you mention FreeBSD, perhaps you have the same problem as described here [1]. -Tim [1] http://www.nabble.com/java.net.SocketException---need-help-in-getting-started-to17650673.html#a17650673 Da Rock schrieb: I have to admit I'm a newbie to Maven, I'm following directions from 2

Re: Maven-Jboss-Packaging-Plugin error locating jboss-spring.xml

2008-06-12 Thread Tim Kettler
File a bug report in jira [1] to make the developers aware of it. -Tim [1] http://jira.codehaus.org/browse/MJBOSSPACK Andrew Madu schrieb: Problem solved! Even though the 'deploymentDescriptorFile' attribute is described as one which can be optionally set, this is not the case. It needs to

Re: Embedded error: Unknown artefact type[test-jar]

2008-06-12 Thread Tim Kettler
Hi, please show us the output of 'mvn help:effective-pom' for the ear subproject in question. -Tim JINDAL, Mukta, IDC schrieb: Please help.. I didn't get any clues till now... My application structure is as follows: main-project | |---project1 | | | |---pom.xml |

Re: Excluding packages and classes from jar

2008-06-10 Thread Tim Kettler
Hi, Peter Horlock schrieb: Hi Rémy, thanks for your reply. I also tried mvn package -Pmyflag, but this did't work out either - btw -p SPACE FLAG is what is said on the maven docu site: http://maven.apache.org/guides/introduction/introduction-to-profiles.html : mvn groupId:artifactId:goal -P

Re: Excluding packages and classes from jar

2008-06-10 Thread Tim Kettler
Peter Horlock schrieb: thanks a lot, this helped. One more, however: Now it creates the jar as it should, but I would like to have a different name for it when installating it into the local / remote repo. Under target, it creates: myproject-mysubversion-1.1.jar but when installing or

Re: Creating a Custom Artifact Handler

2008-06-09 Thread Tim Kettler
Andrew Madu schrieb: Hi Tim, Perfect! That does exactly what I want. One thing I would like to know, and in relation to the 'standard directory layout', is if I have the following directory in my project: src/main/webapp shouldn't a corresponding web/web-inf directory structure also be part

Re: Creating a Custom Artifact Handler

2008-06-08 Thread Tim Kettler
Andrew Madu schrieb: Hi, Hi, can anyone tell me the location of the jar which allows for the creation of custom artifact handlers in its component.xml file? The default artifact handlers are defined in maven-core's component.xml [1] but you don't need to modify this if you want to use a

Re: need help in ant's javadoc task (from maven)

2008-06-07 Thread Tim Kettler
Niranjan Deshpande schrieb: so whts wrong in my case? The antrun-plugin by default, to don't bloat the build, only provides access to the core ant tasks. If you want to use other ant tasks (like echoproperties/) you need to declare the jar containing them as a depenendency of the plugin.

Re: Calling ant tasks from maven pom

2008-06-06 Thread Tim Kettler
need to invoke the ant scripts standalone, I would move the configuration back inside the defined execution. -Tim On Thu, Jun 5, 2008 at 6:53 PM, Tim Kettler [EMAIL PROTECTED] wrote: Hi, (again :-) ) Niranjan Deshpande schrieb: I am trying to execute ant tasks from maven's pom as below

Re: plugin jar: A better way to add custom classpath entries in manifest file?

2008-06-05 Thread Tim Kettler
Hi, Maximilian Eberl schrieb: The problem: I have resources OUTSIDE the jar like config files that have to be edited by the user and resources IN the jar, so that the user cannot accidently delete or willingly replace them. Images, for example. Using those in a (SWT-)class would look

Re: Ant Task - Build maven pom.xml

2008-06-05 Thread Tim Kettler
Hi, halsafar schrieb: I am trying to write an ant script to automate some maven tasks and hopefully decide not to rebuild the entire thing if it detects no changes. Just to give an idea I am working with Jasig CAS Server which has several modules all which are Maven projects. The build time

Re: download maven-antrun-plugin

2008-06-05 Thread Tim Kettler
Hi, Niranjan Deshpande schrieb: please give me the link from where I can download this plugin. You don't need to download a plugin in maven 2 manually, just configure it in your POM and maven will take care of downloading it to your local repository during execution. On the plugin

Re: [m2] Error getting reports from the plugin 'org.apache.maven.plugins:maven-project-info-reports-plugin'

2008-06-05 Thread Tim Kettler
Hi, Mick Knutson schrieb: I have the following for my reports declaration: ... Then I noticed Checkstyle 2.2 got downloaded this morning on my build (mvn site actually), but then I got this failure: [...] Could this be related to this [1] recent discussion on the dev list. I haven't

Re: Calling ant tasks from maven pom

2008-06-05 Thread Tim Kettler
Hi, (again :-) ) Niranjan Deshpande schrieb: I am trying to execute ant tasks from maven's pom as below. plugin artifactIdmaven-antrun-plugin/artifactId version1.1/version executions execution phasegenerate-sources/phase configuration tasks exec

Re: Need help | Getting NPE while using mvn install

2008-06-04 Thread Tim Kettler
JINDAL, Mukta, IDC schrieb: Hi All, Hi, I am getting following error while using mvn install though mvn package is working fine. Judging from the stacktrace below you ran 'mvn deploy', not 'mvn install' (see the reference to the deploy mojo). As the deploy phase is executed after the

Re: Need help | Getting NPE while using mvn install

2008-06-04 Thread Tim Kettler
JINDAL, Mukta, IDC schrieb: Thanks for the reply, Tim. I am executing mvn install, not mvn deploy. But 'mvn install' should only install the project's artifact in your local repository (~/.m2/repository/...) and not try to deploy it to a remote repo. Or have you configured the deploy plugin

Re: Need help | Getting NPE while using mvn install

2008-06-04 Thread Tim Kettler
JINDAL, Mukta, IDC schrieb: But 'mvn install' should only install the project's artifact in your local repository (~/.m2/repository/...) and not try to deploy it to a remote repo. Or have you configured the deploy plugin in yor pom to run in the install phase, which IMHO would be a bad

Re: java.net.SocketException - need help in getting started

2008-06-04 Thread Tim Kettler
Hi, googling hints that it's a bug in the java sdk on freebsd. There is a similar bug report like yours for freebsd 6 posted for IDEA [1] which says that IPv6 support in the jdk is the problem. This [2] is another bug report of the same problem with the solution to set the JAVAVM_OPTS like

Re: Embedded error: Prohibited package name: java.lang

2008-06-01 Thread Tim Kettler
Hi, John schrieb: I am trying to use Maven 2.0.9 on OS X, with the latest Apple updates, and am getting the following error when I run a basic mvn install site command: [INFO] Compiling 1 source file to /Users/john/downloads/jms-mdb-sample/jms-mdb-sample-ejb/target/classes [INFO]

Re: Forcing site plugin version

2008-05-29 Thread Tim Kettler
Hi, just add this to your pom: pluginManagement plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId version2.0-beta-7/version /plugin /plugins /pluginManagement 2.0-beta-7 isn't released yet, so you will

Re: What goals are available by defaut?

2008-05-29 Thread Tim Kettler
Hi, unlike with maven1 there are no bundled plugins distributed with maven2, everything is downloaded on demand. The plugins developed by the maven team are listed here [1] and another huge collection of plugins is developed by the mojo project on codehaus.org [2]. If you're searching a

Re: Forcing site plugin version

2008-05-29 Thread Tim Kettler
Correct, project/build/pluginManagement. Lalor, Brian schrieb: -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 2:53 AM To: Maven Users List Subject: Re: Forcing site plugin version Hi, just add this to your pom: pluginManagement

Re: [SURVEY] How does your team retrieve artifacts?

2008-05-22 Thread Tim Kettler
[x] Our team uses HTTP to retrieve our artifacts HTTPS actually [ ] Our team uses the filesystem Don't using this at the moment, but I think a filesystem based repository could be really useful for example when one wants/needs to ship a repository with a product. -Tim Jason van Zyl

Re: RES: Problem with classloader in maven plugin

2008-05-22 Thread Tim Kettler
-plugin (as someone on the dev list already wrote). Thanks -Tim -Mensagem original- De: Tim Kettler [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 21 de maio de 2008 10:57 Para: Maven Users List Assunto: Re: Problem with classloader in maven plugin Hi, you've missunderstood

Re: WAS6-plugin error

2008-05-21 Thread Tim Kettler
Hi, I've never used the was-plugin, but looking at the documentation and source code, it seems that the default assumption of the 'installAp' goal is that it is running as part of a maven build. The 'earFile' parameter is automatically populated with the current projects main artifact [1],

Re: AW: WAS6-plugin error

2008-05-21 Thread Tim Kettler
? -Ursprüngliche Nachricht- Von: Tim Kettler [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 21. Mai 2008 10:58 An: Maven Users List Betreff: Re: WAS6-plugin error Hi, I've never used the was-plugin, but looking at the documentation and source code, it seems that the default assumption

Re: Problem with classloader in maven plugin

2008-05-21 Thread Tim Kettler
Hi, you've missunderstood the concept of a context classloader. A documentation bug [1] is open since a long time. Setting the context classloader doesn't mean that all classes created from that point on are created through this classloader. See here [2] and [3] for more information. [1]

Re: AW: How to install / deploy a custom artifact?

2008-05-20 Thread Tim Kettler
Hi, if you build the zip with the assembly-plugin just use the singe or attach goal to build the assembly. It will then get attached to the project automatically and the deploy plugin will deploy it alongside the other project artifacts in the deploy phase. If you generate the zip in some

Re: duplicate war directory inside WEB-INF/classes

2008-05-19 Thread Tim Kettler
Hi, I just tried with your POM (obviously without parent) and a simple test project: . |-- pom.xml `-- src `-- main |-- resources | `-- test.properties `-- webapp |-- WEB-INF | |-- beans | |-- defs

Re: classpath fileseparator problem in generated manifest file under winxp

2008-05-19 Thread Tim Kettler
What do you mean by working example? you project build is behaving exactly as it should. Class-path entries in a jar manifest are ...relative URLS .. [1] and a file URL per definition [2] (section 3.10) contains forward slashes. If your library-jars are located in the same directory as the

Re: Maven not recognising the local repository

2008-05-18 Thread Tim Kettler
Hi, More information is needed to solve your problem. Can you post the exact error message maven prints (probably it would be best to post the relevant output from the build log running maven with -X). How was the repository poulated? Did maven download the dependencies at one point and now

Re: filtering web.xml

2008-05-17 Thread Tim Kettler
Henri Gomez [EMAIL PROTECTED]: I tested with 2.1-alpha and same problem ;( 2008/5/16 Tim Kettler [EMAIL PROTECTED]: It's a bug in the war plugin. The resource filtering is seriously borked there, see here [1] for a bug report back from Nov 2007. The obvious and simple workaround would

Re: Component descriptor cannot be found in the component repository: org.apache.maven.lifecycle.mapping.LifecycleMappingmaven-archetype.

2008-05-16 Thread Tim Kettler
Hi, an archetype project is a standard jar project. There is no specific 'maven-archetype' packaging defined, hence the error. Just omit the packaging/ declaration or change it to 'jar'. Have a look here [1] for a short introduction of how to create archetypes by hand and here [2] for a

Re: filtering web.xml

2008-05-16 Thread Tim Kettler
Hi, I do it like this: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration webResources webResource directory${basedir}/src/main/webapp/WEB-INF/directory

Re: filtering web.xml

2008-05-16 Thread Tim Kettler
thing, excepted targetPathWEB-INF/targetPath It works now ! 2008/5/16 Tim Kettler [EMAIL PROTECTED]: Hi, I do it like this: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration webResources

Re: filtering web.xml

2008-05-16 Thread Tim Kettler
Tim Kettler [EMAIL PROTECTED]: Strange, indeed. Looks like a bug to me. I tried with this in web.xml and no filter property files: pom.name: ${pom.name} user.name: ${user.name} name: ${name} foo.name: ${foo.name} pom.version: ${pom.version} os.version: ${os.version} version: ${version

Re: how to debug Maven Model?

2008-05-15 Thread Tim Kettler
Hi, MavenXpp3Writer is part of the maven-model artifact. It's a class generated by the modello-maven-plugin. To get the sources you can either check out maven 2.0.9 from svn [1] and generate the sources yourself or grab the source artifact from central [2]. -Tim [1]

Re: mvn add test folders

2008-05-11 Thread Tim Kettler
Hi, trying to answer your questions one after the other: 1. Your original question (How to ensure your testdata directory gets copied to test-classes): By default maven expects resources for unit testing that should end up in the classpath in src/test/resources. If you have resources in

Re: How to restrict deploy

2008-05-06 Thread Tim Kettler
Hi, just adjust the filesystem permissions on the FTP-Server so that only authorized people can deploy. Or give only login access to this group of people. -Tim Subramanian, N.Venkata schrieb: Hi Our maven repository is such that anybody ( in our team ) can deploy artifacts into the

Re: Maven project in IDEA

2008-05-04 Thread Tim Kettler
FlashXL schrieb: How can I generate POM-file form existing IDEA project? I don't think this is possible at the moment. Neither the maven provided idea plugin nor IDEA itself support this. There was a 'Idea Maven2 Kick Start Plugin' mentioned for last years plugin contest [1] but I don't

Re: Forcing the execution of a phase before a goal

2008-05-04 Thread Tim Kettler
Hi carioca, A maven build consists of a lifecycle. A lifecycle is defined by an ordered list of phases (like compile, test, install ...) each phase execution includes the execution of all other phases before it. And finally there are goals that are bound to a specific phase of the lifecycle.

Re: Problem with pdfbox-0.7.3.pom

2008-04-25 Thread Tim Kettler
Hi, Marc Schneider schrieb: Hello, I don't know if this is the right place to talk about this Not really. You should contact the reucon guys directly, as it is their repository. but I think that this pom is wrong ; [...] And this is one of the reasons one should think very carefully

Re: embedded maven engine

2008-04-11 Thread Tim Kettler
Hi, there is a project called maven-embedder [1] for integrating maven in other application (IDE's ...). You also may want to have a look at two other projects that might provide what you are looking for. First there is POMStrap [1], its an application bootstrapper working with pom files. And

Re: Looking to make internal repository externally access

2008-04-11 Thread Tim Kettler
Hi, for basic auth just put a server/ element [1] with the same id as your repository definition in your settings.xml. If you want more security than just basic auth, there is a guide [2] describing authentication with client certificates over https on the maven homepage. -Tim [1]

Re: where to find maven 2 simian report plugin?

2008-04-10 Thread Tim Kettler
Hi, the plugin is here [1]. However, there seems to be no release of it yet. You can subscribe to the mojo project's mailinglist and ask the there for an release. Or you can grab the sources from here [2] and and just make an internal release of the plugin. -Tim David Delbecq schrieb: Hello,

Re: package does not exit error with 3rd party jar dependency

2008-03-24 Thread Tim Kettler
Hi, As Simon guessed, too, I guess it's just a char-set/file-encoding issue. Can you go to a plain texteditor available on your platform (notepad, gedit, kate, nano ... whatever is available) and create a simple test class in src/main/java: Test.java: import com.gigaspaces.*; public

Re: inherit execution only for packaging war

2008-03-20 Thread Tim Kettler
Wendy Smoak schrieb: On Wed, Mar 19, 2008 at 6:51 AM, Kees van Dieren [EMAIL PROTECTED] wrote: In our root pom.xml we have the maven war plugin defined: ... On mvn package, it will run mvn war:inplace, but not only for war artifacts, but also for jar artifacts. How can we make this

Re: ejb building not working

2007-10-31 Thread Tim Kettler
Hi Costa, I moved this back to the maven-users list, other people might be interested in this, too. Have you checked that your ejb-xml.jar exists in ${project.build.outputDirectory}/META-INF/ ? This would translate to target/classes/WEB-INF if you stick to the pom defaults. If you target EJB

Re: Maven runs surefire plugin for testing by default. How to change this?

2007-10-30 Thread Tim Kettler
Hi, as Brett told you on the dev list, just use the skip parameter to disable surefire execution. The surefire plugin is bound to the lifecycle by the default packagings and can't be removed. -Tim Kalyan Akella schrieb: Hi, Recently, I developed a Java-based maven plugin intended to run in

Re: HOW TO RUN MULTIPLE PACKAGING USING DIFFERENT ENV?

2007-10-29 Thread Tim Kettler
concept missing? I don't think so. I didn't had filtering (and some other things) in mind when i gave this approach. Buildung for multiple environments in one go will not work in this cases (probably in no cases than really simple ones), just build one after the other. Tim Kettler wrote: Hi

Re: Activate Profile

2007-10-29 Thread Tim Kettler
OMax schrieb: When I attempt to activate a different profile on the Maven command line, I _still_ get the activeByDefault profile, and not the one I wanted. It's opposite of what I have, at least on 2.0.7. If I activate different profile it's taken into the account but not the default one.

Re: use a dependency in system scope witout version

2007-10-29 Thread Tim Kettler
Hi, have a look at the dependency guide [1] for the correct usage of system scope dependencies. It boils down to: groupId/artifactId/version are your choice (somthing like sun.jdk/runtime/1.5.0.11 will do in your case), systemPath is not the path of the directory of the jar, but the path of the

Re: Debugging failed junit-test

2007-10-26 Thread Tim Kettler
Hi, Jan Torben Heuer schrieb: Wayne Fay wrote: I'm not sure that I understand you entirely, but here goes If you have shared test files, you will need to create a test-jar artifact and add it as a dependency to any projects that need to use it. This is documented in a mini-guide:

Re: maven package error

2007-10-23 Thread Tim Kettler
Hi, try to run it from a directory without spaces in the path. -Tim rgarciafernandez schrieb: [INFO] Scanning for projects... [INFO] [INFO] Building Unnamed - inventory:inventory:war:0.0.1 [INFO]task-segment:

Re: How to configurate java.class.path property under a given test

2007-10-23 Thread Tim Kettler
David schrieb: Dear members, I have a method that find a file on classpath and I want to check that it works fine. My testing class works fine under Eclipse, for example but under mave it doesn't work properly. The reason is that during the testing process I assume there is at least a

Re: maven package error

2007-10-23 Thread Tim Kettler
artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin /plugins /build Tim Kettler wrote: Hi, try to run it from a directory without spaces in the path. -Tim

Re: potential bug (urgent): snapshot download not working

2007-10-23 Thread Tim Kettler
Hi, aldana schrieb: hi already started a thread, see http://www.nabble.com/stuck-state-when-downloading-snapshots-tf4672399s177.html where i thought i did a configuration error. but now i really think i am heading to a bug, which is very critical and severe (in fact it makes working with

Re: How to configurate java.class.path property under a given test

2007-10-23 Thread Tim Kettler
Memory: 4M/7M [INFO] P:\ceb2b2000-commons\ceb2b2000-commons-io - Original Message From: Tim Kettler [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Tuesday, October 23, 2007 3:07:48 PM

Re: Artifact [...] is not a dependency of the project

2007-10-22 Thread Tim Kettler
Hi, you have to declare the ejb-jar and war as normal dependencies in the dependencies section of the ear's pom. The module section in the ear-plugin configuration is only used for customizing some details of a module (like you have done with the context root). So your pom should look similar to

Re: maven compile ejb example error

2007-10-20 Thread Tim Kettler
Hi, the Stateless annotation is part of the ejb api. You need this artifact: dependency groupIdorg.apache.geronimo.specs/groupId artifactIdgeronimo-ejb_3.0_spec/artifactId version1.0/version /dependency -Tim [EMAIL PROTECTED] schrieb: I follow the example from

Re: Possible conflict with ejb and jar plugins

2007-10-19 Thread Tim Kettler
I think the reason he's using both plugins is that the ejb-plugin currently doesn't provide the includes/excludes configuration as the jar plugin. So the intention is not to produce two (main) artifacts from the same pom but to just to have the ejb and a ejb-client jar. What happens with this pom

Re: M2 release:prepare fails with Subversion to tag SCM reason: Source url is from different repository

2007-10-19 Thread Tim Kettler
Hi, bmat schrieb: mvn release:prepare --- I recently had this problem using a local installation of subversion and using file uris e.g. developerConnectionscm:svn:file://localhost/repostory/myproject/trunk/developerConnection The syntax for urls is:

Re: assembly:single failing

2007-10-19 Thread Tim Kettler
Hi, is the pom where the assembly is build also used as the parent pom for the modules? If yes, you've hit a design flaw in maven. Currently, the parent relationship introduces a dependency from child to parent, hence the parent is build first and the artifact of the child doesn't exist yet. Look

Re: ejb building not working

2007-10-18 Thread Tim Kettler
Hi, the ejb-plugin checks, if ${project.build.outputDirectory}/META-INF/ejb-jar.xml exists if the ejb version is less than 3.0. Check if your ejb-jar.xml is really present in that location. -Tim EJ Ciramella schrieb: Has anyone run across this particular type of error: [ERROR] BUILD ERROR

Re: Javadoc Plugin 2.3 - Generating Doc caused Out of Memory -Xmx doent help

2007-10-18 Thread Tim Kettler
Hi, in the subject you say genereating the javadoc causes the OOME, but judging from the log output it seems it's in the antrun-plugin execution. Have you just tried invoking maven itself with more memory: mvn -Xmx... or MAVEN_OPTS=-Xmx... -Tim Mac-Systems schrieb: Hello, since yesterday

Re: How to specify repository on the command line?

2007-10-16 Thread Tim Kettler
Hi, just look at the appfuse homepage [1] there a examples for all archetypes on the quickstart page. -Tim [1] http://www.appfuse.org/display/APF/Home siegfried schrieb: I'm trying to use the appfuse-basic-string described at http://docs.codehaus.org/display/MAVENUSER/Archetypes+List and it

Re: Java doc generation

2007-10-16 Thread Tim Kettler
Hi, this is a known bug [1]. It's fixed in svn but a fixed version is not released yet. Aa a workaround, just create a symlink. -Tim [1] http://jira.codehaus.org/browse/PLXUTILS-34 Sinduria,Anuradha schrieb: Hi All, I want to do Java doc generation while doing mvn site on my UNIX

Re: Maven plugin for JPA processing

2007-10-16 Thread Tim Kettler
Hi, there is a apt-maven-plugin in the sanbox of the mojo project [1]. -Tim [1] http://svn.codehaus.org/mojo/trunk/sandbox/apt-maven-plugin/ Zarick Lau schrieb: Dear users and developers, I have come across an article on here

Re: Java doc generation

2007-10-16 Thread Tim Kettler
] Thanks and Regards, Anuradha Sinduria -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 1:47 PM To: Maven Users List Subject: Re: Java doc generation Hi

Re: Re : How to release if using testng

2007-10-12 Thread Tim Kettler
I'm using surefire-plugin 2.3 / TestNG 5.1 for my projects. -Tim Wim Deblauwe schrieb: Good idea, I probably don't use any of the newer funcationalities also. And what version of surefire do you use with 5.1? regards, Wim 2007/10/12, langlois yan [EMAIL PROTECTED]: Hi, As I do not

Re: [m2] SSL certificate name does not match

2007-10-11 Thread Tim Kettler
Where's the link :-)? David Williams schrieb: Adrian, This link may help you. This java program allows you to manually accept the cert and place the generated file in your JDK or JRE. Then the java keeps it as an accept cert. I have not tried this with Maven but it worked with another

Re: [m2] filtering the filter.properties?

2007-10-11 Thread Tim Kettler
Mick Knutson schrieb: I have a property in my filer.properties that I want to filter with the project version property like: c2.calculateCOBTotal.service.url = http://localhost:/orabpel/default/CalculateCOBTotal/${project.version} But it does not seem to filter the project.version. Any

  1   2   3   4   5   >