Maven 1 and Maven 2 next to each other

2005-10-18 Thread Wim Deblauwe
Hi, is it possible to build with Maven 1 and Maven 2? As I understand it, Maven 2 uses pom.xml in stead of project.xml. So if I have a project.xml I can build with Maven 1 and if I add a pom.xml I can build the same project with Maven 2. Correct? Or are there any extra's I need to consider?

RE: [M2 RC] problems with release:perform

2005-10-18 Thread Michael McCrann
Hi, In attempt to find a solution to the my release:perform problem, I checked out the trunk version and built maven using the m2-bootstrap-all.bat script. I ran the release:perform again and got the error below. Ignoring the m2 deprecated message! could the problem be something to do with

RE: [m2] Can't get hello world plugin to work

2005-10-18 Thread Kevin McNamee
Hi Brett, I assume that the goal is declared in the Marmalade script: mojo xmlns=marmalade:mojo metadata goalhello/goal descriptionSay Hello to the World./description /metadata execute c:out xmlns:c=marmalade:coreHello, World/c:out /execute /mojo This comes from the example

[m2] unable to download plugin SNAPSHOT

2005-10-18 Thread andrew
maven-2.0-RC Hi, I've created a m2 plugin and deployed it as a SNAPSHOT to an internal (distinct from my local) repository. When building projects that use this plugin, the plugin resolves and works as expected when it is already in my local repository. If I clean out my local repository (the

Re: [M2] How to specify ssh/scp executable with scpexe

2005-10-18 Thread Jose Gonzalez Gomez
2005/10/14, Jose Gonzalez Gomez [EMAIL PROTECTED]: Hi there, It's all in the subject: I'm trying to use scpexe with Putty under Windows, but I can't find where to specify what executable should use the scpexe extension. I've even taken a look at the sources, and this seems to be configurable

Re: [m2] writing a Mojo for a plugin that requires Reports to have been run

2005-10-18 Thread David Sag
What I need is acccess to the various checkstyle (etc) reports in an xml format. what you describe below doesn't seem appropriate to me. My parameters already have various expressions and default values but i do need to ensure that the checkstyle (etc) plugins have already been run, before my

Re: [m2] ActiveProjectArtifact

2005-10-18 Thread Orjan Austvold
Thank you Brett! Switching to the package phase did the trick. Thanks, Ørjan Brett Porter wrote: The active project changes during the reactor build. At the compile stage, it refers to the target/classes directory. At the package stage, it points to the jar file. If you are implementing

[m2] Another exception when executing war:war

2005-10-18 Thread Christian Schlaefcke
Hi folks, OK, I switched to m2 RC and it looks like I get one step further. But now another issue is rising up: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp resources to D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Assembling webapp MyWebApp in

Re: archetype xsd ?

2005-10-18 Thread Jorg Heymans
Jason van Zyl wrote: Not right now, but I'm going to start using modello at which point I can generate an XSD. ok cool. Is is possible to define pom-style resources in archetype.xml eg resource directorysrc/main/webapp/stylesheets/directory includes

Re: [M2] Eclipse WTP Web app libraries

2005-10-18 Thread Fabrizio Giustina
On 10/18/05, Dietrich Schulten [EMAIL PROTECTED] wrote: how does the m2 eclipse plugin determine the path where it looks for web app libraries when used for dynamic web projects? all the jar dependencies of a web project are added as var dependencies and fetched from the local m2 repo. if you

archetypes: prevent resources from being parsed

2005-10-18 Thread Jorg Heymans
Hi, How can I tell m2 that it shouldn't look for variable tags in certain archetype resources ? I'm getting [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/src/main/webapp/sitemap.xmap [line 28,column 11] : $Id is not a valid

Re: [m2] NoSuchMethodError when running war plugin

2005-10-18 Thread Christian Schlaefcke
Hi folks, OK, I switched to m2 RC and it looks like I get one step further. But now another issue is rising up: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp resources to D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Assembling webapp MyWebApp in

Re: maven-antrun-plugin causes java.lang.AbstractMethodError - Fixed in RC

2005-10-18 Thread Jens Braeuer
Hello again, just downloaded the RC from http://people.apache.org/~brett/maven-2.0-RC/ and tried again. The exception is gone and the task justs works... Greetings, Jens B. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [m2] writing a Mojo for a plugin that requires Reports to have been run

2005-10-18 Thread Wim Deblauwe
Wouldn't it be good to also be able to specify on what other reports you depend? For instance, the pmd report depends on the jxr report to link to the source code. regards, Wim 2005/10/18, David Sag [EMAIL PROTECTED]: What I need is acccess to the various checkstyle (etc) reports in an xml

maven-antrun-plugin causes java.lang.AbstractMethodError

2005-10-18 Thread Jens Braeuer
Hi there ! I just start playing around with maven2-beta-3. As suggested by the docu i created a sample project with m2 archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app acording to http://maven.apache.org/maven2/plugins/maven-antrun-plugin/usage.html i edited the pom.xml, so

[m2] compileSourceRoots

2005-10-18 Thread fabrice . belingard
Hi guys, one of my dev teams uses the multiple source folder functionnality of Eclipse (in a single project). That is, they have a project that looks like: MyProject + src_1 + ...java packages and files... + src_2 + ...java packages and files... I've just seen that

Re: Maven 1 and Maven 2 next to each other

2005-10-18 Thread Edwin Punzalan
Yes it is possible to have both project.xml and pom.xml Wim Deblauwe wrote: Hi, is it possible to build with Maven 1 and Maven 2? As I understand it, Maven 2 uses pom.xml in stead of project.xml. So if I have a project.xml I can build with Maven 1 and if I add a pom.xml I can build the same

Re: [m2] NoSuchMethodError when running war plugin

2005-10-18 Thread Edwin Punzalan
You should tell the war-plugin where your webapp files are using the configuration parameter warSourceDirectory. By default, the warSourceDirectory is src/main/webapp. You should place the contents of WebRoot there. If that is not acceptably, you should set the warSourceDirectory to

Re: maven ant not finding settings.xml?

2005-10-18 Thread Edwin Punzalan
Can you send us the stack trace or the output so we can better comment on it? Thanks. Brian E. Fox wrote: Hello, We have reproduced this problem on beta 3 and rc1: We are using an ant script to call maven deploy to auto deploy jar, pom and md5's and sh1's for 3rd party libraries to our

Re: Maven 1 and Maven 2 next to each other

2005-10-18 Thread Wim Deblauwe
Does somebody have experience with this? Any things I should be aware of when doing this? 2005/10/18, Edwin Punzalan [EMAIL PROTECTED]: Yes it is possible to have both project.xml and pom.xml Wim Deblauwe wrote: Hi, is it possible to build with Maven 1 and Maven 2? As I understand it,

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

2005-10-18 Thread Marouane Amraoui
i will start a new critical project in one month. so i undrestand that the released version will be come soon; what about plugin-s. with maven 1.0.2 i found all what i need; for example the plugin eclipse, jcover -Message d'origine- De : Wendy Smoak [mailto:[EMAIL PROTECTED]

Re: Maven 1 and Maven 2 next to each other

2005-10-18 Thread fabrice . belingard
I'm currently doing this and everything works perfectly. This is a good way to move from m1 to m2. Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED]

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

2005-10-18 Thread Stephen Duncan
http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix -Stephen On 10/18/05, Marouane Amraoui [EMAIL PROTECTED] wrote: i will start a new critical project in one month. so i undrestand that the released version will be come soon; what about plugin-s. with maven 1.0.2 i found all what i

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

2005-10-18 Thread David Sag
That page is somewhat misleading. For example it claims there is a QALab plugin in development, but, aside from the one I am writing, that does not seem to be the case. Kind regards, Dave Sag Stephen Duncan [EMAIL PROTECTED] wrote on 18/10/2005 12:41:47 PM:

Re: [m2] writing a Mojo for a plugin that requires Reports to have been run

2005-10-18 Thread David Sag
You are a few steps ahead of me I am afraid. My plan was to specify the reports that get run in the pom.xml and configure qalab to use whatever reports i have decided need to be reported on via config parameters. I've so far only used the checkstyle plugin in this context. i guess I could

Maven and webobjects

2005-10-18 Thread Dominique de Waleffe
We are looking at introducing Maven into our toolset and processes but our applications are built around and with WebObject tools and frameworks. I am thus looking for knowledge/information on how to best do this. Are there people on this list who have done that and can recommend

Bug in compile plugin (or in Java ?)

2005-10-18 Thread Charles-Alexandre Sabourdin
The problem is that when I use jdk 1.5 with 1.4 source code, I does not warn me for using methode that are only since 1.5. I set the following simple exemple : maven use jdk 1.5 my project.properties have the following parameter : maven.compile.source=1.4 maven.compile.target=1.4 and my exemple

RE: [m102] Digester File DTD and Maven

2005-10-18 Thread Pilgrim, Peter
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] ==== From: Pilgrim, Peter [EMAIL PROTECTED] Ok suppose I hafe a file like src/conf/com/csfb/xrocket/trading/config.dtd I would expect this to be copied to the jar. Is that happening? With the right

Re: Bug in compile plugin (or in Java ?)

2005-10-18 Thread Arik Kfir
The java compiler does not warn you if you use API that's new since 1.5 - it only makes sure you use language constructs that are available in 1.4 as well. This means, for instance, that you won't be able to use enums or generics. But it will not prevent you from using any API (1.5 or not). This

RE: sun jars

2005-10-18 Thread Pilgrim, Peter
-Original Message- From: Lukas Theussl [mailto:[EMAIL PROTECTED] ==== You have to download these jars yourself (due to license issues) and put them in your local repo by hand: http://maven.apache.org/reference/standard-sun-jar-names.html Does the licence restrict from

Re: sun jars

2005-10-18 Thread Arik Kfir
No, that's ok. The license prohibits you from *redistributing* the JAR. As long as its for your own use, you're fine. On 10/18/05, Pilgrim, Peter [EMAIL PROTECTED] wrote: -Original Message- From: Lukas Theussl [mailto:[EMAIL PROTECTED] ==== You have to download these jars

RE: sun jars

2005-10-18 Thread Pilgrim, Peter
-Original Message- From: Arik Kfir [mailto:[EMAIL PROTECTED] ==== No, that's ok. The license prohibits you from *redistributing* the JAR. As long as its for your own use, you're fine. Ok let's get right to the point. What about redistributing the download script? On

[m2] Running a goal only once in a multiproject context

2005-10-18 Thread fabrice . belingard
Hi, I have defined a Mojo that does some work (create some necessary folders, init some dynamic values, ...) before running an install over my multi-module project. When I run m2 myGroupId:myArtifactId:myGoal install on my master project, my goal gets executed for each submodule while I need

Re: [m2] Running a goal only once in a multiproject context

2005-10-18 Thread Milos Kleint
i think adding @aggregator to the mojo's class javadoc does the trick.. there needs to be the plugin's group id added to the settings.xml file .. the element is called something like pluginGroups milos [EMAIL PROTECTED] wrote: Hi, I have defined a Mojo that does some work (create some

Re: sun jars

2005-10-18 Thread Dalibor Topic
On Tue, Oct 18, 2005 at 02:15:53PM +0200, Arik Kfir wrote: No, that's ok. The license prohibits you from *redistributing* the JAR. As long as its for your own use, you're fine. Depends. In general, people writing non-free licenses make them click-wrap so that they can enforce the restrictions

[m2]versioning

2005-10-18 Thread Xavier Toth
To have repeatable builds I want to be able to build specific scm tagged versions and have dependency lists that match the given version. This seems like it would be a very common use case, how are others solving this problem with m2? Can you have multiple dependency lists? I don't think so. A

Re: sun jars

2005-10-18 Thread Nicolas De Loof
I think the only legal way to build a download script would be to use a console mode browser to follow the $BIGCORP download process. But I don't think sun download process may be clean viewed on a console mode browser. Another solution maybe to patch a graphical browser like hotjava to

RE: [m2]versioning

2005-10-18 Thread Mark Kuzmycz
All you would need to do is version the pom.xml in source control. There is no need to create a different pom.xml for each version. Just follow your usual process: make changes and label the release (including the pom). Reproducing a release for a previous version should be straight forward. I

Re: [m2]versioning

2005-10-18 Thread Arik Kfir
You can use the m2 release plugin, but afaik it's not yet production ready (there are some quirks here and there). On 10/18/05, Xavier Toth [EMAIL PROTECTED] wrote: To have repeatable builds I want to be able to build specific scm tagged versions and have dependency lists that match the given

[m2] RC Not reliably showing path to dependency

2005-10-18 Thread Stephen Duncan
With the Maven 2 Release Candidate, I'm no longer always getting the path to the dependency when it fails to resolve an artifact. I'd say never, but when I got a connection timeout exception to a dependency, it did list it, but not for javax. dependencies I know I can't get. Even running with -X

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=path-to-file -DgroupId=group-id -DartifactId=artifact-id -Dversion=version -Dpackaging=packaging (all in one line of course) wishlist A very simple

Re: [m2] Running a goal only once in a multiproject context

2005-10-18 Thread fabrice . belingard
Correct and correct! For settings.xml, the full syntax is: pluginGroups pluginGroupcom.mycompany.plugins/pluginGroup /pluginGroups Thanks Milos! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED]

using preGoal and postGoal in m2?

2005-10-18 Thread Brill Pappin
Sorry if this has been covered on the list before (a quick search didn't turn up anything useful). Since the maven.xml file is now gone, how to I set up pre/post goals in M2? They are one of the really good features of maven 1.x and I'll really miss them if I can't use them. - Brill Pappin

Re: [m2]versioning

2005-10-18 Thread Xavier Toth
I guess I was thinking more about a goal that took a tag, checked out the source and built. A sort of dynamic module. On 10/18/05, Mark Kuzmycz [EMAIL PROTECTED] wrote: All you would need to do is version the pom.xml in source control. There is no need to create a different pom.xml for each

[m2] Pb with test resources

2005-10-18 Thread Samuel Le Berrigaud
Hi, I have soime test specific resources for one project. They are specified this way in my POM: build testResources resource targetPathconf/targetPath directorysrc/test/conf/directory includes include*.properties/include /includes /resource resource

Re: sun jars

2005-10-18 Thread Dalibor Topic
On Tue, Oct 18, 2005 at 03:05:06PM +0200, Nicolas De Loof wrote: I think the only legal way to build a download script would be to use a console mode browser to follow the $BIGCORP download process. But I don't think sun download process may be clean viewed on a console mode browser. I

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

2005-10-18 Thread Thomas Van de Velde
Even thuogh the core development for M2 is close to being completed, I would be worried about the transitive dependencies not being correctly defined in the various pom's. cfr. Hibernate. On 10/18/05, David Sag [EMAIL PROTECTED] wrote: That page is somewhat misleading. For example it claims

[m2] Building a generic build system in m2

2005-10-18 Thread Chris Berry
Greetings, I have found that one could easily produce a generic build system in m1 using the import statement from jelly:core inside of the maven.xml file. I.e . j:import inherit='true' file='mybuildtools-1.2.3.xml' / where the file; mybuildtools-1.2.3.xml, would contain parametrized goals

[m2] 'central has been blacklisted'

2005-10-18 Thread David Sag
A co-worker here using windows just tried to build a project using maven2 but forgot to set his proxy settings - i didn't notice as i am on a mac where the JVM reads the system proxy settings for me. so he got an error and then a notice saying Central has been blacklisted so now he has set his

Re: Maven 1 and Maven 2 next to each other

2005-10-18 Thread Alex Wood
Wim, Vincent Massol has an informative presentation about moving from Maven 1 to Maven 2. It's available at http://www3.java.no/JavaZone/2005/presentasjoner/VincentMassol/Javazone2005-From_m1_to_m2.pdf - Regards, Alex

Re: [m2] Building a generic build system in m2

2005-10-18 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Chris. :) Comments inline. Chris Berry wrote: | Greetings, | I have found that one could easily produce a generic build system in m1 | using the import statement from jelly:core inside of the maven.xml file. I.e | . | | j:import inherit='true'

Re: [m2] Building a generic build system in m2

2005-10-18 Thread Chris Berry
This is very cool. It will be far easier to build generic tool sets this way. Using imports was problematic (well anything in Jelly was problematic for that matter ;-) Thanks again, -- Chris On 10/18/05, John Casey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi,

Re: using preGoal and postGoal in m2?

2005-10-18 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The general pattern we've adopted with Maven 2.0 is that of binding your custom behavior to the appropriate place in an absolute lifecycle, rather than relative to some other plugin's execution. The problem with specifying a pre/postGoal is that the

Re: Maven 1 and Maven 2 next to each other

2005-10-18 Thread Thomas Van de Velde
I also believe that Cargo has both builds next to each other. Thomas On 10/18/05, Alex Wood [EMAIL PROTECTED] wrote: Wim, Vincent Massol has an informative presentation about moving from Maven 1 to Maven 2. It's available at

Re: [m2] Running a goal only once in a multiproject context

2005-10-18 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try adding the class-level annotation: @aggregator to your mojo. This will tell the mojo to only execute at the top level. If you need access to the List of project instances in the current build, use the following: /** ~ * @parameter

from m1 to m2

2005-10-18 Thread Nicolas De Loof
Hi, I'm migrating a project from m1 to m2. I'm using a pregoal that was published on this list to download artifact sources (zip) and attach them to eclipse classpath. m1 Eclipse plugin expect them to be in groupid/src(without s)/artifactId-version.zip What's about m2 eclipse plugin ? -

Re: [m2] new plugins for m2 RC??

2005-10-18 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, One point of confusion which comes from our development approach up to recently is the release cycle for plugins vs. that of the core. Going forward, plugins will each have their own release cycle, which is not meshed (except roughly) with

Re: [m2] Running a goal only once in a multiproject context

2005-10-18 Thread fabrice . belingard
Thanks for your answer John! :o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] John Casey

Re: Maven 1 and Maven 2 next to each other

2005-10-18 Thread Jason van Zyl
On Tue, 2005-10-18 at 08:29 +0200, Wim Deblauwe wrote: Hi, is it possible to build with Maven 1 and Maven 2? As I understand it, Maven 2 uses pom.xml in stead of project.xml. So if I have a project.xml I can build with Maven 1 and if I add a pom.xml I can build the same project with Maven

[m2] Dependency Scope Resolution

2005-10-18 Thread Stephen Duncan
I have the portlet-api defined as provided scope in a parent POM in dependencyManagement. As expected, the following message occurs indicating that 'provided' is the scope that will be used: [WARNING] Artifact javax.portlet:portlet-api:jar:1.0 retains local scope 'provided' overriding

RE: maven ant and maven.xml

2005-10-18 Thread Brian E. Fox
Our temporary work around in lieu of a Maven 2 eclipse plugin was to create a simple ant file that just calls maven as a process. This makes it easy to kick off builds from eclipse. The content of our build file follows: project name=supplementaldata Maven2 Wrapper default=maven-install basedir=.

Re: from m1 to m2

2005-10-18 Thread Nicolas De Loof
Great, I'll try this. John Casey a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Then eclipse plugin handles source downloads natively now. Source artifacts are attached to any release deployment by default, IIRC, and they are stored alongside the main artifact in the

RE: maven ant not finding settings.xml?

2005-10-18 Thread Brian E. Fox
I don't have the stack trace anymore, but it was throwing a null pointer in the wagon-ftp at line 118, which is where it attempts to trim the username and password. This happens using maven directly if I don't define a username and pword. We also saw it not using the settings.xml when we defined

Re: [m2] new plugins for m2 RC??

2005-10-18 Thread Dion Gillard
On 10/19/05, John Casey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm not sure about the antRun plugin specifically...the work I've been doing lately is for lower-level support of Ant as a native mojo language, rather than for referencing Ant scripts in the

RE: [m2] Another exception when executing war:war

2005-10-18 Thread Yann Le Du
Hi Christian, This was happening in 2.0-beta-3 when you launched war:war from a parent : http://jira.codehaus.org/browse/MNG-694 Maybe it's another issue you could file. Meanwhile, try this workaround : ~ plugin ~artifactIdmaven-war-plugin/artifactId ~configuration ~

Need Help

2005-10-18 Thread raghurajan . x . gurunathanv
Hi All, I'm new to maven Can any one please give me some sample code for the following 1. How do we use clearcease with scm tag, i know it should be in format as shown below, but how do i give other information like in cvs sscm:cvs:pserver:@cvs.host.name:/cvsroot:module-version

RE: [m2] Pb with test resources

2005-10-18 Thread Yann Le Du
Hi Samuel, There is a bug in doco. In testResources you must use testResource . (In foos you must generally use foo ) Regards, Yann --- Samuel Le Berrigaud [EMAIL PROTECTED] a écrit : Hi, I have soime test specific resources for one project. They are specified this way in my POM:

Re: [m2] Pb with test resources

2005-10-18 Thread Samuel Le Berrigaud
It worked, Thank you ! On 10/18/05, Yann Le Du [EMAIL PROTECTED] wrote: Hi Samuel, There is a bug in doco. In testResources you must use testResource . (In foos you must generally use foo ) Regards, Yann --- Samuel Le Berrigaud [EMAIL PROTECTED] a écrit : Hi, I have soime

Re: [m2] new plugins for m2 RC??

2005-10-18 Thread Brett Porter
I hadn't - thanks. I'm not sure this adds a great deal over using the Ant API itself though. However, what John is referring to is to making Ant a plugin language for Maven (so not Jelly or Marmalade, just plain ant scripts where a target can be used as a goal and the plugin configuration is fed

Re: [m2] Pb with test resources

2005-10-18 Thread Wendy Smoak
From: Yann Le Du [EMAIL PROTECTED] There is a bug in doco. In testResources you must use testResource . (In foos you must generally use foo ) Another one like this is activation, where the docs still say you should use activationProperty but it's supposed to be property. I've found that

RE: [m2] new plugins for m2 RC??

2005-10-18 Thread Brian E. Fox
Isn't that basically the same as using antrun? That's how we've been using it in the meantime to call jdo enhancers and testNg. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 12:42 PM To: Maven Users List Subject: Re: [m2] new plugins for

[m2]archetypeArtifactId=maven-archetype-mojo unresolved artifact maven-plugin-api

2005-10-18 Thread Xavier Toth
I tried creating a plugin project with the maven-archetype-mojo but it generated a dependency on maven-plugin-api that can't be resolved. Is this a 'good' archtype? Does anyone know how to fix the dependency? [INFO] Failed to resolve artifact. GroupId: org.apache.maven ArtifactId:

Maven Site Plugin

2005-10-18 Thread Eli Doran
There are Ant tasks to use some parts of Maven. Can an Ant task be created to utilize the site plugin? If so, where should I start looking to figure that out? any info will be appreciated, ~eli - To unsubscribe, e-mail:

How to define a jars with no version in M2?

2005-10-18 Thread raghurajan . x . gurunathanv
Hi If i want use some jars which has no version number and it doesn't change like weblogic.jar i used as follows in Maven 1 dependency groupIdweblogic/groupId artifactIdweblogic/artifactId

Re: [m2] new plugins for m2 RC??

2005-10-18 Thread Chris Berry
Hi John, I guess what's problematic is that many of us have been working from the HEAD of SVN so that we could workaround this or that bug. So now that we have a release candidate (RC) -- it is only a portion of the picture (no plugins are provided). So do we stick with our current SNAPSHOT

Re: [m2] new plugins for m2 RC??

2005-10-18 Thread Brett Porter
Hi Chris, The current releases (with the exception of a limited number of reporting plugins) work with the RC and have been tested via the integration tests. Likewise, you can build from SVN if you wish for one or all plugins, however we're highly recommending those not working on development of

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

2005-10-18 Thread Brett Porter
That one is in error. It is the only one that I know of. - Brett On 10/18/05, David Sag [EMAIL PROTECTED] wrote: That page is somewhat misleading. For example it claims there is a QALab plugin in development, but, aside from the one I am writing, that does not seem to be the case. Kind

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 arg is all on one line: build.xml: target name=m2-install exec dir=. executable=cmd

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

2005-10-18 Thread Brett Porter
We are working on this this week, based on correcting the most requested artifacts from the Maven repository. On 10/18/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: Even thuogh the core development for M2 is close to being completed, I would be worried about the transitive dependencies not

Re: Installing old build artifacts into your m2 local repository

2005-10-18 Thread Brett Porter
blind stab, untested: j:forEach var=lib items=${pom.artifacts} j:set var=dep value=${lib.dependency} / ant:copy todir=/path/to/m2-repo/${dep.groupId}/${dep.artifactId}/${dep.version} file=${lib.path} / /j:forEach - Brett On 10/18/05, Wendy Smoak [EMAIL PROTECTED] wrote: I have a few

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

2005-10-18 Thread Wendy Smoak
From: [EMAIL PROTECTED] If i want use some jars which has no version number and it doesn't change like weblogic.jar How do i it in Maven2 I've just been inventing version numbers for them, matching the version number of whatever product they came with. For a Java library that comes with

Re: [m2]archetypeArtifactId=maven-archetype-mojo unresolved artifact maven-plugin-api

2005-10-18 Thread Brett Porter
Yep, its a bug, please update the version to '2.0'. The class is in plugin-api. - Brett On 10/18/05, Xavier Toth [EMAIL PROTECTED] wrote: ok, instead I'll ask where do I find org.apache.maven.plugin.AbstractMojo.class?? On 10/18/05, Xavier Toth [EMAIL PROTECTED] wrote: I tried creating a

Re: Maven Site Plugin

2005-10-18 Thread Brett Porter
This is entirely possible. We haven't schedulde the work, but if you'd like to do so we'd be happy to help point you in the right direction. A good start would be to look at the maven-site-plugin. - Brett On 10/18/05, Eli Doran [EMAIL PROTECTED] wrote: There are Ant tasks to use some parts of

Re: Bug in compile plugin (or in Java ?)

2005-10-18 Thread Brett Porter
The only option you have is to use a forked compiler and have it use the 1.4 javac. - Brett On 10/18/05, Arik Kfir [EMAIL PROTECTED] wrote: The java compiler does not warn you if you use API that's new since 1.5 - it only makes sure you use language constructs that are available in 1.4 as

Re: [m2]archetypeArtifactId=maven-archetype-mojo unresolved artifact maven-plugin-api

2005-10-18 Thread Xavier Toth
What repository is it in? On 10/18/05, Brett Porter [EMAIL PROTECTED] wrote: Yep, its a bug, please update the version to '2.0'. The class is in plugin-api. - Brett On 10/18/05, Xavier Toth [EMAIL PROTECTED] wrote: ok, instead I'll ask where do I find

plexus-compiler-*-1.5.1.jar not available in remote repo

2005-10-18 Thread cheethus
m2 looks for plexus-compiler-*-1.5.1.jar series of jars in the remote repo. http://www.ibiblio.org/pub/packages/maven2, but could not find them and hence build fails. I tried pointing to 1.5 versions(which is available in remote repo), but the problem still persists. Any idea where I can get these

Re: plexus-compiler-*-1.5.1.jar not available in remote repo

2005-10-18 Thread Brett Porter
http://www.ibiblio.org/pub/packages/maven2/org/codehaus/plexus/plexus-compiler-api/1.5.1/ On 10/18/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: m2 looks for plexus-compiler-*-1.5.1.jar series of jars in the remote repo. http://www.ibiblio.org/pub/packages/maven2, but could not find them and

Re: [m2]archetypeArtifactId=maven-archetype-mojo unresolved artifact maven-plugin-api

2005-10-18 Thread Brett Porter
in the default one. On 10/18/05, Xavier Toth [EMAIL PROTECTED] wrote: What repository is it in? On 10/18/05, Brett Porter [EMAIL PROTECTED] wrote: Yep, its a bug, please update the version to '2.0'. The class is in plugin-api. - Brett On 10/18/05, Xavier Toth [EMAIL PROTECTED]

Re: using preGoal and postGoal in m2?

2005-10-18 Thread Brett Porter
Or, just point at the docs: http://maven.apache.org/maven2/lifecycle.html On 10/18/05, John Casey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The general pattern we've adopted with Maven 2.0 is that of binding your custom behavior to the appropriate place in an

Re: [m2] 'central has been blacklisted'

2005-10-18 Thread Brett Porter
It just means that the repository won't be used again since it is known not to work. It only lasts for the current build. What error occurs once the proxy settings are in place? - Brett On 10/18/05, David Sag [EMAIL PROTECTED] wrote: A co-worker here using windows just tried to build a

org.apache.maven.plugins:maven-compiler-plugin. Reason: Cannot resolve plugin dependencies

2005-10-18 Thread cheethus
Getting the below error when I run m2 install on the example project (my-app in the maven site). Used to work for me but has anything changed yet. I used m2 archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app to create this app. [INFO]

Re: [m2]archetypeArtifactId=maven-archetype-mojo unresolved artifact maven-plugin-api

2005-10-18 Thread Xavier Toth
I've look all over that repository and I don't see it. On 10/18/05, Brett Porter [EMAIL PROTECTED] wrote: in the default one. On 10/18/05, Xavier Toth [EMAIL PROTECTED] wrote: What repository is it in? On 10/18/05, Brett Porter [EMAIL PROTECTED] wrote: Yep, its a bug, please

Re: org.apache.maven.plugins:maven-compiler-plugin. Reason: Cannot resolve plugin dependencies

2005-10-18 Thread Brett Porter
Are you using Maven 2.0 RC? The error should provide more information. At a guess, I'd say proxy settings. - Brett On 10/18/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Getting the below error when I run m2 install on the example project (my-app in the maven site). Used to work for me but

Re: [m2]archetypeArtifactId=maven-archetype-mojo unresolved artifact maven-plugin-api

2005-10-18 Thread Brett Porter
http://www.ibiblio.org/maven2/org/apache/maven/maven-plugin-api/2.0/ On 10/18/05, Xavier Toth [EMAIL PROTECTED] wrote: I've look all over that repository and I don't see it. On 10/18/05, Brett Porter [EMAIL PROTECTED] wrote: in the default one. On 10/18/05, Xavier Toth [EMAIL

Struts tld dependancy

2005-10-18 Thread Brian E. Fox
Hello, We noticed that the struts tld files are on ibiblio: http://www.ibiblio.org/pub/packages/maven2/struts/struts-bean/1.1/ Is there a way to download these like a normal dependancy? I initially thought setting the depend type to tld but the docs say only jar,ejb and plugin are recognized.

Outstanding questions (Documentation)

2005-10-18 Thread Brian Bonner
I'm looking for documentation about: 1. Reactor (I'd like to understand more about the inner workings of Maven) 2. Tags available when making a plugin, what properties are available to me. 3. Are the packaging elements a finite set? pom, war, ejb, ear, jar Or are there others? Are they

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

2005-10-18 Thread Brett Porter
Wendy has been working on an m2 build for Struts - perhaps she has some more information? - Brett On 10/18/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: Cool. Is there anything yet for Struts? Last time I checked (last week), I couldn't find a pom for transitive dependencies. Cheers,

Re: Struts tld dependancy

2005-10-18 Thread Grant Ingersoll
I use: dependency groupIdstruts/groupId artifactIdstruts-bean/artifactId version1.2.7/version properties war.bundletrue/war.bundle /properties typetld/type /dependency and the like w/o any problems. Maven

How to do EJB Compile

2005-10-18 Thread raghurajan . x . gurunathanv
Hi All, In my project i have ejbs to compile but if use m2 compile life cycle it just compiles and i don't think its doing ejbgen what do i need to do for that? and also can any one please tell me how to use scm tag with clear case would appreciate if you could provide me with some sample

RE: Struts tld dependancy

2005-10-18 Thread Brian E. Fox
Is the properties tag a maven 1 setting? M2 doesn't like it. Any one else notice a bunch of the quick links disappeared from the maven page? I hope they come back soon. -Original Message- From: Grant Ingersoll [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 4:05 PM To: Maven

  1   2   >