Re: Simple question I think - how can I default to local repo if connection to internal repository is down?

2008-12-30 Thread Tim
Use the offline flag On Tue, Dec 30, 2008 at 1:31 PM, Rick ric...@gmail.com wrote: I've googled this and tried to search the archives but it's hard to get a direct hit. We are using an internal repository but if for some reason that repository goes down, isn't there a way the maven build

Re: mvn deploy - no route to host exception

2008-12-22 Thread Tim
I had this problem recently but I thought that -X showed me what it was trying to connect to. That didn't work for you? On Mon, Dec 22, 2008 at 1:45 PM, EJ Ciramella ecirame...@upromise.comwrote: I said please didn't I ;-) Point taken - just posting here as well so people who google No path to

Re: mvn deploy - no route to host exception

2008-12-22 Thread Tim
) ... 28 more -Original Message- From: Brian E. Fox [mailto:bri...@reply.infinity.nu] Sent: Monday, December 22, 2008 3:41 PM To: Maven Users List Subject: RE: mvn deploy - no route to host exception -e will also show the full stack trace. -Original Message- From: Tim

using the maven-source-plugin

2008-11-10 Thread tim tim
/goal /goals /execution /executions /plugin /plugins /pluginManagement /build thanks a lot, tim

mvn2 url resolution for SNAPSHOT sources wrong

2008-10-13 Thread tim tim
--- thank you, tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What it is repository.xml file

2008-09-16 Thread Tim Moloney
. See http://cwiki.apache.org/FELIX/apache-felix-maven-obr-plugin.html for more information. Tim Brett Porter wrote: repository.xml is not a Maven file - is there a plugin running shortly before this in the output that is attempting to read it? - Brett 2008/9/16 tomascejka [EMAIL PROTECTED

Re: Access to e.g. jboss lib

2008-07-06 Thread Tim Kettler
when bulk importing a directory of jars. .Tim buters schrieb: I was simply trying to avoid 30 dependencies in my pom.xml. I thought that I can only have one reference to all libraries. Furthermore I don't know versions of plugins, that jboss uses. Here jar-files stand without any version

Re: Access to remote repositories

2008-07-06 Thread Tim Kettler
which id, username and password should be used. But which id, username and password must I use for other remote repositories (beside central)? Thanks beforehand, regards, buters -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Access to remote repositories

2008-07-06 Thread Tim Kettler
/information about this topic. It would probably also be useful if you would tell which eclipse plugin you are using, as there are two of them: m2eclipse and q4e. -Tim [1] http://repo1.maven.org/maven2/.index/ buters schrieb: Thank you very much Tim. But it would be fine if you me explain, why am I

Re: Filtering of a SINGLE property

2008-07-06 Thread Tim Kettler
directory known with the build-helper-maven-plugin [1]. -Tim [1] http://mojo.codehaus.org/build-helper-maven-plugin/ Peter Horlock schrieb: Well, sure, we COULD do it at runtime, but a) this would cost performance (okay, to be honest, of course, it could once be loaded and runtime and so

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
the standard maven-ejb-plugin. -Tim langlois yan schrieb: Hi, I would like to use EJB3 in my application. As I want to use an EAR archive which contains un web module and an EJB3 module I need to package my ejb3 with maven-ejb3-plugin and not with maven-ejb-plugin. This behaviour is mandatory

Re: regarding creating new maven project

2008-06-20 Thread Tim Kettler
in Advance. Regards, KRReddy -Tim [1] http://maven.apache.org/guides/mini/guide-proxies.html [2] http://maven.apache.org/guides/getting-started/index.html [3] http://maven.apache.org/articles.html - To unsubscribe, e-mail

Re: How to build a own goal

2008-06-15 Thread Tim Kettler
builds, because this 'masterbuild goal' as you call it is probably exactly what the pom.xml is meant for. If you can describe in more detail what your masterbuild goal should do, we can help you do it the maven way. Regards Juergen -Tim [1] http://maven.apache.org/plugins/ [2] http

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

2008-06-15 Thread Tim Kettler
What I was guessing is, that you declared an artifact with a 'test' classifier in the modules section of the ear, as the artifact type for test jars is 'test-jar', which is not supported by the ear plugin. However, I can't see such a declaration in your pom. -Tim JINDAL, Mukta, IDC schrieb

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

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
/configuration /plugin After 'mvn package' the resulting jar contained just pkg1/Class2.class, just as expected. Thanks in advance, Peter Hope this helps -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Excluding packages and classes from jar

2008-06-10 Thread Tim Kettler
/dependency Thanks guys, Peter Horlock -Tim [1] http://maven.apache.org/plugins/maven-install-plugin/install-mojo.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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
this I stumbled upon the jboss-packaging-maven-plugin [2] over at the mojo project. Incidentally, this plugin provides the spring dependency type you talk about in your other thread. My pltfoem is as follows: WIN XP SP1 JDK 1.6.0_06 Maven 2.0.9 Many thanks in advance. -Tim [1] http

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

2008-06-07 Thread Tim Kettler
. For the echoproperties/ task the only dependency you need to declare should be: dependency groupIdant/groupId artifactIdant-nodeps/artifactId version1.6.5/version /dependency -Tim On Fri, Jun 6, 2008 at 7:31 PM, Sean Hennessy [EMAIL PROTECTED] wrote: of course

Re: Calling ant tasks from maven pom

2008-06-06 Thread Tim Kettler
Niranjan Deshpande schrieb: Tim i indeed wht u suggested tasks ant antfile/ /tasks but the build xmls just dont seem to to reached.. It's working for me with this test project: . |-- pom.xml `-- src `-- main |-- antscripts | |-- antscript1.xml

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

2008-06-05 Thread Tim Kettler
Task of adding a ClassPath entry to the manifest file. OK, it did what I expected, but isn't there a more elegant way to do it? For example a simple classPathEntry-Tag in the archiver plugin could do the work. -Tim [1] http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv

Re: Ant Task - Build maven pom.xml

2008-06-05 Thread Tim Kettler
, they don't enable ant to build a maven project. Anyway, here [1] is the link to the official homepage containing usage instructions. -Tim [1] http://maven.apache.org/ant-tasks.html - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: download maven-antrun-plugin

2008-06-05 Thread Tim Kettler
homepage [1] you can find instructions on how to configure it in your POM. -Tim [1] http://maven.apache.org/plugins/maven-antrun-plugin/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

2008-06-05 Thread Tim Kettler
followed the discussion closely, but skimming through your log it's about the same topic: site plugin, project-info-report and snapshots -Tim [1] http://www.nabble.com/Multiple-concurrent-SNAPSHOTs-for-MSITE-and-MPIR-isn%27t-working-to17607858.html

Re: Calling ant tasks from maven pom

2008-06-05 Thread Tim Kettler
which in turn triggers a few ant builds?!? Cant you just configure multiple calls of the ant/ task [1] in your antrun-plugin configuration and throw away the shell script completely? -Tim [1] http://ant.apache.org/manual/CoreTasks/ant.html

Re: Need help | Getting NPE while using mvn install

2008-06-04 Thread Tim Kettler
. -Tim *** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorised and regulated by the Financial Services Authority This e-mail message

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
version2.4.1/version /plugin /plugins /build -Tim [1] http://maven.apache.org/plugins/maven-help-plugin/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

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

2008-06-04 Thread Tim Kettler
this: export JAVAVM_OPTS_java=-Djava.net.preferIPv4Stack=true And finally this bug was reported [3] on the freebsd-java list some time ago. Hope this helps -Tim [1] http://www.jetbrains.net/jira/browse/IDEA-15976 [2] http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2007-11/msg00220

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

2008-06-01 Thread Tim Kettler
be very appreciative of any assistance to help me get past this. Thanks, John -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Forcing site plugin version

2008-05-29 Thread Tim Kettler
will have to build it yourself and then install it to your local repository or cut an internal release and deploy it to your internal repository. -Tim [EMAIL PROTECTED] schrieb: I am using Maven 2.0.9 and am running into the bug detailed here: http://jira.codehaus.org/browse/MSITE-211 Currently

Re: What goals are available by defaut?

2008-05-29 Thread Tim Kettler
] and having a look at one of the free books about maven [4], [5]. A collection of useful guides is available here [6]. -Tim [1] http://maven.apache.org/plugins/ [2] http://mojo.codehaus.org/plugins.html [3] http://maven.apache.org/guides/getting-started/index.html [4] http://www.sonatype.com/book/# [5

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
], which is obviously not available when you invoke the goal standalone. What should work, is that you specify the ear file explicitly on the command line: mvn -Dwas6.earFile=/path/to/my.ear was6:installApp Hope this helps -Tim [1] http://mojo.codehaus.org/was6-maven-plugin/installApp

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
] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4868493 [2] http://www.javaworld.com/javaqa/2003-06/01-qa-0606-load.html [3] http://www.javageeks.com/Papers/ClassForName/index.html -Tim Claudio Ranieri schrieb: Hi I am trying to create a maven plugin to jboss wsconsume, but I have a problem

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

2008-05-20 Thread Tim Kettler
other way, you can use the buildhelper-plugin [1] from the mojo project to attach arbitrary artifacts to your projects. -Tim [1] http://mojo.codehaus.org/build-helper-maven-plugin/ Nicolai Wöller schrieb: Hi again, I know that I have to use the deploy phase when I want to deploy an artifact

Re: duplicate war directory inside WEB-INF/classes

2008-05-19 Thread Tim Kettler
, checking when the error starts happening. By the way, the war plugin definition with the empty configuration in your pom.xml is redundant, the war plugin is executed by default if you specify packaging 'war'. -Tim aidanb5 schrieb: Hi, I'm trying to build a simple war using maven 2 the structure

Re: classpath fileseparator problem in generated manifest file under winxp

2008-05-19 Thread Tim Kettler
as the jar with the class-path entry you don't need a prefix at all. If the jars are located in a subdirectory called 'libs' you need to specify the prefix as 'libs/' -Tim [1] http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#Main%20Attributes [2] http://www.rfc.net/rfc1738.html

Re: Maven not recognising the local repository

2008-05-18 Thread Tim Kettler
just doesn't see them anymore or did you copy them there manually. Did you configure something in your settings.xml regarding the location of your local repository? -Tim NinaBinde schrieb: My project fails to compile since it is not recognising any of the packages in the repository

Re: filtering web.xml

2008-05-17 Thread Tim Kettler
visible to the developers that this is an urgent issue for users. -Tim [1] http://www.nabble.com/Releasng-the-war-and-deploy-plugins-to17155510.html Henri Gomez schrieb: There is a patch provided in http://jira.codehaus.org/browse/MWAR-133. How can I contact the maintener for a fix ? 2008/5/16

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

2008-05-16 Thread Tim Kettler
] for a description of the goals of the archetype plugin. -Tim [1] http://maven.apache.org/guides/mini/guide-creating-archetypes.html [2] http://maven.apache.org/plugins/maven-archetype-plugin/ Stefano Fornari schrieb: Hi All, I am building an archetype and since I took an example from somewhere

Re: filtering web.xml

2008-05-16 Thread Tim Kettler
way to do it since standard resources end up somewhere under 'target/classes' and I don't want that polluted with a web.xml file. -Tim Henri Gomez schrieb: Hi to all, In a war project I'd like to filter the src/main/webapp/WEB-INF/web.xml : ie : update the display name to include the pom

Re: filtering web.xml

2008-05-16 Thread Tim Kettler
to be the case even for custom properties like foo.version that are not defined anywhere. -Tim Henri Gomez schrieb: Strange. I could get thru filter ${user.home} or ${java.version} but not ${user.name} Any idea ? 2008/5/16 Henri Gomez [EMAIL PROTECTED]: Many thanks Tim. I was using the same

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] http://svn.apache.org

Re: mvn add test folders

2008-05-11 Thread Tim Kettler
directory (getBaseDir()). You can easily adapt this utility method from Plexus to your own TestCases and the create File objects in the way Deng suggested: File( getBasedir(), /target/test-classes/abc.doc ) Hope this helps -Tim [1] http://maven.apache.org/pom.html [2] http://maven.apache.org

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

Re: Maven project in IDEA

2008-05-04 Thread Tim Kettler
think this got implemented. -Tim [1] http://plugins.intellij.net/contest/entries/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Forcing the execution of a phase before a goal

2008-05-04 Thread Tim Kettler
. See here [1] or here [2] for a more comprehensive description. So what you can do is bind the goal in question to the phase just after the phase that should be executed before the goal. Hope that helps -Tim [1] http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

Re: Problem with pdfbox-0.7.3.pom

2008-04-25 Thread Tim Kettler
in the first place? Pdfbox [1] is available there. Does anybody know about this ? Thanks, Marc/ -Tim [1] http://repo1.maven.org/maven2/pdfbox/pdfbox/0.7.3/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: metrics report-plugin (for cyclomatic complexity + loc)

2008-04-22 Thread Tim Moloney
NCSS Maven plugin http://mojo.codehaus.org/javancss-maven-plugin/ Hopefully, others have used it and can give us tips, feedback, and comparisons against other possible tools. Tim - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Definitive Guide - is it real?

2008-04-14 Thread Tim O'Brien
Manfred, sorry it took me so long to respond. (I wasn't subscribed to the user list until yesterday ). On Apr 13, 2008, at 11:14 PM, Manfred Moser wrote: Jason van Zyl-2 wrote: Right, this is where the book-like features are missing from Doxia and though I would like to fix

Re: Definitive Guide - is it real?

2008-04-14 Thread Tim O'Brien
It's in the works. I think it would be better to write a book about writing a book, but only because I wanted to write that. Tim On Apr 14, 2008, at 11:07 AM, Dan Tran wrote: big +1. On Mon, Apr 14, 2008 at 8:23 AM, Brian E. Fox [EMAIL PROTECTED] wrote: Maybe we should add a chapter

[m2] pom filtering: pom.url vs propertyname.url

2008-04-12 Thread Tim Torbeyns
=the url of my database/ [/xml] Am I missing something ? Thanks in advance. Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ejb3 jboss persistence problem

2008-04-12 Thread Tim Torbeyns
am not a maven specialist but when I go to: http://repository.jboss.com/jboss/jboss-persistence-api/3.0.0-SNAPSHOT I see a lib folder don't know if this is ok for maven ? 2008/4/12, neo anderson [EMAIL PROTECTED]: Previously I successfully build ejb3 example with jboss version 4.2.2 by

Re: embedded maven engine

2008-04-11 Thread Tim Kettler
. And second there is PAX-Runner [3] from the OPS4J project which is a frontend for various OSGi frameworks (Concierge, Equinox, Felix and Knopflerfish) that can bootstrap from bundles specified as dependencies in a pom file. Hope that helps -Tim [1] http://maven.apache.org/guides/mini/guide-embedding-m2

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] http

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
by invoking maven with debug output enabled 'mvn -X ...' Maven then prints the classpath it's using for compilation. -Tim Avi Laviad schrieb: ok, thanks for the mailing tip - didn't thought about it. im using gmail and it made it automatically. i will keep replying at top for now like you

Re: inherit execution only for packaging war

2008-03-20 Thread Tim Kettler
the parent. The correct way to configure something like this, is to configure the war plugin in the pluginManagement/ section of the pom. The configuration is then picked up by child modules that have the war plugin in their lifecycle (like war modules). -Tim If you don't get more info here, I'd

Need some help

2007-12-19 Thread Tim Schulz
. Being relatively new to continuum, can someone explain where to look for the cause of the discrepancy. Also, can someone point me to some documentation on house keeping tasks that I need to be doing to keep continuum running optimally. Thanks. Tim Schulz 701-282-1042 Lead Staff Analyst Claims

Re: Profile activation based on JDK version

2007-12-11 Thread Tim Moore
-- and make sure that always only one gets activated exclusively? According to http://maven.apache.org/guides/introduction/introduction-to-profiles.html it matches the prefix of the JDK version, so 1.5 will match 1.5.0, 1.5.0_13, 1.5.1, etc. but not 1.6. -- Tim Moore / [EMAIL PROTECTED

Re: ejb building not working

2007-10-31 Thread Tim Kettler
3.0, configure the plugin to that version [1] and the plugin will not fail the build if the file is missing. -Tim [1] http://maven.apache.org/plugins/maven-ejb-plugin/usage.html Costa Argiroglou schrieb: Hi Tim, I currently have this problem but I don't know what to resolve it… Verry usefull

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

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
that should be configured or invoked always, it simply does not belong into a profile, but in the default build section (or wherever else it goes). Oleksandr Maksymchuk, http://omax.org.ua OMax -Tim - To unsubscribe, e-mail: [EMAIL

Re: use a dependency in system scope witout version

2007-10-29 Thread Tim Kettler
of the jar itself. -Tim [1] http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html Sonar, Nishant schrieb: Hi Can I use a dependency with scope=system with no version number I want to use rt.jar which is inside C:\Java\jdk1.5.0_11\jre\lib . now this jar

Re: Debugging failed junit-test

2007-10-26 Thread Tim Kettler
that with test scope. Jan -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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
as resources via the classloader. See this thread [1] for an example. -Tim [1] http://www.nabble.com/Problems-with-loading-non-Java-resources-from-classpath-in-JUnit--tests-tf3734983s177.html#a10605055 On the I have seen other posts about this problem, but without any real good solution

Re: maven package error

2007-10-23 Thread Tim Kettler
more light on what goes wrong. -Tim rgarciafernandez schrieb: I have no spaces in the path, or i don´t undestand u... sorry but we can't fix it :S basedirectory: ${project_loc} goals: package and th pom: packagingwar/packaging version0.0.1/version build plugins plugin

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

2007-10-23 Thread Tim Kettler
in maven-metadata-internal.xml are not correct. funny thing is that the timestamp is set two hours earlier as my system clock. -Tim [1] http://maven.apache.org/ref/2.0.4/maven-settings/settings.html - To unsubscribe, e-mail

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

2007-10-23 Thread Tim Kettler
David schrieb: Dear Tim, It works for me under eclipse, but not under maven from command line. On my code what I use is to get the system property using: System.getProperty(java.class.path); The property seems to contain the classpath used for the forked surefire execution and doesn't

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

2007-10-22 Thread Tim Kettler
free books on maven written by the deveoplers. You can find links to the books here [1], both give a good introduction to maven and the underlying concepts and both contain a complete example of a JEE app developed with maven. -Tim [1] http://maven.apache.org/articles.html [EMAIL PROTECTED

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 http

Re: Possible conflict with ejb and jar plugins

2007-10-19 Thread Tim Kettler
for this of course is to support the includes/excludes configuration in the ejb plugin, too. -Tim Wayne Fay schrieb: Is there a specific reason you're building both artifacts out of the one codebase? Can you not break it into 2 separate codebases and specify one as jar and the other as ejb

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

2007-10-19 Thread Tim Kettler
]. A file url to the path '/my/path' looks like this: file:///my/path You url is missing the leading slash of the path. -Tim I could not get this to work... so I installed Apache 2.0 (Note 2.0 NOT 2.2 cos this doesn't work with subversion apparently). Now using the following (NOTE

Re: assembly:single failing

2007-10-19 Thread Tim Kettler
the parent-pom features or the assembly building stuff to a separate pom. -Tim [1] http://www.nabble.com/Problem-attaching-assembly-to-multi-module-pom-project-tf4576505s177.html#a13063505n [EMAIL PROTECTED] schrieb: Hi again, (thanks to Stéphane Veyret for my previous question, I moved out

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

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 http://weblogs.java.net/blog/ss141213/archive/2005/12

Re: Java doc generation

2007-10-16 Thread Tim Kettler
The plugin executes 'javadoc -J-fullversion' to retrieve the version of the javadoc tool and expects output like this: java full version 1.5.0_11-b03 See here for reference [1]. Can you try if your javadoc prints the version information in some other format. -Tim [1] https://svn.apache.org

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

Re: Live cd of an development environment

2007-10-12 Thread Tim Moloney
From what little I know, it sounds like you are talking about Buildix. * http://buildix.thoughtworks.com/ * http://en.wikipedia.org/wiki/Buildix I just stumbled across it the other day. I haven't tried it yet, so I don't know much about it. Tim [EMAIL PROTECTED] wrote: Some time

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
resource directorysrc/main/resources/directory filteringtrue/filtering /resource /resources /build /project src/main/filters/filters.properties: myProperty=http://url/${project.version} src/main/resources/testfile: ${myProperty} -Tim

Re: How can I specify the output name using maven-assembly-plugin?

2007-10-10 Thread Tim Kettler
See my reply to your other mail. Dave Hoffer schrieb: Okay, if that's the case...how can I copy this file and give it the name I need? -Dave -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 11:37 AM To: users@maven.apache.org Subject: Re

Re: How can I specify the output name using maven-assembly-plugin?

2007-10-10 Thread Tim Kettler
the finalName/ tag. This won't change the extension, though. If you really need to have a non-standard extension for the packaging type of your assembly you have to use the antrun-plugin to rename/copy it. Any ideas how to get this work? -Dave -Tim [1] http://jira.codehaus.org/browse/MASSEMBLY

Re: How to generate-sources always ?

2007-10-10 Thread Tim Kettler
Hi, What exactly is your problem? Is the question in the subject still relevant or do you have some other problem now? -Tim Mac-Systems schrieb: Hello, my pom looks like this: build plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: How to generate-sources always ?

2007-10-10 Thread Tim Kettler
will) the antrun-plugin executes just fine and the problem is somewhere in the external ant script you invoke. -Tim Hi, What exactly is your problem? Is the question in the subject still relevant or do you have some other problem now? -Tim Mac-Systems schrieb: Hello, my pom looks like

Re: getting mvn to output what source files its compiling

2007-10-10 Thread Tim Kettler
your problem. -Tim EJ Ciramella schrieb: Hate to simpson's did it, but this was always a great feature of ant. Turning on this feature allowed me to see which class(es) were getting recompiled with each compiler pass. Typically it was a packaging statement gone awry. But I have no idea how

<    1   2   3   4   5   6   7   8   9   >