Couple Q's on snapshot versions

2007-01-22 Thread Wendell Beckwith
I'm the process of setting up a new repository and I want to understand whether I should use 2 repositories, release and snapshots or just one for both. I know maven has the central repo and then one for snapshots, but is this really required? Th following are questions I hope others can help

Missing activation artifact?

2007-01-16 Thread Wendell Beckwith
I saw a message from the list where someone on 12/06/2006 (IIRC) had the same problem as below while building archiva. Can someone shed some light on why maven is barfing? I do have the javax.activation:activation jar, version 1.0.2, installed in the local repository. [INFO] Building Archiva

API for getting m2 artifact from a java.io.File

2006-08-21 Thread Wendell Beckwith
Is there an api for turning a java.io.File, which represents the path of a jar into the local repository, into a maven Artifact object? Or do I just need to reverse the process used in the DefaultRepositoryLayout.pathOf() method? I'm working on a plugin that will dynamically add dependencies to

Is it possible for a mojo to dynamically add a jar resource?

2006-07-10 Thread Wendell Beckwith
I have a mojo that computes the jars needed for an osgi bunlde and I need to add the list of jars to the project so that they will be available for the compile phase. Is there a plugin doing this or some documentaion on pulling this off? The jars can't be added to the pom because it is not

Re: Which Maven to use when starting a new project?

2005-10-10 Thread Wendell Beckwith
I also agree, m2 is orders better than m1 IMHO. I did start a new project and was brave (i.e. stupid) enough to use the alpha releases on it. Now that we are in the beta's I haven't had to use snapshot builds as the betas now cover 95+% of what I need and the rest I can wait until the next beta.

[m2b3] How to use profiles for selective plugin activation?

2005-10-06 Thread Wendell Beckwith
Where can I find a good document or an example of how to use profiles to control the plugins that are activated in a specific phase? I have the following build element: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration

Re: [m20b3] Problems Getting My First Plugin to Work

2005-10-05 Thread Wendell Beckwith
I had a the exact same problem however it went away when I updated to m2b2 and blew away my local repo allowing m2 to recreate it. Since then, it has all work fine. Wb On 10/5/05, Allison, Bob [EMAIL PROTECTED] wrote: I am trying to build my first plugin and having a problem. I wrote a

Re: [m2] invoking java -jar

2005-10-04 Thread Wendell Beckwith
Another thing to do especially since some devs keep steering people to use commons-exec and then other devs say not to use it is to use the command line execution functionality in plexus-utils. 1. Add the following dependency to your pom: dependency

Duplicate files and Doxia mojo

2005-09-26 Thread Wendell Beckwith
What the solution for dealing with supposedly duplicate files. We get the following error INFO - Caused by: org.apache.maven.reporting.MavenReportException: Some files are duplicates in the site directory or in the generated-site directory. INFO - Review the following files for the Default

Re: [m2] How to get logging from commons-exec?

2005-09-21 Thread Wendell Beckwith
then that's great. I just want to know how to get the streams together. Any other pointers/example that will help in this matter? Wb On 9/21/05, Trygve Laugstøl [EMAIL PROTECTED] wrote: On Tue, 2005-09-20 at 22:20 -0500, Wendell Beckwith wrote: I checked out the source for commons-exec

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Wendell Beckwith
John is basically stating the very thing that I'm against in the statement below. I have a 3rd party command line utility from www.agitar.comhttp://www.agitar.com, that basically does unit tests against our code. I want to write (and have started writing) an M2 plugin to execute the java command

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Wendell Beckwith
, Vincent Massol [EMAIL PROTECTED] wrote: -Original Message- From: Wendell Beckwith [mailto:[EMAIL PROTECTED] Sent: mardi 20 septembre 2005 19:15 To: Maven Users List Subject: Re: [m2] reasons for sticking with maven John is basically stating the very thing that I'm against

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Wendell Beckwith
: | |-Original Message- |From: Wendell Beckwith [mailto:[EMAIL PROTECTED] |Sent: mardi 20 septembre 2005 19:15 |To: Maven Users List |Subject: Re: [m2] reasons for sticking with maven | |John is basically stating the very thing that I'm against in the statement |below. I have a 3rd party

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Wendell Beckwith
I just re-read you email and I'm confused by your comment, please clarify if possible. But isn't what I've been hopefully explaining is the creation of a mojo that wraps a command line process. I have written the mojos (agitate and dashboard) an users only need to reference the plugin in their

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Wendell Beckwith
-java-plugin. You're after more of a main() support API than an actual java-plugin, since you're writing the plugin yourself. Correct? - -john Wendell Beckwith wrote: | I just re-read you email and I'm confused by your comment, please clarify if | possible. But isn't what I've been hopefully

Re: [m2] reasons for sticking with maven

2005-09-20 Thread Wendell Beckwith
(and plexus, actually), then it'll be suitable. - -john Wendell Beckwith wrote: | True, it is a java main() call because the use ZeroG's LaunchAnywhere. | LaunchAnywhere creates a native executable that reads a config file that | lists the classpath, args and the main class to execute. However

[m2] How to get logging from commons-exec?

2005-09-20 Thread Wendell Beckwith
I checked out the source for commons-exec and built the commons-exec-1.0-SNAPSHOT.jar. I added this jar as a dependency to my m2 plugin project and wrote a simple Foo app to verify that everything was working. The app just writes the current time into a file and all is well with this. What's

Re: How to set a plugin's prefix?

2005-09-19 Thread Wendell Beckwith
will be improved post-beta-1 now that we have promised not to change anything :) - Brett On 9/18/05, Wendell Beckwith [EMAIL PROTECTED] wrote: I started the thread and still haven't figured out what is wrong. I believe there is a step missing from the tea leaves one has to read to get

Re: [m2] java plugin

2005-09-19 Thread Wendell Beckwith
I also have a need for a maven-java-plugin that can be used to execute a java process that is not tied to a jar. So the capability to execute a jar or simply a class on the classpath would benefit all. Wb On 9/19/05, Kristian Nordal [EMAIL PROTECTED] wrote: On Sep 19, 2005, at 5:58 PM,

Re: [m2] java plugin

2005-09-19 Thread Wendell Beckwith
That's basically what I need also. I'm writing a plugin to execute a 3rd party's java command line, so a simple maven-java-plugin would save a *A LOT* of work. This would allow me to concentrate on handling/validation the configuration and I then pass the command and classpath to the java

Re: How to set a plugin's prefix?

2005-09-18 Thread Wendell Beckwith
I started the thread and still haven't figured out what is wrong. I believe there is a step missing from the tea leaves one has to read to get it to work. It has been my hope that someone would solve it before I got back around to trying to deal with it. It would be great if a dev wrote the

How to use maven-antrun-plugin?

2005-09-13 Thread Wendell Beckwith
I want to try and use the antrun plugin and I have the followin build element: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.0-alpha-1-SNAPSHOT/version executions execution configuration tasks echo message=Hello Ant Run/ /tasks

Re: [m2] packaging

2005-09-12 Thread Wendell Beckwith
maven-plugin is another. On 9/12/05, Matthew Smalley [EMAIL PROTECTED] wrote: What's the different possible values for packaging in the POM? I've seen examples of jar, war, ear - any others? - To unsubscribe, e-mail:

[m2] How to invoke Ant's Java task without an ant file?

2005-09-07 Thread Wendell Beckwith
I'm now trying to write a maven 2 plugin to execute a 2rd party's tools command line class. The class is written is java. The tool also has an ant task which just uses the Java task in ant to invoke the command line tool in a forked jvm. Does m2 already provide such functionality and I just

Re: [m2] How to invoke Ant's Java task without an ant file?

2005-09-07 Thread Wendell Beckwith
://mojo.codehaus.com's sanbox yet, since i dont see a demand for it yet. -D On 9/7/05, Wendell Beckwith [EMAIL PROTECTED] wrote: I'm now trying to write a maven 2 plugin to execute a 2rd party's tools command line class. The class is written is java. The tool also has an ant task which just

Re: [m2] How to invoke Ant's Java task without an ant file?

2005-09-07 Thread Wendell Beckwith
, still in my local diskspace, which can invoke any native executable. I have not proposed to check it into mojo.codehaus.comhttp://mojo.codehaus.com's sanbox yet, since i dont see a demand for it yet. -D On 9/7/05, Wendell Beckwith [EMAIL PROTECTED] wrote: I'm now trying

Re: How to change the copyright info for a site build?

2005-09-05 Thread Wendell Beckwith
organization. Should not be diffrent for m2. -D On 9/2/05, Wendell Beckwith [EMAIL PROTECTED] wrote: When using the site:site goal how do I configure the copyright message that's added to all the pages (we're using APT)? This is important since management and legal get

Re: How to set a plugin's prefix?

2005-09-05 Thread Wendell Beckwith
file could not be found remotely. The code has been rewritten recently (it now doesn't use plugins.xml but maven-metadata-*.xml). What SVN rev is your m2 build from? - Brett On 9/5/05, Wendell Beckwith [EMAIL PROTECTED] wrote: Also here is a copy of a run using the groupId and using

Re: How to set a plugin's prefix?

2005-09-04 Thread Wendell Beckwith
. Do you have a file called com/intervoice/maven/plugins/plugins.xml in the local repository? What is it's contents? - Brett On 9/4/05, Wendell Beckwith [EMAIL PROTECTED] wrote: Doh! Anyway here is the settings.xml, which I have in my .m2 directory: settings pluginGroups

Re: How to set a plugin's prefix?

2005-09-04 Thread Wendell Beckwith
] E:\dev\workspace\runtime Wb On 9/4/05, Wendell Beckwith [EMAIL PROTECTED] wrote: Yes, the com/intervoice/maven/plugins/plugins.xml has the following: metadata groupIdcom.intervoice.maven.plugins/groupId plugins plugin prefixhello/prefix artifactIdmaven

Re: How to set a plugin's prefix?

2005-09-03 Thread Wendell Beckwith
in settings.xml yet.. but if you really post you settings.xml, it would help ;-) -D On 9/2/05, Wendell Beckwith [EMAIL PROTECTED] wrote: I really hate to be dense, but I have created a settings.cml file with the following content and placed it in my .m2 directory, and the project

How to set a plugin's prefix?

2005-09-02 Thread Wendell Beckwith
I really hate to be dense, but I have created a settings.cml file with the following content and placed it in my .m2 directory, and the project itsself to no avail. I simply can't execute my plugin by the prefix. I looked at test it0031 and this provides no clues (for me at least) on how to

How to change the copyright info for a site build?

2005-09-02 Thread Wendell Beckwith
When using the site:site goal how do I configure the copyright message that's added to all the pages (we're using APT)? This is important since management and legal get the willies just using open source let alone having that open source what is built as copyrighted by the Apache Software

Hot to set the prefix for a plugin

2005-09-01 Thread Wendell Beckwith
Thanks to help from Brett and the ability to hit my head against the wall without giving up, I now have my plugin at least installing and working. However it only works when I execute it with the groupId:artifactId:goal formula. How do I set the prefix for it? I noticed a plugin.xml in my

Does APT support Figures in M2?

2005-08-29 Thread Wendell Beckwith
the command line then all is well. So am I just missing something in m2 or is this a bug? Wendell Beckwith This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying

Re: Does APT support Figures in M2?

2005-08-29 Thread Wendell Beckwith
New Image ~~~ I'm using maven version 2.0-alpha-3 on windows XP with the jdk 1.5.0_03. If you have a project that works that you can part twith then that would be a big help, as I could verify if it works on my setup. Wendell Beckwith

How to install a plugin for m2?

2005-08-29 Thread Wendell Beckwith
on the real plugin and I wanted to be sure I had the development cycle down. So what's the magic word to get this to work. Wendell beckwith This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom

How to compile java 1.5 source with maven2

2005-05-27 Thread Wendell Beckwith
Is it possible to compile jdk 1.5 code with maven2? I have added a pom.xml and a project.properties file to my project and set maven.compile.source=1.5 in the properties file, but I still get the following error when compiling.

RE: How to compile java 1.5 source with maven2

2005-05-27 Thread Wendell Beckwith
artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin /plugins /build Cheers Hugo Wendell Beckwith wrote: Is it possible to compile jdk