Re: deploy goal fails

2007-08-21 Thread Wayne Fay
Caused by: java.io.FileNotFoundException: Z:\jcoleman\projects\eTraderII\trunk\target\classes (Access is denied) at java.io.FileInputStream.open(Native Method) That's your root problem. I can't tell you why its happening or what it means, but that's the reason your deploy is failing. Wayne

Re: "Failed to resolve artifact" for surefire 2.3

2007-08-21 Thread Wayne Fay
That URL works just fine for me. Try again, or get your Network Admin involved if your troubles continue. Wayne On 8/21/07, dberning <[EMAIL PROTECTED]> wrote: > > Forgive my lack of knowledge of Maven (haven't really used it much yet), but > I'm trying to use Maven to run unit tests on code usi

Re: Dependency management

2007-08-21 Thread Wayne Fay
I think what you really want is simply a on artifact1 and artifact2 in your artifact3 pom, not ../artifact1. I'm a little surprised that ../ notation is even allowed in the module node, to be honest. Then, when you build from the top, all of your projects will be built in the proper order assumin

Re: Javadoc plugin help

2007-08-22 Thread Wayne Fay
Try mvn site. Wayne On 8/22/07, Alexander Sack <[EMAIL PROTECTED]> wrote: > I'm trying to generate javadoc using maven instead of ant and nothing seems > to be working. I have a project like so: > > Project > pom > Mod 1 > pom-mod1.xml >Mod 2 >pom-mod2.xml > etc. > > I just want

Re: Generate a properties file on each build

2007-08-22 Thread Wayne Fay
Most of this is already being generated for you in the jar that Maven generates, automatically. Check META-INF/maven///pom.properties and META-INF/MANIFEST.MF. Wayne On 8/22/07, Vihung Marathe <[EMAIL PROTECTED]> wrote: > I think I may have missed this in the thread about the version class > rec

Re: remote-resources

2007-08-22 Thread Wayne Fay
I believe you will need to use "mvn remote-resouces:bundle package", or attach the bundle goal to a phase to have it invoked automatically. Bundle only makes the remote-resources.xml file, you still need to jar things up. Wayne On 8/22/07, EJ Ciramella <[EMAIL PROTECTED]> wrote: > I'm really int

Re: A unit test error with maven

2007-08-22 Thread Wayne Fay
This is probably something the junit guys would be able to help you with more than we can. Unless of course they say it is strictly a Maven/Surefire issue... Wayne On 8/22/07, flyingtiger <[EMAIL PROTECTED]> wrote: > > I don't think there's a way to exclude the Wrapper since it is an inner > clas

Re: Javadoc plugin help

2007-08-22 Thread Wayne Fay
[EMAIL PROTECTED]> wrote: > Weird I tried before I SWEAR and it didn't work. Now it generates the > javadoc. Thanks Wayne. Alright, so why doens't javadoc:javadoc work? I > really only want to generate that report for my project? > > -aps > > On 8/22/07, Wayne

Re: Maven 2.0.2 resources tag

2007-08-22 Thread Wayne Fay
The resources directory for ears is called application, that is, src/main/application. Not src/main/resources. Unless you've overridden the default. As for why it "suddenly stopped working" -- I'd assume you ran mvn -U and got an update on maven-ear-plugin. Perhaps your older version used src/main

Re: remote-resources

2007-08-22 Thread Wayne Fay
remote-resources:bundle package" - and still I > don't get a resource ONLY jar. Am I missing something? > > -Original Message- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 22, 2007 12:42 PM > To: Maven Users List > Subject: Re: remote-resou

Re: Javadoc plugin help

2007-08-22 Thread Wayne Fay
E is set to maven-2.0.6 not 2.0.7). > > Was this broke in 2.0.6? > > Sorry Wayne, I feel really stupid since I'm using Maven left and right these > days with little issue and this seems dumb to me... > > -aps > > On 8/22/07, Wayne Fay <[EMAIL PROTECTED]> wrote: &g

Re: remote-resources

2007-08-22 Thread Wayne Fay
ource-bundle-1.0.jar from the > remote repositories specified in your POM, process each resource in the > bundle and deposit them in your projects $basedir/target/classes > directory." > > > > -Original Message- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: We

Re: remote-resources

2007-08-22 Thread Wayne Fay
in this second one or determine if it is possible > to just have the main one generate the resource jar (which seems we > can't). > > -Original Message- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 22, 2007 3:16 PM > To: Maven Users List &g

Re: remote-resources

2007-08-22 Thread Wayne Fay
d that the documentation was caringly crafted. > > -Original Message- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 22, 2007 3:37 PM > To: Maven Users List > Subject: Re: remote-resources > > 1. Mine is the trivial java project created by arc

Re: parameterised way (like maven.test.skip=true) to bypass a phase/goal

2007-08-22 Thread Wayne Fay
> regarding the 'skip' configuration, you will need to lookup each plugin doco > > there are a few plugins have this option already, like hibernate3, > eclipse, dbunit, > antrun, etc As a plugin author, if someone made a reasonable case for adding a skip configuration to one of my plugins, I'd be

Re: assembly plugin: ordering of dependencies

2007-08-23 Thread Wayne Fay
You might try using the dependency:unpack mojo to unpack those 2 jars on top of each other. I'm not positive it supports ordering but it would be a quick test to find out if it would work for you. Assuming you could unpack the old one first, and then the new one on top of it, you would achieve the

Re: Maven keeps trying to download - even after a success.

2007-08-23 Thread Wayne Fay
Apparently, you don't have a corresponding pom for the jar. If you look at the warning, you'll see its looking for the POM file not the JAR file. Maven will keep looking for the pom, until it finds one or you give it one. To make this error go away, you'll need to provide a pom for this artifact.

Re: Creating maven project

2007-08-23 Thread Wayne Fay
You can use system in your dependency declaration for this. You can find more documentation online. Having said that, you are STRONGLY advised against using system scope, especially for new users, as it does not always work as you would expect. Instead, you should use Maven the correct way -- with

Re: maven-eclipse-plugin classpathContainers parameter question

2007-08-23 Thread Wayne Fay
It is possible this configuration is not currently available in the plugin -- I don't need that myself, and I haven't looked at the code, so I'm not sure myself. If it is not, I expect the code would be relatively trivial to add yourself, and contribute back via a patch. I'd encourage you to take

Re: Cargo plugin not found

2007-08-23 Thread Wayne Fay
Not sure what exactly the problem is, but make sure you're following the directions... I'd start here: http://cargo.codehaus.org/Maven2+Plugin+Installation If you're still having problems, you can always use the "long way" to specify a plugin: mvn groupId:artifactId:version:mojo Which becomes: mv

Re: Question about filtering

2007-08-23 Thread Wayne Fay
If you have something that works in Ant, and you're happy with it, then I wouldn't worry too much about doing it in the Maven way. If you really want to make it work "the Maven way", I think it might be easiest if you just write a plugin. Wayne On 8/23/07, Dave Feltenberger <[EMAIL PROTECTED]> w

Re: Where to store configuration files?

2007-08-23 Thread Wayne Fay
Anywhere you want. The directory src/main/config/dev seems reasonable since you don't need these scripts in your final product (in which case, I'd say somewhere under src/main/resources). Wayne On 8/23/07, lightbulb432 <[EMAIL PROTECTED]> wrote: > > Where's the best place in the standard Maven l

Re: provided dependencies

2007-08-24 Thread Wayne Fay
Of course, since the tree mojo is not available in any released dependency version (yet), this means pulling the code down from SVN and "mvn install" locally or adding the Codehaus Snapshot repo to your pom... So hopefully you have some idea what you're doing. ;-) Wayne On 8/24/07, Tim Kettler <[

Re: how to add more than one group id to archtype plugin

2007-08-27 Thread Wayne Fay
I assume these are all going to be separate projects under one master parent pom project? This will require multiple invocations of the create command. There is no way to pass multiple groupId's in a single execution. Wayne On 8/22/07, Rashid Jilani <[EMAIL PROTECTED]> wrote: > Hi: all, I want t

Re: Maven Netbeans Build issues - JDK 1.6.0.02

2007-08-27 Thread Wayne Fay
Which repo are you having problems with? First you say repo1.maven.org. Then you say jibx.sf.net. Wayne On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi All, > > The maven plugin is unable to connect to the website > http://repo1.maven.org/maven2/ from netbeans IDE. I have the corre

Re: Maven and macker plugin working??[UPDATES]

2007-08-27 Thread Wayne Fay
Just FYI... The code is available in the Mojo sandbox SVN and the site was just deployed: http://mojo.codehaus.org/macker-maven-plugin/ Wayne On 8/20/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > Jeremy et al, > > I just checked in the first rough draft of macker-maven-plugin > v1

Re: Community review of the next commons-logging pom

2007-08-27 Thread Wayne Fay
A couple comments... take them or not, entirely your choice: 1. The properties at the bottom -- any reason you aren't just configuring maven-compiler-plugin instead? 2. Its a bit unfortunate the maven-jar-plugin doesn't support the includes/excludes you require, and so you have to use antrun inst

Re: Associate a default goal for a plugin and type the plugin name only on cmdln

2007-08-27 Thread Wayne Fay
I don't know of a way to configure a default goal for a plugin. However, if you bind the goal to a phase, you don't even need to type the plugin (nor the goal) on the CLI... It just all happens automagically. Wayne On 8/27/07, Farhan Sarwar <[EMAIL PROTECTED]> wrote: > Hello Guys, > > I was just

Re: Cyclic dependency status

2007-08-28 Thread Wayne Fay
I can't forsee Maven ever realistically making it possible/easy to introduce cyclical dependencies into your dependency graphs. This goes against the basic principles of the tool. Wayne On 8/28/07, Adrian Gonzalez <[EMAIL PROTECTED]> wrote: > Hello, > > I've read some post and cyclic dependency b

Re: installing a ueber jar

2007-08-28 Thread Wayne Fay
Use build-helper-m-p and attach your artifact to the build/project. Wayne On 8/28/07, Domingos Antonio Pereira Creado Júnior <[EMAIL PROTECTED]> wrote: > Hi there, > > I´m developing an applet that has many dependencies. To speed-up the load > phase, I´m using the ueber plugin [1]. > The ueber p

Re: m2 ear plugin and resource filters.

2007-08-28 Thread Wayne Fay
1. Try ${project.*} instead. 2. Consider writing a geronimo plugin (or patching the existing maven-ear-plugin), and contributing it back. It would be helpful for other people who need to generate these geronimo.xml files. And I think it would be pretty simple. Wayne On 8/28/07, Jonathan Chen <[EM

Re: "targetPath" tag COMPLETELY ignored by Maven......

2007-08-28 Thread Wayne Fay
Try bumping your version to 2.0.2 which is apparently the latest available... http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/ Don't know if that will do anything, just an idea. Wayne On 8/28/07, Julien Martin <[EMAIL PROTECTED]> wrote: > Hello, > > Apparently the "targe

Re: environment variable for location of settings.xml?

2007-08-28 Thread Wayne Fay
mvn -? -s,--settings Alternate path for the user settings file Wayne On 8/28/07, Baz <[EMAIL PROTECTED]> wrote: > All, > > Does maven 2.x looking at any environment variables for the location of > settings.xml? I know the default location is /.m2 but I want > to be able to change

Re: environment variable for location of settings.xml?

2007-08-28 Thread Wayne Fay
AIL PROTECTED]> wrote: > Wayne, > > Thanks for your reply. > > If I dont use "-s" then it will only look at /.m2 ? No > environment variable will change this behaviour right? > > B. > > On 8/28/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > >

Re: maven plugin for ckjm ...

2007-08-28 Thread Wayne Fay
any thanks! Good job! > > Regards, > Giovanni > > -Original Message- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 16, 2007 5:23 AM > To: Maven Users List > Subject: Re: maven plugin for ckjm ... > > I got bored and wrote the plugin ton

Re: maven plugin for ckjm ...

2007-08-28 Thread Wayne Fay
Wayne On 8/28/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > Finally got around to submitting the code into the Sandbox... Thanks > in advance for any feedback. > > You can find the (rough draft) code for the ckjm-maven-plugin in the > Codehaus Sandbox: > https://svn.codehaus

Re: maven plugin for ckjm ...

2007-08-29 Thread Wayne Fay
o to add a ckjm report in the project reports section, > cf > http://mojo.codehaus.org/ckjm-maven-plugin/project-reports.html > > Rémy > > 2007/8/28, Wayne Fay <[EMAIL PROTECTED]>: > > > > One last thing I forgot... > > > > Since the ckjm utility it

Re: buildNumber plugin error

2007-08-29 Thread Wayne Fay
You could certainly request this as a new feature in the plugin. Post a RFE in Jira for MOJO project, and hopefully the plugin author will see it and decide to add your feature (or not) if he thinks it makes sense. Wayne On 8/29/07, DCVer <[EMAIL PROTECTED]> wrote: > > Thanks, thats why it really

Re: [ANN] Maven archetype plugin 1.0-alpha-6 released

2007-08-29 Thread Wayne Fay
Carlos, we've got a bad pom: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype/1.0-alpha-6/maven-archetype-1.0-alpha-6.pom Its pointing to 1.0-alpha-5 for model, core, creator which of course does not exist. Also the metadata in core, model, creator all have 1.0-alpha-5 in

Re: Trouble with mojo tutorial

2007-08-29 Thread Wayne Fay
Try mvn -U ... to force an update. 1.0-alpha-5 was a "failed release". The only available versions are -4 and -6. Wayne On 8/29/07, siegfried <[EMAIL PROTECTED]> wrote: > I'm trying to follow the instructions at > http://maven.apache.org/guides/plugin/guide-java-plugin-development.html. > Below

Re: Help Creating My Own Maven 2 Archetype

2007-08-29 Thread Wayne Fay
Everything looks right/good to me. What exactly is wrong, from your perspective? Its not clear what you're getting vs what you expect to get. Wayne On 8/29/07, Andrew Leer <[EMAIL PROTECTED]> wrote: > See: > > http://docs.codehaus.org/download/attachments/37533/MavenArchTypes_Template_N_Result2.

Re: Compatible License Plugin - does one exist ?

2007-08-30 Thread Wayne Fay
Not that I know of. If you write it, please contribute it back, perhaps someone else would find it useful. Wayne On 8/30/07, Stephen More <[EMAIL PROTECTED]> wrote: > I would like to release some code as "open source", but I am not sure > which license to pick. > > "Does your project currently us

Re: Compatible License Plugin - does one exist ?

2007-08-30 Thread Wayne Fay
ies have maven pom.xml files, they can specify the > > license in them. > > > > Alexander Sack wrote: > > > Just out of curiosity, how the heck would you figure this out? Seems > > like > > > this would be too complicated to do in software though I AM 10

Re: Layered Archetypes?

2007-08-30 Thread Wayne Fay
Another possibility is that the documentation is merely incorrect (or forward-looking ie "at some point this is what will be possible") or your interpretation of what "layered archetype" means is incorrect. I'm not sure what the correct answer is here, because I like constructing my pom.xml files

Re: error getting maven-ant-plugin 2.0-SNAPSHOT

2007-08-30 Thread Wayne Fay
Yes, that is exactly correct: mvn groupId:artifactId:version:goal Wayne On 8/30/07, Srinivasan Chikkala <[EMAIL PROTECTED]> wrote: > > Thanks for the info. I fixed this part by removing the apache maven > repository from the mirror and adding it as a repository ( I just copied > the apache profil

Re: Building JBoss EAR archives with SAR included

2007-08-30 Thread Wayne Fay
On 8/30/07, Alan D. Salewski <[EMAIL PROTECTED]> wrote: > > Hope that cookbook is helpful to someone, This is a great contribution. I don't suppose I could get you to post it in the Maven User Wiki? http://docs.codehaus.org/display/MAVENUSER/Home Wayne --

Re: Can I apply xslt to surefire reports?

2007-08-30 Thread Wayne Fay
Several options... You could attach maven-antrun-plugin and use the junitreport task directly, if you already have a process that works. Make sure you include the proper plugin dependency so you have access to the junitreport task. Or just call out to your existing build.xml file with ant after ex

Re: Trouble with mojo tutorial

2007-08-30 Thread Wayne Fay
> > sample.plugin:maven-hello-plugin:maven-plugin:1.0-SNAPSHOT > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2) > > > > [INFO] > -------- > > [INFO

Re: install:install-file usage

2007-08-31 Thread Wayne Fay
I think this is simply an incorrect assumption on your part. I'm not surprised Maven doesn't like URLs specified for install-file. You are welcome to file an RFE in Jira and perhaps someone will add that feature, it sounds reasonable. Same goes with expecting Maven to get the groupId etc fields o

Re: Multiple Primary Artifacts from a Single WAR Project

2007-08-31 Thread Wayne Fay
I'd take the overlays approach with an "abstract" web project, resulting in 3 separate poms and projects, and thus 3 separate "war endstates" as you called it. Wayne On 8/31/07, Shelley <[EMAIL PROTECTED]> wrote: > I have a single web project which requires three distinct .war endstates, > where

Re: Trouble with mojo tutorial

2007-08-31 Thread Wayne Fay
:maven-plugin:1.0-SNAPSHOT > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2) > > > > sample.plugin:maven-hello-plugin:maven-plugin:1.0-SNAPSHOT > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2) > > > > [INFO] > --

Re: Maven and macker plugin working??[UPDATES]

2007-09-03 Thread Wayne Fay
gt; section of the web site. Is it possible to change that to the > src/main/resources directory? > cheers, > Jeremy > > > > On 8/28/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > > I just now deployed the 1.0.0-SNAPSHOT to Codehaus Snapshot repo. So > >

Re: tool for browse a internal repo

2007-09-03 Thread Wayne Fay
Something like: find {repo path here} -name *.jar | grep {search phrase here} ? Turn that into a cgi called by Perl or something similar. Or write a little jsp to do the same and perhaps use FileUtils in Plexus Utils for directory scanning. Wayne On 9/3/07, Martin Alejandro Villalobos <[EMAIL PR

Re: Test resources in final release ?

2007-09-03 Thread Wayne Fay
Try "mvn help:effective-pom" to see all the various configuration options you've set. Also try "mvn -U package" to perhaps update some of your plugins. It sounds like you have something special going on in your environment. I just did a test run myself, and the resources from test are definitely n

Re: Tomcat Manager username

2007-09-03 Thread Wayne Fay
I poked around in the code and tomcat-maven-plugin inherits the authentication details from WagonManager. And I don't know how to pass this info to WagonManager without using settings.xml. If you really need this, you could modify the tomcat-maven-plug code itself to accept -D style authentication

Re: Project or module depends on assembly of another?

2007-09-04 Thread Wayne Fay
You need to run "mvn install" to put the artifacts in your local cache from MyProj-Core. Then you can depend on it in MyProj-Integration-Tests (just like any other dependency) and it will pull the file out of the cache and use it during its own execution ie mvn test etc. As for calling "mvn compil

Re: exec-maven-plugin -> how to skip execution in a sub-project

2007-09-04 Thread Wayne Fay
This should work. In root/pom.xml, in the exec plugin config, set inherited=false. maven-exec-plugin false Alternatively, you could put the exec plugin in a profile, and only use that profile when building from the root ie -Pdoexec. Wayne On 9/4/07, szefo <[EMAIL PROTECTED]> wrote: > > Hi,

Re: Project or module depends on assembly of another?

2007-09-04 Thread Wayne Fay
> So what is the point of having modules at all? If you have to install > them anyway, why aren't they all just separate projects? For all intents, they are (completely) separate projects. > Ok, lets say I install the Core project, is there a way in my > Integration-Tests to get a filename for th

Re: site deployment to url without parent information

2007-09-04 Thread Wayne Fay
The answer is exactly what you're trying to avoid... You must configure the site again in your children pom. You might be able to avoid typing the full site URL in each child pom by using a property in the parent ie ${shared.site} which is set to "scp://webserver.mycompany.com/projects/". Wayne

Re: Question on automatically adding files to a local repository

2007-09-04 Thread Wayne Fay
> See, I define all my jar versions in a settings.xml and this works fine > but somehow when it sees that pom.xml, it gets confused and cannot > pickup any versions. Easy answer -- don't do that. Use and to control versions. And where it makes sense, insert these nodes in a shared parent pom to

Re: Project or module depends on assembly of another?

2007-09-05 Thread Wayne Fay
> ok, so "mvn package" in core creates a target/MyProj-.tar.bz2 file. First, a question, why are you creating a tar.bz2 instead of a jar? Just wondering. I assume you are using assembly plugin to generate this tar.bz2 file. If so, you should install this artifact into your repo. (Or you cou

Re: Reactor and cyclic dependencies with different scopes

2007-09-05 Thread Wayne Fay
I think you probably want to look into creating a "test-jar" and adding a dependency on that in both projects. Wayne On 9/5/07, Torsten Schlabach <[EMAIL PROTECTED]> wrote: > Hi! > > I have a number of projects in my reactor. > > - Project A requires project B with compile > - Project B requires

Re: Retrieving version of the pom itself - not the child projects pom

2007-09-05 Thread Wayne Fay
You've never said why you need this, so it is possible there are better ways to do what you're trying to do that would not require the manual step at release. Perhaps you can explain the reason behind this whole thing? Wayne On 9/5/07, PeterNilsson <[EMAIL PROTECTED]> wrote: > > Yes, that would w

Re: source:jar includes resources?

2007-09-05 Thread Wayne Fay
The better question is why should they NOT be in the sources jar as well? You need them to successfully build the binary, right? So don't you think the sources jar should have all necessary source files, and not just the subset of code files? Wayne On 9/5/07, Siegmann Daniel, NY <[EMAIL PROTECTED

Re: source:jar includes resources?

2007-09-05 Thread Wayne Fay
s). I was surprised > this is not configurable. > > ~Daniel > > -Original Message- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 05, 2007 4:09 PM > To: Maven Users List > Subject: Re: source:jar includes resources? > > The better q

Re: source:jar includes resources?

2007-09-05 Thread Wayne Fay
ho sees any value in this feature. > Well, I suppose if it becomes problematic in the future, I'll attend to > it then. > > Thanks everyone for the time you took to reply. > > -- > Daniel Siegmann > FJA-US, Inc. > 512 7th Ave. 15th Flr. New York, NY 10018 > (212) 84

Re: Maven java-source local repository

2007-09-06 Thread Wayne Fay
This is certainly odd. It might even be a bug. Where do javadocs land in your repo when Maven downloads them? Wayne On 9/6/07, Juan Ignacio Garzón <[EMAIL PROTECTED]> wrote: > Hi! > > I configured maven to download the sources of JARs. I have created a > local repository (a network drive in orde

Re: Maven java-source local repository

2007-09-06 Thread Wayne Fay
aging=jar -Dclassifier=javadoc > > The javadoc was correctly installed in my configured local repository. > > I made the same thing with the sources, and they get correctly > installed. The problem seems to be with automatically downloaded > sources (and, maybe, javadocs). &g

Re: Question how to prevent maven from update manually added dependencies

2007-09-07 Thread Wayne Fay
Its not clear what you are trying to do and why. Please explain things better. In the meantime, you can use "mvn -o ..." for "offline mode" which will force Maven to use only the artifacts available on your machine for a given build. Wayne On 9/7/07, Ritz, Martin <[EMAIL PROTECTED]> wrote: > Ho

Re: Dependencies conflict with dependencyManagement

2007-09-07 Thread Wayne Fay
Try "locking down" the version you've declared in depMgmt like: [3.1] With this configuration, you should be more or less "guaranteed" to get 3.1 in your Jars etc. Wayne On 9/7/07, Farhdine Boutzakhti <[EMAIL PROTECTED]> wrote: > Hi all! > > > > I've a question about dependencies conflict m

Re: Realm Basic Authentication required

2007-09-07 Thread Wayne Fay
This is not a "mvn install" problem. Instead your tests are failing -- I think this is pretty obvious from the error/stacktrace. Get your TestNG tests working properly and then try again. Or "skip" tests if you are determined to install this code despite the failing tests. Wayne On 9/7/07, theoz

Re: ${basedir} Windows and ${file.separator}

2007-09-07 Thread Wayne Fay
Use 2 profiles that are auto-activated based on OS and hard-code the proper value in both. Wayne On 9/7/07, Andrew Leer <[EMAIL PROTECTED]> wrote: > Hello all, > > I am using Maven2 on Windows XP > > Lets say that I have this property in my pom.xml file: > > > ${basedir}${file.separator}log${file

Re: Dependencies conflict with dependencyManagement

2007-09-07 Thread Wayne Fay
e Boutzakhti <[EMAIL PROTECTED]> wrote: > Hi Wayne! > > I can't try this, because the conflict is in a sub-dependency, it isn't > a direct dependency. > > Thanks for your help. > > Farhdine. > > -Original Message- > From: Wayne Fay [mailto:[EM

Re: ${basedir} Windows and ${file.separator}

2007-09-07 Thread Wayne Fay
${file.separator}'s > inside of that variable. > > I.E. > > ${basedir}=C:\workspace\dev\projectTest > (under windows) > > I can't add an extra path separator that way > > Thank you, > > Andrew J. Leer > > On 9/7/07, Wayne Fay <[EMAIL PROTEC

Re: Dependencies conflict with dependencyManagement

2007-09-07 Thread Wayne Fay
ayne On 9/7/07, Farhdine Boutzakhti <[EMAIL PROTECTED]> wrote: > Cool, thanks it works now! > > But I'm astonished to learn that Maven doesn't support really conflicts > between sub-dependencies... > > Thanks again Wayne! > > Farhdine. > > -Original

Re: maven-archetype-j2ee-simple

2007-09-07 Thread Wayne Fay
Pom packaging does not contain source. You must create modules for all your source code etc. The top parent pom simply organizes the modules. Wayne On 9/7/07, Eric Wood <[EMAIL PROTECTED]> wrote: > I ran the > > mvn archetype:create ... > -DarchetypeArtifactId=maven-archetype-j2ee-simple > >

Re: Maven2 properties file as in Ant

2007-09-07 Thread Wayne Fay
Not without using a plugin. Why not use the settings.xml that stored in your personal user directory (~/.m2/settings.xml) for these kinds of things -- that's about as secure as it gets. Wayne On 9/7/07, Juan Ignacio Garzón <[EMAIL PROTECTED]> wrote: > Hi! > > I have read the Settings Reverence [1

Re: why is xalan serializer 2.70 missing from central?

2007-09-09 Thread Wayne Fay
This is really a question for the Xalan people. While waiting for a response from Xalan, it looks like Redhat is hosting this artifact: http://repository.jboss.org/maven2/apache-xalan/serializer/ Wayne On 9/7/07, Russ Tremain <[EMAIL PROTECTED]> wrote: > Does anyone know why the 2.7.0 serialize

Re: Using Maven WebLogic Plug in

2007-09-09 Thread Wayne Fay
On 9/9/07, Pascal Thivent <[EMAIL PROTECTED]> wrote: > In my very humble opinion, this solution is a bit hugly. Again, I may > be wrong but I think this should be handled *in* the maven plugin, > like the cargo team is doing with the JdkUtils class (see > http://tinyurl.com/2rbpfu and it's usage).

Re: Question how to prevent maven from update manually added dependencies (detailed descr)

2007-09-10 Thread Wayne Fay
You can try setting the version in your dependency declaration to [1.0] which will "lock down" the version, and then Maven should realize that you already have those artifacts in your local repo cache, and it doesn't need to run out and look for updates. Wayne On 9/10/07, Ritz, Martin <[EMAIL PRO

Re: XML entities or alternative?

2007-09-10 Thread Wayne Fay
Not presently. The idea of "snippets" has been under discussion on dev@ lately. Feel free to chime in. Wayne On 9/10/07, Kevin Jackson <[EMAIL PROTECTED]> wrote: > Hi, > > I have a pom with two custom plugin configurations, both of which > require access to virtually identical xml. I'd like > t

Re: XML entities or alternative?

2007-09-10 Thread Wayne Fay
From: Brett Porter Subject: [poll] Need for plugin packs / mixins for plugins Date: Sun, 2 Sep 2007 12:53:49 +1000 To: Maven Developers List Wayne On 9/10/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > On 9/10/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > Not presentl

Re: command line compile crashes Eclipse

2007-09-10 Thread Wayne Fay
Dunno. Did you ask the Eclipse folks? Wayne On 9/10/07, Joshua ChaitinPollak <[EMAIL PROTECTED]> wrote: > I'm not sure why this happens, but it seems to happen with both > m4eclipse and q4e, or possibly its just an eclipse project generated > with eclipse:eclipse, but either way, My system grinds

Re: FW: Using Proximity Corporate Repository doesnt download plugins/dependencies

2007-09-10 Thread Wayne Fay
Perhaps Tamas will reply. I know he had a hardware failure and so the normal Proximity support channels are not available. Wayne On 9/10/07, Sonar, Nishant <[EMAIL PROTECTED]> wrote: > Hello > > > > I am trying to setup a corporate repository through proximity. Her's > what I did > > > > Installe

Re: Is there a property for parent directory?

2007-09-10 Thread Wayne Fay
Why do you need to do this? There may be a better way to do the same thing that does not involve a ${parent} tag at all. Wayne On 9/10/07, Huang, Yan <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a property or way to get parent directory in maven? Let's say I > have this structure of my projects:

Re: Maven Antrun Plugin - specific target call

2007-09-11 Thread Wayne Fay
Profiles will solve your problem. Wayne On 9/11/07, Ritz, Martin <[EMAIL PROTECTED]> wrote: > Hi, > > I have some ant targets integrated in my pom.xml. > I declared an ant build script which is therefor called from maven. > Now I dont want to perform every ant target on every build. > Is there a

Re: Re: Maven Antrun Plugin - specific target call

2007-09-11 Thread Wayne Fay
I would just move those targets out to a build.xml file so you can call them directly with Ant. Then set Maven up so it calls the targets in the build.xml file rather than embedding the Ant stuff in your pom. Wayne On 9/11/07, Ritz, Martin <[EMAIL PROTECTED]> wrote: > > I have already two profile

Re: Search email archive for configuration error on windows

2007-09-11 Thread Wayne Fay
Try adding -U to your Maven execution ie "mvn -U compile" to force an update of your plugins. Wayne On 9/11/07, Eric Wood <[EMAIL PROTECTED]> wrote: > Is there a way to search the email archive? > > I'm having issues setting up maven on windows. I set it up fine on AIX > and it is running fine th

Re: Re: Maven Antrun Plugin - specific target call

2007-09-11 Thread Wayne Fay
antfile="src/main/ant-builds/buildJnlps.xml" > target="${antTarget}" /> > > > On 9/11/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > > I would just move those targets out to a build.xml file so you can > > call them directly with Ant. T

Re: Re: Maven Antrun Plugin - specific target call

2007-09-11 Thread Wayne Fay
nd that it wasn't just using Maven to wrap an > ant build process - that I agree would be silly. > > > On 9/11/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > > That just sounds more complicated than it needs to be. Calling Maven > > just so it will call Ant

Re: Parametrisizing artifact version numbers

2007-09-12 Thread Wayne Fay
Have you considered the release plugin? Wayne On 9/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi! > I'm working on a few different maven projects with several modules in each. > Most of the modules have dependencies to other modules within the same > project and also to other projec

Re: adding struts-config.xml file to WEB-INF folder during WAR build

2007-09-12 Thread Wayne Fay
Assuming you're using the standard Maven directory structure, simply put the struts-config.xml file in the following place: {root}/src/main/webapp/WEB-INF/ Then Maven should include it automatically in WEB-INF in your WAR. It looks like you're using a non-standard layout, so that makes it more di

Re: adding struts-config.xml file to WEB-INF folder during WAR build

2007-09-12 Thread Wayne Fay
as hoping that someone could have a > > simpler solution before the long haul of moving stuff around in CVS > > etc... > > > > -Original Message- > > From: Wayne Fay [mailto:[EMAIL PROTECTED] > > Sent: 12 September 2007 17:06 > > To: Maven Users L

Re: suite in junit and maven 2 - do they work together

2007-09-12 Thread Wayne Fay
If you use the plugin configuration he provided, then yes, Maven will automatically invoke the suites in the test phase. Wayne On 9/12/07, Farhan Sarwar <[EMAIL PROTECTED]> wrote: > but does maven invoke these suites for you during its build-cycle? as > thats what i want > > On 9/12/07, Sebastian

Re: Surefire support for 'smoke tests'

2007-09-12 Thread Wayne Fay
Is it possible to perhaps utilize an in-memory db to speed up your database tests? Are you already using one? Or is this not an option for various technical reasons (ie you need certain stored procs in Oracle etc)? Wayne On 9/12/07, Brad from MA <[EMAIL PROTECTED]> wrote: > > Thanks Jim - that lo

Re: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3

2007-09-13 Thread Wayne Fay
Kyle, you sent this an hour ago and people responded to it. Why did you resend? I've noticed a few people sending the same message multiple times and I'm curious why this happens. Wayne On 9/13/07, Graham Leggett <[EMAIL PROTECTED]> wrote: > On Thu, September 13, 2007 4:28 pm, Kyle.Bober wrote:

Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-13 Thread Wayne Fay
That explains a lot. And now that you mention it, something happened to me the first time I posted... a while back. I wonder if we could perhaps ask (someone) about changing the configuration of the mail list server, or something along those lines, if this is what people are generally expecting.

Re: tie dependency to one repository

2007-09-13 Thread Wayne Fay
I'd suggest installing a "Corporate repository" using something like Artifactory, Proximity etc and getting all of your artifacts from it. This speeds things up dramatically as all requests are on your LAN. Wayne On 9/13/07, Sonar, Nishant <[EMAIL PROTECTED]> wrote: > Hi Sebastian, > > I still ha

Re: Eclipse and Maven "best practice"

2007-09-13 Thread Wayne Fay
I'm recently involved in an SAP NWDS (NetWeaver Dev Studio) project at work. NWDS is really just Eclipse 2.1 with some SAP-specific stuff added. Among the things they took away in this customized Eclipse is the ability to add plugins etc the usual way through the menu system. I'm wondering if any

Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)

2007-09-13 Thread Wayne Fay
MAIL PROTECTED]> wrote: > So when you reply to a message on this list or start a new thread with > just a "To: Maven Users List " header, you don't > recieve the sent mail via the mailinglist? This is working for me. > > -Tim > > Wayne Fay schrieb: > >

<    4   5   6   7   8   9   10   11   12   13   >