Re: Resource path for testing?

2006-01-04 Thread Wendy Smoak
On 1/4/06, Jeff Lowe <[EMAIL PROTECTED]> wrote: > Some of my unit tests need to access files as resources, which are > sitting in a directory within the source tree. Is there a setting for > testing, where I can add a directory to the classpath, which will allow > the tests to access the files?

Re: Help! Maven 2 "getting started" issues

2006-01-05 Thread Wendy Smoak
On 1/5/06, Rick Mann <[EMAIL PROTECTED]> wrote: > But, it seems that a given project would want to be able to create > all those things at once (that is, the project, and the site stuff > for it, etc.) It would be hard for Maven to know what things to add. Some projects contain only a webapp, so

Re: [m2] site.xml documentation? How to create a site

2006-01-06 Thread Wendy Smoak
On 1/6/06, John Wells <[EMAIL PROTECTED]> wrote: > And I was hoping the site generated from this top-level pom.xml would > contain links to the lower level modules. It does not. Brett has mentioned that support for the multiproject site should reappear in Maven 2.0.2. You might want to try a sn

Re: How to prevent jar to be included in WEB-INF/lib?

2006-01-09 Thread Wendy Smoak
On 1/9/06, Bengt-Erik Fröberg <[EMAIL PROTECTED]> wrote: > Addendum: > I've tried > > jspapi > jsp-api > 2.0 > provided > To find out which of your dependencies is causing the problem, use -X on the mvn command line. If necessary, you can to redirect the output

[m2] Javadoc plugin - using alternate UMLGraph doclet?

2006-01-09 Thread Wendy Smoak
How do I do this (from Ant): in m2? I tried configuring the javadoc plugin, org.apache.maven.plugins maven-javadoc-plugin gr.spinellis.umlgraph.doclet.UmlGraph

Re: Converting from M1 to M2 - Installing parent POMs?

2006-01-13 Thread Wendy Smoak
On 1/13/06, Sean McNamara <[EMAIL PROTECTED]> wrote: > When specifying the parent in the child pom, I need to > specify the version. Maven then tries to look up the > parent pom in the repository. > > What do I need to do to get the parent pom installed? > Do I treat it like a third-party jar? J

[m1] jar:install - Error getting the project as a string

2006-01-13 Thread Wendy Smoak
This worked on December 2nd... none of the changes to project.xml since then look suspicious, and it still validates. Furthermore, I have no idea where it thinks it is *uploading* the jar to. Normally jar:install just says "Copying: from ... to: ... ". project.xml:

[m2] Does it matter if directory name != artifactId ?

2006-01-14 Thread Wendy Smoak
Attempting to resolve a question raised elsewhere... Does it matter if the directory names don't match the s of the poms within them? For instance, I have /current/struts/action, and pom.xml has struts-action. Are there any known issues with this? (With Maven or possibly Continuum?) Thanks, --

Re: [m2] Javadoc plugin - using alternate UMLGraph doclet?

2006-01-14 Thread Wendy Smoak
On 1/9/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > I tried configuring the javadoc plugin, > > org.apache.maven.plugins > maven-javadoc-plugin > >gr.spinellis.umlgraph.doclet.UmlGraph This conversation moved to [EMAIL

[m2] Minimum requirements for a snapshot in a repository?

2006-01-16 Thread Wendy Smoak
What's the minimum that will keep m2 happy when retrieving a snapshot from a remote repository? I've got a project that I just can't build with m2, but I need to make a snapshot available. If I upload (in the correct directory structure): shale-core-1.0.1-SNAPSHOT.jar shale-core-1.0.1-SNAPS

Re: [m1] jar:install - Error getting the project as a string

2006-01-16 Thread Wendy Smoak
On 1/16/06, Lukas Theussl <[EMAIL PROTECTED]> wrote: > Are you running m1.0 or m1.1? I suspect you are seeing > http://jira.codehaus.org/browse/MPARTIFACT-54 . Maven 1.0.2. (Unless 1.1 is final, then we might switch. But I'm hoping to skip it and go straight to Maven 2.) > If you are running m1

Re: [m2] multiple project's component dependency declaration possible or too complex?

2006-01-21 Thread Wendy Smoak
On 1/20/06, Jim Babka <[EMAIL PROTECTED]> wrote: > Well, this is interesting. I ran into the issue of needing multiple build > artifacts from a single project, and even though I theorized that this was > not possible, no one either agreed or disagreed with me at that time. Now > this posting a

Re: [m2] Minimum requirements for a snapshot in a repository?

2006-01-22 Thread Wendy Smoak
On 1/17/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: > Well, you can get the hash files created to if you upload using the > new deploy:deploy-file goal: Thank you! This works great-- it creates the checksums and all the metadata I was worried would be missing if I just uploaded the files. It

Re: M2: Valid archetypes

2006-01-26 Thread Wendy Smoak
On 1/26/06, Mayorgaadame, Alex <[EMAIL PROTECTED]> wrote: > Anyone knows the list of valid archetypeArtifactId for the following command: > > mvn archetype:create -DgroupId=com.company.your -DartifactId=default-webapp > -DarchetypeArtifactId=maven-archetype-webapp > > I would like to know what ki

Re: M2: Valid archetypes

2006-01-26 Thread Wendy Smoak
On 1/26/06, Mayorgaadame, Alex <[EMAIL PROTECTED]> wrote: > The rest fail like this: > > C:\projects>mvn archetype:create -DgroupId=com.company.your > -DartifactId=defaul > t-profiles -DarchetypeArtifactId=maven-archetype-profiles > [INFO] Failed to resolve artifact. > > GroupId: org.apache.maven

Re: [M2] 'site' archetype failing

2006-01-26 Thread Wendy Smoak
On 1/26/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > I just started getting a project set up with M2 and I've run into a > problem following along with the current Getting Started Guide [1]. > I'm sure I must be missing something obvious, but I'm not sure what... ... > --

Trouble with package.html in an archetype

2006-01-29 Thread Wendy Smoak
I'm creating a new archetype, and I have the following (partial) directory structure: src/main/resources/archetype-resources/src/main/java/WelcomeBean.java src/main/resources/archetype-resources/src/main/java/package.html src/main/resources/archetype-resources/src/main/java/overview.html

How to install/use a third-party archetype?

2006-01-29 Thread Wendy Smoak
I've created an archetype, and it works fine if I build and install it locally, but I can't figure out how to tell people to get it from the snapshot repository. Here it is: http://cvs.apache.org/maven-snapshot-repository/struts/struts-archetype-shale-blank/ Thinking that it might help, I add

Re: How to install/use a third-party archetype?

2006-01-30 Thread Wendy Smoak
On 1/29/06, Fredy <[EMAIL PROTECTED]> wrote: > Can you add the snippet of your settings.xml? Sure: http://wiki.wsmoak.net/cgi-bin/wiki.pl?Maven/Settings Do I need to do something prior to 'mvn archetype:create' or should it go retrieve the archetype? It looks like it's trying to find it... $

Re: compile idea plugin

2006-01-30 Thread Wendy Smoak
n. (If any downloads fail, try again... ibiblio is slow today.) HTH, -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to install/use a third-party archetype?

2006-01-30 Thread Wendy Smoak
On 1/30/06, Jason van Zyl <[EMAIL PROTECTED]> wrote: > I need to release the archetype plugin. I added a parameter to specify > the repository where the archetype comes from. I'm just swamped at the > moment but I'll try to get to it tomorrow. The archetype plugin doesn't > look at settings.xml. I

Re: Unexpected repository downloading behavior (maven 2)

2006-02-02 Thread Wendy Smoak
On 2/2/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > Downloading: > http://10.21.3.66/maven2_repositories/external/jboss/jboss-common-j > dbc-wrapper/3.2.5/jboss-common-jdbc-wrapper-3.2.5.pom ... > 1) First off, this jar is presently in my local repository. Why is maven > trying to download this

Re: Unexpected repository downloading behavior (maven 2)

2006-02-02 Thread Wendy Smoak
On 2/2/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > Thanks for the reply. I don't quite understand -- what pom is it looking > for? And regardless, why isn't it looking for this in my local repository? The message you posted says it's looking for (among other things): jboss-common-jdbc-wrapp

Re: Launch an application from the commandline

2006-02-03 Thread Wendy Smoak
On 2/3/06, Darryl L. Pierce <[EMAIL PROTECTED]> wrote: > jerome lacoste wrote: > How do I set the dependency in my pom.xml file? I don't see an example of > that anywhere and when I incorporate your example, Maven complains that it > can't find it. > > [INFO] Scanning for projects... > [INFO] arti

Re: Launch an application from the commandline

2006-02-03 Thread Wendy Smoak
On 2/3/06, Darryl L. Pierce <[EMAIL PROTECTED]> wrote: > True. However, even with the 's' in place it's still not working because > Maven doesn't know about that plugin. What's the dependency snippet I need > to install it? Found it, I think: http://snapshots.maven.codehaus.org/maven2/org/codehau

Re: "predefined" descriptor IDs for assemblies?

2006-02-05 Thread Wendy Smoak
On 2/5/06, Chris Markle <[EMAIL PROTECTED]> wrote: > C:\blah> mvn assembly:assembly -Dmaven.assembly.descriptorId=bin > > I get the following error which has me perplexed (not useful lines deleted): > > [INFO] [assembly:assembly] > [ERROR] BUILD FAILURE > [INFO] No assembly descriptors found. > >

[m1] Jalopy plugin problems

2006-02-07 Thread Wendy Smoak
Twice now, on two different machines (same codebase, though,) the Jalopy plugin was working fine and then suddenly stopped working with the error below. Full output of maven jalopy -X is here: http://wiki.wsmoak.net/cgi-bin/wiki.pl?Maven/Jalopy The only thing that changed was Jalopy's config f

Re: jar install question

2006-02-08 Thread Wendy Smoak
On 2/8/06, Ole Ersoy <[EMAIL PROTECTED]> wrote: > I added the option, but maven is still trying to > download the poms. Here's the list of commands that > run successfully: Is it actually generating a pom in your local repository? If not, your're probably not using the latest version. Add -U t

Re: Need help with maven-compiler-plugin

2006-02-09 Thread Wendy Smoak
On 2/9/06, Helck, Christopher <[EMAIL PROTECTED]> wrote: > I'm experiencing a weird problem when compiling my source code. I'm not > sure if the problem is with the compiler or maven. In the past (maven1) > the -X switch would print the actual command used to invoke the > compiler. I could cut and

Re: [m2] path relative to parent/reactor pom.xml

2006-02-09 Thread Wendy Smoak
On 2/9/06, Damian Krzeminski <[EMAIL PROTECTED]> wrote: > What's the recommended way of specifying paths that are always relative to > parent pom (regardless if > I am building from parent directory or from any of the subprojects > directories)? > > All my subprojects are sharing the same checks

Re: Jalopy plugin problem

2006-02-10 Thread Wendy Smoak
On 2/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am having problem with maven-jalopy plugin. > [jalopy] [ERROR] ???:0:0: ClassNotFoundException: > de.hunsicker.jalopy.language.ExtendedToken > ???:0:0: ClassNotFoundException: de.hunsicker.jalopy.language.ExtendedToken ... > LA CONSTRUCT

Re: Jalopy plugin problem

2006-02-10 Thread Wendy Smoak
hed thin supporting m1, but a 1.3.x release of the plugin using Jalopy 1.0b11 would be really great. (I've started a conversion to m2, but AFAICT there is no direct replacement for 'maven cactus:test', so it's on hold pending further research.) Thanks, -- Wendy Smoak --

Re: Jalopy plugin problem

2006-02-10 Thread Wendy Smoak
On 2/10/06, Lukas Theussl <[EMAIL PROTECTED]> wrote: > > Ahhh... I think "in the root classloader" is the key there. :) I only > > added the tag to Jalopy and jalopy-ant. (How did this > > ever work the way it is??) > > That's what I would like to know, too... > > I'm afraid we really have to o

Re: Jalopy plugin problem

2006-02-10 Thread Wendy Smoak
On 2/10/06, Lukas Theussl <[EMAIL PROTECTED]> wrote: > My preference is definetely to get the current development version > working and ready for inclusion in m1.1. I thought you had resolved your > problems with the 1.3 release by specifying the root class loader? No, I haven't gotten 1.3 to wor

Re: Generics Error

2006-02-11 Thread Wendy Smoak
On 2/11/06, Ole Ersoy <[EMAIL PROTECTED]> wrote: > I'm running jdk 1.5, however when compiling maven > tells me the following: > > Authenticator.java:[8,25] generics are not supported > in -source 1.3 > (try -source 1.5 to enable generics) > Hashtable env = new > Hashtable(); > > S

Re: Jalopy plugin problem

2006-02-12 Thread Wendy Smoak
On 2/12/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > I also prefer to find a fix for everybody in the 1.4.X without to have > to create a branch. But it depends if there's really a bug in jalopy > 1.5b5 or if this is a bug in our plugin. Did you try some others > jalopy beta ? I tried 1.5b3-

Re: [m2] Transitive Dependencies

2006-02-13 Thread Wendy Smoak
On 2/13/06, Fredy <[EMAIL PROTECTED]> wrote: > i get an Transitive Dependencies to commons-logging 1.0.4 and don't know why! > Is there a way to find it out? Use -X on the command line, and you'll be able to see where it's coming from. -- Wendy

Re: [m202] Linux oddity for accessing maven-architype-plugin?

2006-02-17 Thread Wendy Smoak
On 2/17/06, Ray Ward <[EMAIL PROTECTED]> wrote: > I ran the Getting Started stuff on WinXP with no problems here. > > But on a local Linux server, after downloading and installing, I get the > error: > The plugin 'org.apache.maven.plugins:maven-architype-plugin' does not exist > or no valid versio

Re: m1 and m2 repos @ apache and ibiblio

2006-02-19 Thread Wendy Smoak
On 2/19/06, Eddie O'Neil <[EMAIL PROTECTED]> wrote: > I'm adding support for uploading a release to Maven1 and 2 > repositories to Beehive's Ant build and have what is really an ASF > process question. > In order to upload JARs to *both* of these repositories: > > http://www.ibiblio.org/maven <-

Re: Creating WEB-INF/lib directory

2006-02-19 Thread Wendy Smoak
On 2/19/06, Ashish Srivastava <[EMAIL PROTECTED]> wrote: > How can I create the WEB-INF/lib directory and copy > the jars which the web-app depends on during the maven > packaging? You shouldn't have to... Maven will do it for you. What version of Maven are you using? If it's not working, we'll

Re: Creating WEB-INF/lib directory

2006-02-19 Thread Wendy Smoak
On 2/19/06, Ashish Srivastava <[EMAIL PROTECTED]> wrote: > I am using maven2 and have defined the > in the pom.xml. What should I use? I used > compile and provided but it doesn't create the > WEB-INF/lib directory. Please keep replies on the mailing list. Using 'provided' will cause the proble

Re: Javadoc generation dies during site:site

2006-02-20 Thread Wendy Smoak
On 2/19/06, Dan Diephouse <[EMAIL PROTECTED]> wrote: > When build the site javadocs, javadoc itself is dying on me. Its > exiting with the error "javadoc: warning - Multiple sources of package > comments found for package "org"". Anyone have any ideas on why this > might be? Those are just warnin

Re: Creating WEB-INF/lib directory

2006-02-20 Thread Wendy Smoak
On 2/19/06, Ashish Srivastava <[EMAIL PROTECTED]> wrote: > Yes everything gets compiled in the target directory. > I do not want to use to copy or create these > directories. I want to keep the libraries with in its' > own web contexts and do not want to copy them in the > directories accessbile

Re: [m2] Broken source repository link

2006-02-22 Thread Wendy Smoak
On 2/22/06, Adrian Herscu <[EMAIL PROTECTED]> wrote: > http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven-compiler-plugin > from the compiler plugin > (http://maven.apache.org/plugins/maven-compiler-plugin/source-repository.html) > is broken. > > What is the right URL? h

Re: Available archetypes

2006-02-23 Thread Wendy Smoak
On 2/23/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > The Getting Started document on the Maven site introduces the use of > three archetypes: the 'default' one, the maven-archetype-webapp one and > the maven-archetype-site one. Is there documentation anywhere on, or > some other way of figuring

Re: [m2] How do I stop using a SNAPSHOT from my local repository?

2006-02-24 Thread Wendy Smoak
On 2/24/06, KC Baltz <[EMAIL PROTECTED]> wrote: > We have several projects here that depend on a common "core" project. When > I'm making changes to that "core", I install them in my local repository so I > can test them in the dependent projects. However, when I'm done and commit > them to CV

Re: site descriptor reference docs

2006-02-26 Thread Wendy Smoak
On 2/26/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > Is there a DTD for the site descriptor (site.xml) file? Or some other > reference documentation beyond what's in the site guide? Brett mentioned that a schema will be available with the final 2.0 version of the site plugin. http://www.nabbl

[m2] Activating profiles

2006-03-03 Thread Wendy Smoak
Given this profile in settings.xml env-local env local ... Is there any reason that using -P env-local would work, while -Denv=local would not? (Maven 2.0.2) Here's the output of mvn proj

Re: [m2] Activating profiles

2006-03-03 Thread Wendy Smoak
On 3/3/06, Frank Russo <[EMAIL PROTECTED]> wrote: I use -Denv=local, and that works... Does your section match what I posted? Is it in pom.xml or settings.xml? Mine isn't working, as you can see from the output of projecthelp. :( -- Wendy

Re: how to include all dependencies in your jar

2006-03-06 Thread Wendy Smoak
On 3/6/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > I'm all ears if anyone on this list has recommendations for how to > "solve" this problem, at least for the Maven project... I think the Wiki needs to be promoted more: http://docs.codehaus.org/display/MAVENUSER/Home Anyone can sign up for an

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Wendy Smoak
On 3/7/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: > Ok, I went ahead and made a Wiki Page for reporting plugins: > http://docs.codehaus.org/display/MAVENUSER/Reporting+Plugins > > For now I just added the ones I use. Thanks. :) I added a more complex example of using configure more than one

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Wendy Smoak
On 3/7/06, Subhash Chandran <[EMAIL PROTECTED]> wrote: > The doclet "gr.spinellis.umlgraph.doclet.UmlGraph" is not > working for me... should I add any snapshot repository details in my pom? There is more info about UMLGraph and m2 here: * http://wiki.wsmoak.net/cgi-bin/wiki.pl?UMLGraph (AFAIK,

Re: how to point 'mvn archetype:create' at internal repository?

2006-03-11 Thread Wendy Smoak
On 3/11/06, Rob Dickens <[EMAIL PROTECTED]> wrote: > When I run 'mvn archetype:create ...' or 'mvn -Pdevt-profile ...' it > attempts to download the archetype from http://repo1.maven.org/ > maven2, and appears to have no knowledge of the repository specified > above. > > PLEASE COULD SOMEBODY CHEC

Re: how to point 'mvn archetype:create' at internal repository?

2006-03-11 Thread Wendy Smoak
On 3/11/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > I can confirm that it does NOT work in Maven 2.0.2, see this thread > for more info: > <http://www.nabble.com/How-to-install-use-a-third-party-archetype--t1024045.html#a2662843> Sorry, that should say it (retrieving an ar

Re: [M2] Uploading non-maven jars to a repository

2006-03-12 Thread Wendy Smoak
On 3/12/06, Ben Gidley <[EMAIL PROTECTED]> wrote: > Is there a command to help you upload and generate a fake POM to a > repository (as opposed to your local file system). You can create an 'upload bundle' with mvn repository:bundle-create Uploading to ibiblio is described here; it should wor

Re: How to escape dollar sign in archetype resource files

2006-03-14 Thread Wendy Smoak
On 3/14/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote: > I should actually have asked where the lexical analysis is happening? I'm > interested in where the file's text is broken up into tokens, as that's > where escaping usually happens. I believe this is done with Velocity: http://jakarta.apac

Re: MAVEN_OPTS - Is there a overview page

2006-03-19 Thread Wendy Smoak
On 3/19/06, Andreas Guther <[EMAIL PROTECTED]> wrote: > So far I could not find a page that lists all available options that can > be set with MAVEN_OPTS and I wonder if such one exists. These aren't Maven specific, they're just the normal JVM options that you can see with: java -X Look in m

Re: Maven 2 and java 1.5 Annotations

2006-03-19 Thread Wendy Smoak
On 3/19/06, Gianfranco Oldani <[EMAIL PROTECTED]> wrote: > Hi all, > I use maven 2 and it need to compile sources with annotations (JUnit 4.0 > annotations) and I get always this message: > > notations are not supported in -source 1.3 > (try -source 1.5 to enable annotations) > @Before public v

Re: how to instal internal repository?

2006-03-19 Thread Wendy Smoak
On 3/19/06, Devraj Brahmachari <[EMAIL PROTECTED]> wrote: > i tried doing that by writing the contents in settings.xml as an element > nested within the settings element...but the error message says > > Error reading settings.xml: Unrecognised tag: 'repositories' (position: > START_TA > G seen ...

[m2] previewing a site locally

2005-10-16 Thread Wendy Smoak
Is there an equivalent to 'maven multiproject:site' in m2? It would build the pieces of the site and copy them all to the top-level target/docs directory. m2 site:site is properly building the site for each of the modules, but it looks like they will get deployed separately. It seems like t

Re: Digester File DTD and Maven

2005-10-17 Thread Wendy Smoak
onf org/apache/shale/clay/config *.dtd Adjust as necessary. :) (You can leave out the targetPath in your case.) That's from m2 but the general idea hasn't changed. -- Wendy Smoak --

Re: For critical project we use maven 1.0.2 or m2 ?

2005-10-17 Thread Wendy Smoak
ted a Maven 2 release candidate (not a beta) on the 15th. So... if all you want is the "final" label on it, I would think that's coming soon. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Digester File DTD and Maven

2005-10-17 Thread Wendy Smoak
ks a little different in m1... what are you using?) -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: javax dependencies for m2

2005-10-17 Thread Wendy Smoak
the command line, m2 will show you where the transitive dependencies are coming from.) -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: javax dependencies for m2

2005-10-17 Thread Wendy Smoak
a project like Spring, which will bring in a transitive dependency on JTA, but if you're not using transactions, you don't really need it? Is the Spring pom incorrect? Thanks, -- Wendy Smoak - To unsubscribe

Re: sun jars

2005-10-18 Thread Wendy Smoak
From: "Arik Kfir" <[EMAIL PROTECTED]> I'd suggest not putting them in your local repo by hand, but use: m2 install:install-file -Dfile= -DgroupId= -DartifactId= -Dversion= -Dpackaging= (all in one line of course) A very simple GUI that lets you navigate to the location of and

Re: [m2] Pb with test resources

2005-10-18 Thread Wendy Smoak
.a: Invalid content starting with element 'activationProperty'. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Installing "old" build artifacts into your m2 local repository

2005-10-18 Thread Wendy Smoak
I have a few projects that are still using Ant and was looking for a way to get those build artifacts into my m2 local repository for use in new projects. This works. It's going to wrap badly... the is all on one line: build.xml: Would anyone like to share a maven.x

Re: How to define a jars with no version in M2?

2005-10-18 Thread Wendy Smoak
would support a .jar with no version number) this doesn't seem like a good idea. There will be another version at some point, and you need a way to switch one project at a time to the new version. -- Wendy Smoak - To u

Re: Struts tld dependancy

2005-10-18 Thread Wendy Smoak
he docs say only jar,ejb and plugin are recognized. Unless you're on Servlet 2.2, you don't need them. Just use the URI: <%@ taglib uri="http://struts.apache.org/tags-html prefix="html" %> and the tld that's inside struts.jar will be used automatically.

Struts pom (was Re: For critical project we use maven 1.0.2 or m2 ?)

2005-10-18 Thread Wendy Smoak
Not really. :) What do you need? This (http://www.ibiblio.org/maven2/struts/struts/1.2.7/struts-1.2.7.pom) looks like a recent project.xml from struts/build/trunk. Is it causing problems? (I haven't switched any of my Struts webapps over to m2 builds, so you'll have to fill me in.) -- We

Re: [m2] How do you use maven2 inside a corporate firewall?

2005-10-21 Thread Wendy Smoak
From: "Pilgrim, Peter" <[EMAIL PROTECTED]> But it seems that the help page above requires me to create a setting.xml that exists as part of a project. My settings.xml file is in ~/.m2 (in my home directory). (Check the filename, you wrote 'setting'

Re: [Maven 2] Can't use archetypeArtifactId=maven-archetype-site

2005-10-22 Thread Wendy Smoak
From: "Jorg Heymans" <[EMAIL PROTECTED]> - If you look at the plugin docs [1], you'll see that m2 defaults to version "RELEASE" for all archetypes. - Now maven complains that it can't find this version, so your best bet is to go and have a look on the repository itself [2] to see what versions

Re: Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Wendy Smoak
just been creating a pom for them with just the group/artifact/version and Maven stops complaining. Should we submit poms for these non-distributable commercial libraries, so that they're in the repository like the ones for Sun .jars (and we can come to some agreement on the group/artif

Re: Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Wendy Smoak
From: "Allison, Bob" <[EMAIL PROTECTED]> A much better choice would be to allow install:install-file to optionally create a POM for the file it is installing. It could create the minimal one that I'm doing manually now, but it couldn't know about the dependencies. In addition, it would be ni

Re: Installing Commercial Jars and missing POM XML files

2005-10-24 Thread Wendy Smoak
From: "Allison, Bob" <[EMAIL PROTECTED]> I would not want to decide within the Maven community on "official" group and artifact IDs Why not? It was done for the Sun .jar files, and that's working well. because that starts to become a nightmare. You need to create a registry for the IDs, you

[m2] Switching XML Parsers?

2005-10-24 Thread Wendy Smoak
d to set something in Surefire, or whether this is a JVM level thing. Thanks, Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[m1] Site plugin, width of left column w/ image in non-IE browsers

2005-10-25 Thread Wendy Smoak
using/site.html [1] http://svn.apache.org/repos/asf/struts/site/trunk/xdocs/navigation.xml Thanks, -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] Switching XML Parsers?

2005-10-25 Thread Wendy Smoak
Kenney wrote: This is a jvm thing. You probably have a JDK that has a buggy version of xerces (or xalan, if you're using stylesheets). Adding a dependency on xerces (or another xml parser) should fix this. I'm using 1.4.2_09 and I'm pretty sure it was using Crimson, at least that's what I wa

Re: Problems after installing Maven 2.0

2005-10-29 Thread Wendy Smoak
On 10/29/05, Petra Fiedler <[EMAIL PROTECTED]> wrote: > > --- > [INFO] Cannot execute mojo: resources. It requires a project, but the > build is not using one. > > what could be the problem? That's usually what you get if you execute 'mvn' in a directory that does not contain a pom.xml file. Are

[m2] How to set 'basedir' ?

2005-10-30 Thread Wendy Smoak
I have build files in a separate directory structure from the actual project files, so I have relative paths such as: ../../core-library/src/java In m1, I could set arbitrary properties in project.properties and then use those in the build files. With m2, I see that ${basedir} is referred

Re: Understanding Multi-modules ( was RE: [m2] Eclipse webapp lib )

2005-11-01 Thread Wendy Smoak
On 11/1/05, Pilgrim, Peter <[EMAIL PROTECTED]> wrote: > > > I am trying to understand the multi-module in m2. > In the the sub module how does m2 actually know > about the parent module. I see in the pom.xml > that there is a parent XML tag element, but it does > not have a reference back direct to

Re: finding groupId/artifactId of unlisted libs

2005-11-01 Thread Wendy Smoak
On 11/1/05, Rico (privat) <[EMAIL PROTECTED]> wrote: > > my project needs the jdbc driver of firebird (jaybird driver: > firebirdsql-full.jar). Where if this is not listed on > http://www.ibiblio.org/pub/packages/ > can I get the correct groupId / artifactId ? There was a thread not too long ago

Re: [m2] repository hell

2005-11-01 Thread Wendy Smoak
On 11/1/05, Xavier Toth <[EMAIL PROTECTED]> wrote: > > I see this a problem also in that the users like myself aren't necessarily > qualified to provide a fix for someone elses pom. I still think the > contributor/maintainer needs to be known and notified since they would > have > the knowledge of

[m2] internal repository docs?

2005-11-01 Thread Wendy Smoak
I asked Google about 'maven internal repository' and it turned up: http://maven.apache.org/reference/internal-repositories.html It's at the top level of the site, so I'd expect it to apply to m2, but it doesn't seem to. I need to set up an internal repository to be accessed with file:// . I thin

Re: [M2]Dumb question

2005-11-01 Thread Wendy Smoak
On 11/1/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > Where is the scm plugin homepage? I have been looking for it for the past > 20 > minutes and I can't seem to find it. Thanks! It's not on the list of m2 plugins: http://maven.apache.org/plugins/index.html See also: http://docs.codehaus

Re: [m2] internal repository docs?

2005-11-01 Thread Wendy Smoak
On 11/1/05, Chris Berry <[EMAIL PROTECTED]> wrote: > > Hi Wendy, > I had to do this too and used:: > ... > file:///C:/cberry/work/3rdparty-repo/ > Thanks! I went with: irm-repo IRM Maven Repository file://\\server\files\repository Seems to be working, in between the complaints about missing

Re: Confusing warning

2005-11-02 Thread Wendy Smoak
On 11/2/05, Barry Kaplan <[EMAIL PROTECTED]> wrote: > (I'm was using jedit to edit these poms until I generate working eclipse > projects, and I have not yet figured out to tell jedit that .pom means > .xml. So I'm not getting any validation.) Utilities -> Global Options Change settings for mo

[m2] Creating a new webapp archetype

2005-11-11 Thread Wendy Smoak
pp so I can see how to structure an archetype that creates a webapp. Help? -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] Creating a new webapp archetype

2005-11-11 Thread Wendy Smoak
On 11/11/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > What I'm really looking for is the source code for > maven-archetype-webapp so I can see how to structure an archetype that > creates a webapp. http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetypes/ M

Re: [m2] Creating a new webapp archetype

2005-11-11 Thread Wendy Smoak
On 11/11/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > Interestingly, all four of the .xml files in WEB-INF were included in > my archetype, not just web.xml. So do I even have to put them in > archetype.xml? As long as I'm having this conversation with myself... all four x

Re: Documentation -- making better use of the wiki

2005-11-12 Thread Wendy Smoak
On 11/12/05, Alexander Hars <[EMAIL PROTECTED]> wrote: > 3. Yesterday Wendy Smoak noted in the mailing list that the guide for > creating archetypes states that the tag for the archetype.xml > should be the same as the but that this is not the case for > one of the plug

[m2] Need help fixing dependencies in a pom

2005-11-12 Thread Wendy Smoak
I'm trying to fix the Commons Chain pom, which has a dependency on MyFaces: myfaces myfaces-jsf-api 1.0.8-beta I'm creating a 'Struts Blank' archetype, so the process is 1. mvn install my archetype 2. mvn archetype:create a new project 3. mvn install the new project and

Re: [m2] Need help fixing dependencies in a pom

2005-11-12 Thread Wendy Smoak
On 11/12/05, Stephen Duncan <[EMAIL PROTECTED]> wrote: > I believe you must do true rather than just Thank you! Now, what's the correct way to keep the servlet API .jar files out of my webapp? They're not optional for the dependencies that need them (Struts Core for example) but they should no

[m2] An XML file as a dependency?

2005-11-12 Thread Wendy Smoak
Struts has an xml file 'validator-rules.xml' that lives in core, but must be copied into WEB-INF of the example webapps, and now I need it in an archetype. Does anyone have any suggestions for managing this? In m1 it's done with: Where 'core.conf.share.dir' is a relative path to

[m2] A question about m1 project.xml files and m2 poms

2005-11-12 Thread Wendy Smoak
In the interest of not having to fix the Struts poms after they get into the repository, what can I do in m1 project.xml files that will make life easier? I can't find it now, but on a MEV bug ticket I think Brett advised adding xxx to m1 build files. Should I, for example, do this: ja

Re: [m2] An XML file as a dependency?

2005-11-12 Thread Wendy Smoak
On 11/12/05, Brett Porter <[EMAIL PROTECTED]> wrote: > For one file, you could put it in the repository, or you can copy as > you did below. I haven't gotten as far as copying files in m2... and since the file is in a different module it's a problem if someone only checks out out a single sub-proj

Re: [m2] An XML file as a dependency?

2005-11-12 Thread Wendy Smoak
On 11/12/05, Brett Porter <[EMAIL PROTECTED]> wrote: > No, no such plugin. What we are considering (there was a proposal on > the dev list a while back), is to setup a standard way of packaging > and sharing build resources for Maven 2.1. > > If it is not currently included in the core jar, is the

[m2] IDEA plugin JDK setting

2005-11-13 Thread Wendy Smoak
The IDEA plugin never quite gets the JDK setting correct. When I run 'mvn idea:idea' I see: [INFO] [idea:idea] [INFO] jdkName is not set, using[java version 1.4.2_09] as default. And then when I open the project in Settings -> Modules I see java version 1.4.2_09 [Invalid] If I click the browse

Re: Very weird M2 dependency problem

2005-11-13 Thread Wendy Smoak
On 11/13/05, Ashley Hurkoo <[EMAIL PROTECTED]> wrote: > > This is the only depency causing the problem below to happen. I cannot > understand why it is requesting to download activation-1.0.2 > This is normal. It's a transitive dependency. Your project depends on javamail, and javamail depends o

  1   2   3   4   5   6   7   8   9   10   >