Re: [m2] target/classes/META-INF/persistence.xml - howto?

2006-01-05 Thread Tim Kettler
Hi, have a look at the getting started documentation here: http://maven.apache.org/guides/getting-started/index.html#How%20do%20add%20resources%20to%20my%20JAR? -Tim Darren Hartford schrieb: Hey all, Working on an EJB3 project and the 'test' continues to fail. I think I know why but not sure

Re: Maven 2.0.1 not getting installed???

2006-01-17 Thread Tim Kettler
Hi, if you do an 'echo %M2_HOME%' does it return the actual path to the directory where you installed maven to (e.g. 'C:\maven')? If M2_HOME is set correctly do an 'echo %PATH%'. In the returned string you should somewhere have a path to your maven bin directory '%M2_HOME%\bin' (of course %M2

deploy-file exception

2006-01-19 Thread Tim Kettler
Hi, when I try do deploy a 3d-party library to an internal repository via sftp the following exception is thrown (see further down for the complete trace): ... Caused by: Failure at com.jcraft.jsch.ChannelSftp.throwStatusError(Unknown Source) at com.jcraft.jsch.ChannelSftp.mkdi

Re: deploy-file exception

2006-01-19 Thread Tim Kettler
This is with maven 2.0.2 Tim Kettler schrieb: Hi, when I try do deploy a 3d-party library to an internal repository via sftp the following exception is thrown (see further down for the complete trace): ... Caused by: Failure at com.jcraft.jsch.ChannelSftp.throwStatusError(Unknown

Re: FW: deploy:deploy-file

2006-02-13 Thread Tim Kettler
Hi, It's 'groupId' not 'groupID' and 'artifactId' not 'artifactID'. Hope this helps -Tim Rasconi Luca (u.e.) schrieb: Hi all, im trying to deploy third party jars to my internal repository so i use deploy plugin in this way: mvn deploy:deploy-file -Dfile=classes12.jar -DgroupID=ojdbc -Dart

Re: ejb3 plugin

2006-03-07 Thread Tim Kettler
Hi Nidhi, you can checkout the maven-ejb3-plugin vie svn from the maven sandbox at: http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-ejb3-plugin you then probably also want the maven-par-plugin from: http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-par-plugin Once you ha

Re: ejb3 plugin

2006-03-07 Thread Tim Kettler
Tim Kettler schrieb: Hi Nidhi, you can checkout the maven-ejb3-plugin vie svn from the maven sandbox at: http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-ejb3-plugin you then probably also want the maven-par-plugin from: http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven

Re: ejb3 plugin

2006-03-08 Thread Tim Kettler
nging the version on maven archiver in pom.xml made install to work. I changed the version to point to 2.01. version in my local copy. /Nidhi -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 11:53 AM To: Maven Users List Subject: Re: ejb3 plugin Tim

Re: ejb3 plugin -- URGENT

2006-03-10 Thread Tim Kettler
persistence files(Entity Bean) and rest should be in ejb3. Is there a way I can configure these plugins to only include the wanted file? Also when do you think the fix you did in maven-ejb-plugin for making 'ejb-jar.xml' will be made available? Thanks Nidhi -Original Messa

[m2]Trouble with FTP deploy

2005-11-23 Thread Tim Kettler
Hi, I'm trying to a deploy via FTP with the maven ant tasks but am always hit by a NPE: --- deploy: [artifact:deploy] Deploying to ftp://spike/ BUILD FAILED C:\cygwin\home\tkettler\3d_party\alloy\build.xml:10: java.lang.NullPointerException at org.apache

Re: ejb3 plugins

2005-12-09 Thread Tim Kettler
://jira.codehaus.org/browse/MNG-1690 Freundliche Grüße / Best Regards Tim Kettler Marco Mistroni schrieb: hello alll, has anyone any idea on how can i get some maven plugins for ejb3? thanks and regards marco - To unsubscribe, e-mail

Re: Problems using ejb3

2005-12-20 Thread Tim Kettler
Hi, see http://jira.codehaus.org/browse/MNG-1690 -Tim Edwin van der Elst schrieb: Hi, I compiled the latest Maven from SVN and did the same for the maven-ejb3-plugin and maven-ear-plugin. I am trying to get the ejb.jar in the ear file with the .ejb3 extension for deployment under JBoss. The

Re: Problems using ejb3

2005-12-20 Thread Tim Kettler
n der Elst - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Freundliche Grüße / Best Regards Tim Kettler _ Lieterweg 24 58285 Gevelsberg Tel.: +49 2332 149814 Fax: +49 233

Re: javac: invalid flag: -source

2005-12-21 Thread Tim Kettler
hy at http://tinyurl.com/dvkbu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Freundliche Grü

Re: Installation problem

2005-12-23 Thread Tim Kettler
Hi, Abbs, David A schrieb: The machine has no internet connection its on a closed network, should it still not reference the local plug-in store? I have another problem when trying to install on window I get this when I try to run mvn --version ERROR: M2_HOME is set to an invalid directory.

Re: Maven - help

2005-12-29 Thread Tim Kettler
Hi, what do you want to do? Deploy the ear to your internal remote repository or deploy the ear to an application server? If you want to deploy to your internal remote repository just do an 'mvn deploy' -Tim jagan t schrieb: Hi, I tried for ear:deploy in maven in following 2 ways, but

Customn dependency scopes

2005-09-25 Thread Tim Kettler
Hi, I've set up a simple web-app (war) project with Maven 2. Now I need to place some artifacts from my repository (a few jar's accessed by JNLP) in the root of the war. Just declaring them as dependencies puts them in the WEB-INF/lib directory. Is it possible to define a new kind of depende

Re: Maven Webstart Plugin

2006-03-31 Thread Tim Kettler
Hi Jeff, I have the following in my .m2/settings.xml... - default spike.releases.3dparty Repository for third party libraries file:///C:/MavenRepo snapsho

Re: Maven Webstart Plugin

2006-03-31 Thread Tim Kettler
Forgot this: the webstart-maven-plugin depends on the keytools-maven-plugin from the mojo project so you have to checkout and install that as well (before you build the webstart-plugin). -Tim Tim Kettler schrieb: Hi Jeff, I have the following in my .m2/settings.xml

Re: Maven Webstart Plugin

2006-03-31 Thread Tim Kettler
Jeff, you can check out the plugin from: http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jar-plugin/ and then do the modifications mentioned here: http://mail-archives.apache.org/mod_mbox/maven-dev/200603.mbox/[EMAIL PROTECTED] -Tim [EMAIL PROTECTED] schrieb: Tim / Geoffrey, Woul

Re: Maven Webstart Plugin

2006-04-04 Thread Tim Kettler
Hi, Looking at the snippet below it seems you have defined a repository with the id 'central' which overrides the default central repository. Changing the id of your definition to something else should do the trick. -Tim [EMAIL PROTECTED] schrieb: [...] from the specified remote repositor

Re: Maven Webstart Plugin

2006-04-05 Thread Tim Kettler
Jeff Louw schrieb: It is working ... but: The generated launch.jnlp file does not appear to be correct. I think the problem is the template.vm overrides the information that has already been provided in the pom.xml ? How can I setup the template.vm so that a correct launch.jnlp is created ? A

Re: Maven Webstart Plugin

2006-04-06 Thread Tim Kettler
Ouch. You are using the velocity template that generates the jnlp file instead of a jnlp file template :-) Your jnlp file template should be an ordinary jnlp file with the exception that you can use the three variables '$dependencies', '$mainClass' and '$outputFile' which the plugin then sub

Re: Experiencing following problem on Building an Ear

2006-04-06 Thread Tim Kettler
Hi, for the 'activation' an 'mail' dependencies have a look at: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html -Tim [EMAIL PROTECTED] schrieb: Experiencing following problem on Building an Ear during compilation Any reason why, -> has the location changed and how do I c

Re: Can I activate a profile based on module type?

2006-04-06 Thread Tim Kettler
Hi, I never tried this but I think this could/should work: 1. You define the profiles in your parent pom like this library moduletype jar ... webapp moduletype war ... 2. In your modu

Re: manual install of logging not working

2006-04-07 Thread Tim Kettler
Hi, > required artifacts missing: > root.project.projects:logging:jar:1.0 Looking at this snippet from the log shows that maven is searching for an artifact with the groupId 'root.project.projects', the artifactId 'logging' and the version '1.0'. You installed the artifact with a groupId of

Re: Can I activate a profile based on module type?

2006-04-08 Thread Tim Kettler
equest. Wayne On 4/7/06, John Didion <[EMAIL PROTECTED]> wrote: That would be a lovely solution...unfortunately the property activation refers to system properties (i.e. specified on the command line), not project properties. I think you're right about packaging. It would be great to

Re: Is execution inheritance working ?

2006-04-12 Thread Tim Kettler
Hi, Maven includes the pom.xml by default under META-INF/maven/${grouId}/${artifactId}/pom.xml in the generated artifact. So if you just need the file during runtime it is already there :-) -Tim G.B. schrieb: Hi, I want to do something very simple : copy my pom file to a known location (in t

Re: Remove mavern folder in META-INF

2006-04-13 Thread Tim Kettler
You can add this to your pom to disable the inclusion of the maven folder: maven-jar-plugin false Hope this helps -Tim RobJac schrieb: My EJB project has a META_INF folder that i have placed under "resources" folder When I

Re: Is execution inheritance working ?

2006-04-13 Thread Tim Kettler
I created the following simple test project: test |--suba || |pom.xml |--subb || |pom.xml | pom.xml -- test: pom.xml --- 4.0.0 test test 1.0-SNAPSHOT pom testparent suba subb my

Re: Dependency not resolved when attempting to execute a Maven2-built jar file...

2006-04-13 Thread Tim Kettler
Hi, just to be sure I understood your mail correctly: When you use maven to build your project and install/deploy it to your repository all works as expected and the build suceeds. Now you want to actually run the created project by invoking something like 'java -jar MAINJAR.jar' and the Class

Re: Remove mavern folder in META-INF

2006-04-13 Thread Tim Kettler
Uups, my fault, due to some other plugin testing I had a snv version of the jar plugin installed. In the current released version this parameter isn't available. So as Mang said , if you really have to remove the maven specific files you have to use a recent snapshot version of the plugin or b

Re: Is execution inheritance working ?

2006-04-14 Thread Tim Kettler
I don't use eclipse so I can't say much about this. But when i run 'mvn eclipse:eclipse' it gives this warning: [INFO] [INFO] Building suba [INFO]task-segment: [eclipse:eclipse] [INFO]

Re: m2 how to package a manifest file in a jar

2006-04-21 Thread Tim Kettler
Gautham Pamu schrieb: Hi Everyone, Maven jar is create the manifest file but is it possible to package an existing file from the src directory. I need this to package an eclipse plugin and it already has a manifest file. Are there an special plugins to package eclipse plugins ? As far as I kn

Re: m2 how to package a manifest file in a jar

2006-04-21 Thread Tim Kettler
Wayne Fay schrieb: Is there a reason you can't move it?? So many people on this list make their lives "miserable" by ignoring Maven defaults/standards and rigging things to fit their own layout. I find it easier to simply adjust my projects to fit the expectations of Maven. If I remember cor

Re: Custom MANIFEST.MF

2006-04-24 Thread Tim Kettler
This merges the custom manifest with the generated one. org.apache.maven.plugins maven-{jar|war|ear}-plugin path/to/manifest/MANIFEST.MF RobJac schrieb: Hi, I am using Maven2 I am trying to package my projects as Jar/WAR/EAR and Maven generates its own version of MA

Re: [M2] - Third party artifact installation / parse error in POM

2006-04-24 Thread Tim Kettler
Hi, two remarks: 1. Regarding the unsupported protocol error: Can it be that you have specified a local file system repository somewhere (project pom, settings.xml) like this: C:/PATH/TO/REPO and forgotten to put the protocol part in front ('file://') so it tries to interpret your drive le

Re: [M2] - Third party artifact installation / parse error in POM

2006-04-25 Thread Tim Kettler
Simon Kitching schrieb: On Tue, 2006-04-25 at 08:54 +0200, Sharma, Jaikumar wrote: Thanks Tim for useful tip, I installed the thirdparty artifact, but did not use the option as you mentioned -- (-DgeneratePom=true). I would do this and let you know the results. Note: there are some jars (in pa

Re: w[m2]!!!

2006-04-25 Thread Tim Kettler
Hi, the war plugin tries to tell you that it can not find the 'web.xml' file in the source tree of your poject (the default location is 'src/main/webapp/WEB-INF/web.xml'). If your 'web.xml' file is at a non default location you can configure war plugin as shown below: org.apache.maven.plug

Re: [M2] : How to resolve package level dependencies

2006-04-26 Thread Tim Kettler
Hi, just to be sure I understood your problem correctly: In some class of project C you import a package/class that is defined in project D. And then, when you try to build project C the Java compiler fails with an error that it can't find the imported package/class. Correct? As Anshuman said

Re: NTLM Proxy problems

2006-04-27 Thread Tim Kettler
Hi, Have you read the proxy howto (http://maven.apache.org/guides/mini/guide-proxies.html)? Especially the paragraph cited below: "Please note that currently NTLM proxies are not supported as they have not been tested. You may be able to use the relevant system properties on JDK 1.4+ to make

Re: EJB3 Build

2006-05-04 Thread Tim Kettler
Hi, what EJB3 specific functionality are you talking about? -Tim Todd Orr schrieb: I understood that ejb3 functionality will not be built into the ejb-plugin until the spec is final. It looks like it's all set (http://www.theserverside.com/news/thread.tss?thread_id=40199). When can we expect t

Re: EJB3 Build

2006-05-05 Thread Tim Kettler
in the data-source name, unit-name (can be ${ project.name}) and a few properties - these can easily be configured in the tag of the plugin. There's no patch for that yet - I'm gonna need it next week so I probably will create a patch for it sometime soon... On 5/5/06, Tim Kettler <

Re: [m2] deploy not working

2006-05-10 Thread Tim Kettler
Vinod Panicker schrieb: On 5/11/06, Henry S. Isidro <[EMAIL PROTECTED]> wrote: On Thursday 11 May 2006 12:33 am, Vinod Panicker wrote: > Hi, > > I read all the guides for deployment, tried with wagon, without wagon, > single file deployment and private key authentication as well, but I'm > not a

Re: Jar instead of classes dir in War

2006-05-11 Thread Tim Kettler
Hi, can't you just create an extra jar project for the java sources and resources you don't want to end in WEB-INF/classes and declare it as a dependency. Hope this helps -Tim Wouter de Vaal schrieb: Hi, I would like know how to go about this scenario. I would like to create an exploded wa

Re: Followup : FW: how to : customized read-writable flags ..?

2006-05-11 Thread Tim Kettler
Hi yuvaraj, as Wayne wrote yesterday (at least in my timezone :-) ), your mail isn't very clear in describing what you actually want/what your problem is. It doesn't help if you post the same mail again. You need to be a lot more specific in explaining what you are trying to do and what your

Re: idea plugin, dependencies, their source and javadocs

2006-05-11 Thread Tim Kettler
Hi, Never tried it myself but looking at the mojo sourcecode it is configured as shown below. I think this is not available in the current release of the plugin, so you will have to use a snapshot/svn version. org.apache.maven.plugins maven-idea-plugin true true Hope this

Re: [m2] Developing eclipse plugins using maven

2006-05-16 Thread Tim Kettler
Hi, There was recently a post about a howto in development. Have a look at http://www.nabble.com/Eclipse-Plugin-Development-with-Maven-t942461.html#a4267979 -Tim Marcell Manfrin Barbacena schrieb: Hi, Any tips in developing eclipse plugins using maven? Tnx []s

Re: pluginManagement, purpose?

2006-05-16 Thread Tim Kettler
You can specify a default configuration for your plugins that the plugin definitions in child poms then pick up. This includes but is not limited to the version element. You can use all elements available in a 'normal' plugin definition. -Tim Wayne Fay schrieb: As far as I know, is essential

Re: [m2] idea plugin problems with xmlbeans-jsr-173-api dependency

2006-05-17 Thread Tim Kettler
Hi, there is no artifact at http://repo1.maven.org/maven2/xmlbeans/xmlbeans-jsr173-api/2.0-dev/ so I think you have to install it in your local repo by hand. -Tim Mikael Andersson schrieb: Hi Just ran a "mvn -U idea:idea" and the updated plugin fails to build! With the below error message:

Re: M2 - version and dependency

2006-05-17 Thread Tim Kettler
Hi, you can change the name of the generated artifact with the tag in you pom but that doesn't affect the naming of the artifact in a repository. As soon as you install/deploy that artifact to a repository maven uses a name in the form ${artifactId}-${version}.jar. So the answer to your que

Re: Build error

2006-05-18 Thread Tim Kettler
Hi, the error says that maven can't find the 'maven-dist-plugin'. This is correct because a plugin with this name doesn't exist (at least for maven 2, for maven 1 I don't know). What are you trying to do? Just build the project? then you need to execute 'mvn package' for example. If you want

Re: Build error

2006-05-18 Thread Tim Kettler
as found here: http://portals.apache.org/jetspeed-1/install.html#Installation -Tim Tim Kettler schrieb: Hi, the error says that maven can't find the 'maven-dist-plugin'. This is correct because a plugin with this name doesn't exist (at least for maven 2, for maven 1 I don't k

Re: Announce: New european (Amsterdam, NL) Maven 2.0 mirror

2006-05-18 Thread Tim Kettler
Great news!!! Just tested and the downloads are a lot faster now. Just one note. In the settings.xml example in your announcement you forgot the closing tags for , , and . -Tim Stefan Arentz schrieb: I just finished setting up a Maven 2.0 mirror that is located in the Amsterdam, The Netherl

Re: Announce: New european (Amsterdam, NL) Maven 2.0 mirror

2006-05-18 Thread Tim Kettler
Stefan Arentz schrieb: On 5/18/06, Tim Kettler <[EMAIL PROTECTED]> wrote: Great news!!! Just tested and the downloads are a lot faster now. But you are on the 'other' contintent! :-) If germany is the 'other' continent then I am :-) Universities here can get an .

Re: [M2] How to develop a JEE application

2006-05-19 Thread Tim Kettler
Hi, Just curious. Is JBoss 4.0.4 really J2EE 5 compliant? I thought they just ship it with a release candidate of their EJB3 implementation. -Tim Serge Emmanuel Pagop schrieb: Hi Jose, Glassfish is not the only Java EE 5 vendor, there are another vendors like JBoss.ORG with JBoss 4.0.4 AS.

Re: NPE using JavaCC

2006-05-23 Thread Tim Kettler
Stefano Fornari schrieb: Hi All, still struggling with JavaCC and Maven. I have the following pom: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.

Re: NPE using JavaCC

2006-05-23 Thread Tim Kettler
onfiguration problem (actually, the fact I get a NPE is probably a maven bug, but due to a not correct pom). Thanks for your reply. Stefano On 5/23/06, Tim Kettler <[EMAIL PROTECTED]> wrote: Stefano Fornari schrieb: > Hi All, > still struggling with JavaCC and Maven. I

Re: NPE using JavaCC

2006-05-23 Thread Tim Kettler
that the NPE is in the maven code, not > int the plug-in code but I am pretty sure it is a configuration > problem (actually, the fact I get a NPE is probably a maven bug, but > due to a not correct pom). > > Thanks for your reply. > > Stefano > > On 5/23/06, Tim Kettler

Re: ejb-client and transitive dependencies

2006-05-24 Thread Tim Kettler
Hi, I have two modules defined: my_ejb_client (jar) and my_ejb_implementation (ejb). Then declare a dependency to the client module in the rich-client module and the ejb implementation module. So the rich-client is totaly decoupled from the bean implementation. That said. This is with EJB 3.0

Re: Compiling sub-modules/artifacts in different jdks...

2006-05-24 Thread Tim Kettler
You can always use something like: org.apache.maven.plugins maven-compiler-plugin 1.4 1.4 to compile code for a specific jvm version. But this will use the jdk maven was started with to compile the code. Don't know if this is good enough for you. -Tim [EMAIL PROTECTED]

Re: Rar Plugin and dependencies - (MVN 2.0.4)

2006-05-31 Thread Tim Kettler
Can't you do it like this: project |--pom.xml | `--parent | |--pom.xml | `--rar | |--pom.xml | `--ear | |--pom.xml parent/pom.xml: --- 4.0.0 test test-parent 1.0-SNAPSHOT pom Parent axis axis 1.1

Re: Rar Plugin and dependencies - (MVN 2.0.4)

2006-05-31 Thread Tim Kettler
Carsten Karkola schrieb: So I have to specify the dependencies twice? First time in the parent/pom.xml and second time in rar/pom.xml (there using provided? I have to play with this, because some of the dependencies are internal jars from other subprojects. In my example the dependency is act

Re: Newbie questions

2006-05-31 Thread Tim Kettler
Eugeny N Dzhurinsky schrieb: On Wed, May 31, 2006 at 11:07:21AM +0100, ben short wrote: You should take a look at this book. http://www.mergere.com/m2book_download.jsp Its free to download. Umm, does image for code confirmation not displayed for me only or somebody faces same problems there?

Re: Junit versions

2006-05-31 Thread Tim Kettler
Hi, the latest released version of maven-archetype-quickstart has a dependency to JUnit 3.8.1 defined in its template pom.xml. If you want that updated you can create an issue at http://jira.codehaus.org/browse/ARCHETYPE under the 'archetypes' component. -Tim Franz Fehringer schrieb: Hello,

Re: Stand-alone app

2006-05-31 Thread Tim Kettler
Hi Erik, it is certainly possible to build stand-alone applications with maven. Maven just doesn't promotes a single way of doing this since there are many ways to create a stand-alone java application. For the beginning: You can configure the jar plugin as shown below to create the Main-Cla

Re: Stand-alone app

2006-06-01 Thread Tim Kettler
Hi, I think my suggestion regarding the use of the dependency-maven-plugin could have been a little bit confusing/misleading. Did you configure it to copy the dependencies somewhere under your target/classes folder? I wanted to mention the OneJar project (http://one-jar.sourceforge.net/) for t

Re: [M2] Ghost dependencies

2006-06-01 Thread Tim Kettler
Hi, dependencies in the section just define default attributes (like giving a default version) for when you specify the dependency in some child pom. Can it be that you forgot to include the dependency in your actual project pom? Hope this helps -Tim Sebastien Arbogast schrieb: I have trou

Re: resolving and including dependency libraries

2006-06-02 Thread Tim Kettler
Hi, maybe the dependecy-maven-plugin at http://mojo.codehaus.org/dependency-maven-plugin/ and the assembly-plugin at http://maven.apache.org/plugins/maven-assembly-plugin/ are what you are looking for. -Tim Eugeny N Dzhurinsky schrieb: I'm trying to rework legacy app to use Maven. This appl

Re: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Tim Kettler
Hi, you can define different profiles for the environments you deploy to in your pom. In these profiles you can then define resource locations to pull the config files from. -Tim [EMAIL PROTECTED] schrieb: Sorry - about the repost, but my 10 month old daughter has taught me that the crying w

Re: Stand-alone app

2006-06-02 Thread Tim Kettler
but that objective isn't all that important to me. I'm happy enough just to have the dependencies sitting outside the main executable. So, I will start reading about how to write Maven goals and see if I can come up with something easy to use. If I'm successful, then maybe the Maven f

Re: Stand-alone app

2006-06-02 Thread Tim Kettler
ugin, in the hopes that maybe I could submit it to the Maven Project, or should I write it into my own plugin that I write from scratch? As Wayne said, writing a small guide to help other new users seems more appropriate. Thanks so much! --Erik -Original Message- From: Tim Kettler [mailto

Re: Assembly plugin question

2007-08-10 Thread Tim Kettler
Hi, -- Beware: Untested Instructions -- :-) I. Create a new project, put the assembly descriptors you want to have available across projects in 'src/resources/assemblies' and install/deploy the artifact to your local/internal repository. II. In your projects configure the plugin like this:

Re: How to activate profile for certain packaging?

2007-08-10 Thread Tim Kettler
You could create a war specific parent pom with the plugin execution defined. -Tim Gisbert Amm schrieb: Michael Meyer schrieb: Hi, does this work? project.packaging war Unfortunately not. I'll describe my problem more generally instead of asking how to fix my obviously wr

Re: [maven-antrun-plugin] How can we set the maven.plugin.classpath ?

2007-08-10 Thread Tim Kettler
Hi, just tested with this pom: 4.0.0 my-test-app my-test-group 1.0-SNAPSHOT org.apache.maven.plugins maven-antrun-plugin org.apache.ant ant-junit 1.7.0

Re: JBoss Embedded Container + Maven + howto?

2007-08-11 Thread Tim Kettler
Hi, see here for a complete example: http://docs.codehaus.org/display/MAVENUSER/How+to+use+the+JBoss+Embedded+EJB3+Container+for+Unit+testing -Tim sudhakar schrieb: I have a maven project in Eclipse with EJB 3.0 style Entity beans and Session Beans. I'm using TestNG to run my tests that launc

Re: Maven2 / Surefire problem

2007-08-14 Thread Tim Kettler
Hi, I'm currently sticking with Surefire-Plugin 2.3 / TestNG 5.1 this combination is working for me: [...] [...] org.testng testng 5.1 jdk15 test [...] [...] org.apache.maven.plugins ma

Re: building and installing a source only jar

2007-08-14 Thread Tim Kettler
Hi, have a look at the maven-source-plugin[1] and possibly the maven-javadoc-plugin[2] and configure the maven-eclipse-plugin as shown here [3]. -Tim [1] http://maven.apache.org/plugins/maven-source-plugin/ [2] http://maven.apache.org/plugins/maven-javadoc-plugin/ [3] http://maven.apache.or

Re: javac: invalid source release: 1.4.2

2007-08-15 Thread Tim Kettler
Hi, the and properties reflect the javac commandline options. See here [1] for the possible values for these options. -Tim [1] http://java.sun.com/javase/6/docs/technotes/tools/solaris/javac.html Gisbert Amm schrieb: Hi list, when I try to compile using the following settings org.apa

Re: Eclipse Plugin - Attaching Sources

2007-08-15 Thread Tim Kettler
Hi, there is no source or javadoc jar provided alongsite the hibernate artifact in the repository for hibenate 3.0.5 [1]. Taking a quick look sources are available starting with hibernate-3.1. -Tim [1] http://repo1.maven.org/maven2/org/hibernate/hibernate/3.0.5/ Roberto del Fuego schrieb:

Re: building and installing a source only jar

2007-08-15 Thread Tim Kettler
Hi, try adding the classifier property: mvn deploy:deploy-file -DgroupId=lty -DartifactId=lty-utils -Dclassifier=sources -Dpackaging=jar -Dversion=1.0-SNAPSHOT -Dfile=lty-utils-1.0-SNAPSHOT-sources.jar -DrepositoryId=central -Durl=file:\\build.corp.upromise.com\maven2 -Dgeneratepom=false -Tim

Re: Generating EJB home/remote interfaces with maven

2007-08-15 Thread Tim Kettler
Hi, the maven-ejb-plugin doesn't help you to generate your home/remote interfaces. It is just for packaging your poject to a valid ejb jar. As far as I know, there is no ejbgen-plugin for maven 2. The only one I'm aware of [1] is for maven 1. However, you should be able to use xdoclet [2] an

Re: Generating EJB home/remote interfaces with maven

2007-08-15 Thread Tim Kettler
e? Or am I using the wrong version? Also, WHICH POM should I be modifying if necessary in the respository? There are loads of subdirectories of the xdoclet repository... -Original Message----- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 9:51 AM To: Maven Us

Re: [m2] Need to put dependencies into target for jar module

2007-08-17 Thread Tim Kettler
Hi, have a look at the maven-dependency-plugin and its copy-dependencies mojo [1]. If the sole purpose of your ant task is to package your module classes in a jar together with its dependencies you can do this without ant altogether using the assembly-plugin [2]. -Tim [1] http://maven.apach

Re: Dependcy to maven build

2007-08-19 Thread Tim Kettler
Hi, just as you would with any other dependency: Add it with the correct groupId, artifactId and version to the section of your project's pom. For the dependency resolution to work both projects must either be in the same multi-project build or the artifact you depend on needs to be instal

Re: [Maven2] : Failed to validate POM warnings (making a lot of really annoying logs !)

2007-08-20 Thread Tim Kettler
Hi, is the parent pom referenced in the parent section producing the warning available in your local/corporate repository? -Tim Joel COSTIGLIOLA (Services DPT SYSTEME D INFORMATION METIER) schrieb: Hi there, I have been reporting few weeks ago some VERY annoying warning like this one :

Re: [Maven2] : Failed to validate POM warnings (making a lot of really annoying logs !)

2007-08-20 Thread Tim Kettler
changes-report socle.sapiens.site Site Web du Socle Technique Sapiens d:/temp -----Message d'origine- De : Tim Kettler [mailto:[

Re: EJB3.0 maven & eclipse

2007-08-20 Thread Tim Kettler
Hi, the ejb-plugin just provides the correct packaging for projects of type (read: with a packaging of) ejb. For example it ensures that the 'ejb-jar.xml' deployment descriptor is present for EJB < 3.0. It will not force any EJB-API artifact or even an implementation on you. You have to decl

Re: Generate Version class

2007-08-20 Thread Tim Kettler
Create a new directory (for example 'src/main/classtemplates') and put you class template under the correct package directory in there. Then declare a additional resource in your pom: [...] src/main/classtemplates true target/generated-sources [...] and us

Re: Eclipse Plugin Maven Integration...

2007-08-20 Thread Tim Kettler
Hi, just a short recap to ensure I've understood you correctly: You have a couple of mavenized projects, one of them is a eclipse plugin. When you 'mvn package' on the plugin project everything is fine but when using the plugin in eclipse the classes from the dependencies are not found. Corre

Re: error on site goal

2007-08-21 Thread Tim Kettler
Hi, have a look here [1] for how to configure the project-info-reports plugin to only render a set of specified reports. However, when doing 'mvn site' on your pom I don't get the error you posted. The scm-report generated page just contains a 'No source configuration management system is de

Re: R: error on site goal

2007-08-21 Thread Tim Kettler
://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe /1.0-beta-3/maven-scm-provider-cvsexe-1.0-beta-3.pom . I think there is something wrong in the central repository -Messaggio originale----- Da: Tim Kettler [mailto:[EMAIL PROTECTED] Inviato: martedì 21 agosto 2007 9.25 A

Re: R: R: error on site goal

2007-08-21 Thread Tim Kettler
christopherlewis.com/WGet/WGetFiles.htm Claudio Tamietto schrieb: No , i haven't configured a hhtp proxy o repository proxy . However maven is installed on a vmware machine with windows 2003 enterprise edition. Can this triggers some problems ? -Messaggio originale- Da: Tim Ke

Re: maven-antrun-plugin wont run

2007-08-21 Thread Tim Kettler
Hi, invoking 'mvn compile' on this pom: --- 4.0.0 my-test-app my-test-group 1.0-SNAPSHOT org.apache.maven.plugins maven-antrun-plugin compile compile refid="ma

Re: maven-antrun-plugin wont run

2007-08-21 Thread Tim Kettler
Mac-Systems schrieb: Thanks a lot, i was able to figure out which is the exact Problem: If i run compile the Phase will trigger the ANT Plugin. If i run "install" for example i thought the phase "generate source" phase will executed automaticly as "install" is higher. This seems to be wrong or

Re: Dependency management

2007-08-21 Thread Tim Kettler
[EMAIL PROTECTED] schrieb: "Eric Redmond" <[EMAIL PROTECTED]> wrote on 08/21/2007 12:12:55 PM: On 8/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have a question that I hope isn't too basic. I've been trying to reconcile the behavior of dependency management with my expectations. I'l

Re: Maven chooses the wrong repository

2007-08-22 Thread Tim Kettler
Hi, Wismer Stefan schrieb: Hi, In our project we used apache bcel version 5.1, which got replaced by 5.2 on the main maven repository (http://repo1.maven.org). What do you mean by replaced? An deployed artifact is (normally) never replaced (or even deleted from the repository). Also there is

Re: [M2] obfuscating plugin

2007-08-22 Thread Tim Kettler
Hi, what's your definition of 'nice' :-) http://pyx4me.com/pyx4me-maven-plugins/proguard-maven-plugin/introduction.html -Tim CodingPlayer schrieb: Hi, does anyone know about a nice obfuscator plugin for Maven2?? (pls post your configuration as well) thx 4 help R.C. --

Re: Question about war plugin

2007-08-22 Thread Tim Kettler
Hi, Jacoud Bastien schrieb: Hello everybody, I have a problem with the execution of packaging with maven. I have empty directories in my webapp and these directories are not copied in the war. I really need to these. Is it possible to force maven to copy or not? As far as I know this

Re: M2: Need help with central repositories, and mirrors

2007-08-22 Thread Tim Kettler
Hi, setting the mirror to an invalid url would certainly work but I imagine you would get tons of warnings about failed repository accesses since maven would still try download from the mirror. What I would do instead is to just overwrite the definition of central in the qa and cert profiles

  1   2   3   4   5   >