RE: 1.1-alpha-2 Web application unresponsive

2007-06-27 Thread Madsen,Bryan
Vista -Original Message- From: Jesse McConnell [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 1:08 PM To: continuum-users@maven.apache.org Subject: Re: 1.1-alpha-2 Web application unresponsive what os are you using? On 6/25/07, Madsen,Bryan [EMAIL PROTECTED] wrote: When I go

conditional reporting ...

2007-06-27 Thread Giovanni Azua
Hi all, I build the site of my project whether from Windows or Fedora, svn does not work Correctly on windows so I wanted to activate the SCM report plugin only on demand e.g. mvn clean install site -Dgenerate.statsvn=true The problem is that I can not find the way to specify this in

Re: [M1.1]: Can't find some plugins

2007-06-27 Thread Dion Gillard
In my limited experience, using Archiva (1.0-alpha1 on windows) with M1 is painful and time consuming, and it seems geared to work with m2, as well as being still in the early stages of development and hence functionally flaky. We're still using maven-proxy for those reasons. On 6/27/07, Arnaud

Release Plugin: resolving snapshot dependencies cutting releases

2007-06-27 Thread James Levinson
I am valiantly trying to replace my old ant w/ many sandboxes and ssh build/release process in favor of a newimproved mvn2-svn-wagonssh process. I have my super-pom and my other poms working nicely; I can create my artifacts just fine. But, the last piece in the puzzle is a bit of a hurdle:

Listing dependency names in manifest - conflict

2007-06-27 Thread f sa
Hi all I'm having a problem with dependency jar naming within the war file generated by the WAR plugin. There's a dependency on X-2.0.1-SNAPSHOT.jar, but when maven downloads it form the local repository, it puts it in using the unique timestamped name the way it is stored in snapshot

Q: assembling multi-module where one module has multiple jar artifacts

2007-06-27 Thread Keith Beattie
Hello all, I've got a multi-module project using the assembly plugin to collect all the resulting jar files into a dir with their dependencies. One of the modules generates several jar files and does so using the jar and build-helper plugins. Thanks to this list, I've gotten this all working,

Deploy into subversion

2007-06-27 Thread javijava
Hi, i try to deploy a maven project into a subversion repository, i use this tag into POM file: distributionManagement repository idid/id namename/name urlscp://ip_host/url /repository /distributionManagement Then , the files where

RE: pluginManagement, plugins and reporting

2007-06-27 Thread Jörg Schaible
Julien Stern wrote on Tuesday, June 26, 2007 5:12 PM: Hi list, With maven 2.0.7, it seems that when global plugin parameters are defined in the pluginManagement section of the POM, these parameters are transmitted to the plugins defined in the plugins section of the build but not to the

plugin version range doesn't work version[2.3,)/version

2007-06-27 Thread Pete
Is a plugin version range supposed to work in maven 2.0.6 ? I thought this would be a neat way of ensuring we have latest plugin and at least one that works with JUnit4 plugin groupIdorg.apache.maven.plugins/groupId

Re: What settings.xml files does Continuum use?

2007-06-27 Thread Emmanuel Venisse
settings.xml files used by continuum are printed in logs. It's better to configure repositories in ~/.m2:settings.xml because the other file path depends on how you start continuum, we must fix it. Emmanuel Wendy Smoak a écrit : When adding a new project to Continuum I've determined that it

Re: writing maven plugins

2007-06-27 Thread János Jarecsni
hi, after even the simplest plugin-related stuff did not work for me (like the suggested assembly plugin approach), all failed with this and that target not being found, I started to suspect, that my installation has some problems. I checked the proxy settings, it was ok. Then I opted to remove

Re: [M1.1]: Can't find some plugins

2007-06-27 Thread Lukas Theussl
And you don't have those issues that Jamie reported? -Lukas Dion Gillard wrote: In my limited experience, using Archiva (1.0-alpha1 on windows) with M1 is painful and time consuming, and it seems geared to work with m2, as well as being still in the early stages of development and hence

using alternate Doclet ydoc.doclets.YStandard

2007-06-27 Thread Giovanni Azua
Hi all, I have tried several recommendations on the web on how to integrate yDoc with Maven 2 but none seem to work? Anyone knows how to set it up? I have not tried creating an artifact Id for it ... I think is a less portable solution i.e. will have to do the process all over in every site

Re: assembly plugin together with the release plugin

2007-06-27 Thread firepol
Dear Micheal, according to the assembly usage documentation, see chapter Normal Assemblies on http://maven.apache.org/plugins/maven-assembly-plugin/usage.html your pom should be modified as follows: plugin artifactIdmaven-assembly-plugin/artifactId configuration

Re: using alternate Doclet ydoc.doclets.YStandard

2007-06-27 Thread harald . meyer
Quoting Giovanni Azua [EMAIL PROTECTED]: Hi all, I have tried several recommendations on the web on how to integrate yDoc with Maven 2 but none seem to work? Anyone knows how to set it up? I use ydoc in several of my projects, it works greatly. You might take a look at an example POM:

Re: [M1.1]: Can't find some plugins

2007-06-27 Thread Arnaud HERITIER
I agree. I'm using an old patched version of Archiva to support maven 1 and 2. I made the effort to use it because I wanted to have the functionality of proxy but also the one of hosting repo (uploads, ...). I planed to spend some time to work on archiva this summer to help Joakim to have a good

Re: assembly with modules problem

2007-06-27 Thread Haim Ashkenazi
On Tue, 26 Jun 2007 12:19:20 -0700, Keith Beattie wrote: [...] Try (as the messages suggests) 'mvn package assembly:assembly' rather than 'mvn assembly:assembly' This is a known problem: see the note a the bottom of

Maven with NTLM

2007-06-27 Thread Sammpathkumar, C
Hi All, I am struggling with Maven to make I work with NTLM authentication in our office network. I tried customizing settings.xml and giving the environment properties in commandline with details of the proxy. But I always get the below error: Caused by: java.net.ProtocolException: Server

Re: Maven with NTLM

2007-06-27 Thread Thorsten Heit
Hi, I am struggling with Maven to make I work with NTLM authentication in our office network. I tried customizing settings.xml and giving the environment properties in commandline with details of the proxy. But I always get the below error: Caused by: java.net.ProtocolException: Server

Dependency downloads

2007-06-27 Thread Alok, Niraj
Guys, This is getting really confusing as I am not able to make any heads of it. I have a dependency, say moduleA's 0-SNAPSHOT. If this dependency in mentioned in the normal project - dependencies tag, it gets downloaded as Downloading from repository - moduleA - timestamp - buildnumber.jar

Re: Maven with NTLM

2007-06-27 Thread Tim Kettler
Hi, some time ago a user reported success [1] using a NTLM Authorization Proxy Server [2]. The link to the proxy doesn't seem to work anymore but there have to be others. -Tim [1] http://www.nabble.com/NTLM-Proxy-problems-tf1518291s177.html#a4126098 [2] http://apserver.sourceforge.net/

Re: [M1.1]: Can't find some plugins

2007-06-27 Thread Dion Gillard
So far, we've been fine on maven-proxy. Fingers crossed :-) On 6/27/07, Lukas Theussl [EMAIL PROTECTED] wrote: And you don't have those issues that Jamie reported? -Lukas Dion Gillard wrote: In my limited experience, using Archiva (1.0-alpha1 on windows) with M1 is painful and time

Eclipse dependency on non multi module projects

2007-06-27 Thread Sufyan Arif
Hi, I have a project set up in the classic form Parent | child1 child2 child3 When I run mvn eclipse:eclipse at the parent level then the dependancies to the children project are created correctly as eclipse project dependancies. However I also have another project called

Subversion's usage model

2007-06-27 Thread javijava
Hi, I visited the URLhttp://maven.apache.org/scm/plugins/add-mojo.html but i don't have any example to see the rigth usage of scm Someona can write a simple example to add files from maven to an subversion repository?? thanks -- View this message in context:

Subversion's usage model

2007-06-27 Thread javijava
Hi, I visited the URLhttp://maven.apache.org/scm/plugins/add-mojo.html but i don't have any example to see the rigth usage of scm Someona can write a simple example to add files from maven to an subversion repository?? thanks -- View this message in context:

Re: Subversion's usage model

2007-06-27 Thread Max Bowsher
javijava wrote: Hi, I visited the URLhttp://maven.apache.org/scm/plugins/add-mojo.html but i don't have any example to see the rigth usage of scm Someona can write a simple example to add files from maven to an subversion repository?? mvn scm:add -Dincludes=foo.txt However, I can't

Re: Subversion's usage model

2007-06-27 Thread javijava
The reason is: I want, that Maven directly deploys the projects in a subversion repository. and at the moment, i don't know how to do this. Javier -- View this message in context: http://www.nabble.com/Subversion%27s-usage-model-tf3987549s177.html#a11322347 Sent from the Maven - Users

maven.xml use ant taskdef sshexec problem

2007-06-27 Thread irena
Hi all, I want to use maven goal with ant taskdef name=sshexec in order to perform some command on remote server. my maven.xml goal name=test taskdef name=sshexec classname=org.apache.tools.ant.taskdefs.optional.ssh.SSHExec/ ant:sshexec host= username=xxx

Re: maven.xml use ant taskdef sshexec problem

2007-06-27 Thread Lukas Theussl
The sshexec task was only added in ant 1.6, which means it's not available in Maven 1.0.2, which uses ant 1.5.3. Upgrade to Maven 1.1! :) -Lukas irena wrote: Hi all, I want to use maven goal with ant taskdef name=sshexec in order to perform some command on remote server. my maven.xml

[m2][maven-surefire-plugin] using ClassLoader.getSystemResourceAsStream

2007-06-27 Thread Erik Ruisma
Hello, I've been trying out several options on the maven-surefire-plugin (useSystemClassLoader, forkMode, childDelegation), but without any succes. We have some library that does a ClassLoader.getSystemResourceAsStream in order to read a property file. I've added that property file under

RE: Dependency downloads

2007-06-27 Thread Alok, Niraj
Now I see that there are a bunch of modules that have the below issue while some others work nicely. The one that's working, its metadata is: metadata groupIdsomething/groupId artifactIdworking/artifactId version0-SNAPSHOT/version versioning

Re: Subversion's usage model

2007-06-27 Thread Emmanuel Venisse
You can look at wagon-scm or better for subversion wagon webdav Emmanuel javijava a écrit : The reason is: I want, that Maven directly deploys the projects in a subversion repository. and at the moment, i don't know how to do this. Javier

RE: ArchivaCli or m1-m2-conversion

2007-06-27 Thread Chris Helck
Brett, Thanks, I'll take a look at it. In the meantime can you comment on my larger issue? I have m1 and m2 repos that I'd like to be synched. I believe this will give me greater flexibility when migrating projects from m1 to m2. Is this the right approach? Would a proxy be better? How does

I want receive notification when the source code was changed

2007-06-27 Thread Martin Alejandro Villalobos
Hello. I have a question. I want to add a notification ONLY when the source code was changed. I dont want receive a notification each time that the generation build proccess was successful, at less that the source code was updated. Thanks for all. Cheers. Martin.

Re: Subversion's usage model

2007-06-27 Thread javijava
thanks 4 reply Emmanuel, I'm looking at subversion wagon webdav but i still don't know anything, must i put a wagon tag in the POM file?? Nobody deploys on subversion yet??? is sometihng rare or experimental?? well more ideas guys? ;) -- View this message in context:

Re: conditional reporting ...

2007-06-27 Thread Steven Rowe
Hi Giovanni, Giovanni Azua wrote: ... I wanted to activate the SCM report plugin only on demand e.g. mvn clean install site -Dgenerate.statsvn=true ... reporting plugins j:if test=${context.getVariable('generate.scm')=='true'} ant:echoGenerating StatSVN report using

Re: Maven with NTLM

2007-06-27 Thread Greg_Vaughn
Maven works for me with an NTLM proxy. The general rule I learned is that whenever username is requested, supply domainname\username (this is true of any Java-based technology that interacts with proxies). I think that's what you're trying to do below, but you have a forward slash instead of

Re: I want receive notification when the source code was changed

2007-06-27 Thread Thorsten Heit
Hi Martin, I have a question. I want to add a notification ONLY when the source code was changed. I dont want receive a notification each time that the generation build proccess was successful, at less that the source code was updated. Sorry, but I'd assume this is more the job of your

Re: missing metadata on repo1.maven.org?

2007-06-27 Thread iamamaven
Thanks Brett, It seems to be a pervasive issue in repo1 at least, it's been reported a few times over the last year and there is no resolution so far . . . link to the JIRA issue here: http://jira.codehaus.org/browse/MEV-443 Brett Porter wrote: that's certainly a bug to report under the

Re: missing metadata on repo1.maven.org?

2007-06-27 Thread Carlos Sanchez
In the particular case of spring they handle that portion of the repo, so they can (and should be the ones) fixing it On 6/27/07, iamamaven [EMAIL PROTECTED] wrote: Thanks Brett, It seems to be a pervasive issue in repo1 at least, it's been reported a few times over the last year and there is

Re: adding the classpath to jar file

2007-06-27 Thread MUSTAFA SAIT OZEN
this method can bu used to combine DB2 Universal Type 4 Driver jars.There are two jars. One of them is licence jar another one is main jar. If licence jar is not added at the same classpath, main jar can not work. -Orijinal e-posta iletisi- From: Keith Beattie [EMAIL PROTECTED] Date:

Error running 'mvn deploy'

2007-06-27 Thread Chris Russell
Hi, I just about have Maven configured so it can deploy my application. I am getting one error on the mvn deploy step: [INFO] Executing tasks [java] 07/06/26 19:05:53 Notification ==Application Deployer for ML3 STARTS. [java] 07/06/26 19:05:53 Notification ==Copy the archive to

[m2] more than 1 artifact per pom.xml???

2007-06-27 Thread Mick Knutson
I want to create a war and an ear in one module (pom.xml) -- --- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com http://www.myspace.com/sexybeotches

Re: Error running 'mvn deploy'

2007-06-27 Thread Alex Mayorga Adame
Chris, Looks like you need to check the permissions of /app/oracle/ias/10131/Oracle_AS1/j2ee/home/applications/ in your file system. Verify that the credentials that run m2 have write permissions on it. It doesn't look like a Maven fault to me My 2¢, Alex Chris Russell-4 wrote: Hi, I

Re: [m2] more than 1 artifact per pom.xml???

2007-06-27 Thread Wayne Fay
Why?? While you might be able to configure this with some complex pom file, I don't see the point when it is far easier (and actually supported) to do this in 2 pom.xml files. Wayne On 6/27/07, Mick Knutson [EMAIL PROTECTED] wrote: I want to create a war and an ear in one module (pom.xml) --

Re: writing maven plugins

2007-06-27 Thread Wayne Fay
This can happen when you attempt to use Maven before configuring a proxy, or if you have a bad mirror configured in your settings such that you get one or more Jar or Pom files in your repo that are invalid (blah.jar which is actually an HTML page saying resource unavailable etc). This is

RE: 1.1-alpha-2 Web application unresponsive

2007-06-27 Thread Madsen,Bryan
I take that back, wrong machine. It is Windows Server 2003 SE -Original Message- From: Madsen,Bryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 1:33 PM To: [EMAIL PROTECTED] Subject: RE: 1.1-alpha-2 Web application unresponsive Vista -Original Message- From: Jesse

Re: [m2] more than 1 artifact per pom.xml???

2007-06-27 Thread Mick Knutson
I have dozens of web services that are being created as WAR's. For consistency, each WAR that is deployed on seperate machines will be packaged as an EAR. Thus, each war also needed to be packaged into an EAR. Is there a better more Best-Practices way of doing this? On 6/27/07, Wayne Fay

Re: [m2] more than 1 artifact per pom.xml???

2007-06-27 Thread Thierry Lach
I don't know if it would be a best practice, but I've been creating projects that contains 3 poms... /pom.xml /war/pom.xml /ear/pom.xml First pom only references the other two poms as modules. The entire project can be built from the first pom. On 6/27/07, Mick Knutson [EMAIL PROTECTED]

Re: [m2] more than 1 artifact per pom.xml???

2007-06-27 Thread Wayne Fay
That's how I build my J2EE projects, too. I usually have a couple /jarN and /ejb directories under there too. Wayne On 6/27/07, Thierry Lach [EMAIL PROTECTED] wrote: I don't know if it would be a best practice, but I've been creating projects that contains 3 poms... /pom.xml /war/pom.xml

Weblogic APPC failed when tried to run bit ejb and web

2007-06-27 Thread Debabrat, Panda
I have to build both ejb and web and m using weglogic-maven-piugin goal as 'appc'. Run the ejb and web from the parent pom. Building ejb is successful but its fails when it's building web part. But i can build the ejb and the web module separately. I attached the error log and the pom for

OSGi bundles as dependencies

2007-06-27 Thread Craig Ching
Hi, I'm a maven newbie. I have what I think is a fairly sophisticated need and I'm looking for advice on how to resolve this need. I'm trying to integrate the BIRT viewer into my web app. Basically, this involves putting some static content in the right place and getting the pom dependencies

Re: [m2] more than 1 artifact per pom.xml???

2007-06-27 Thread Mick Knutson
Can I do; ./pom.xml (EAR) ./war/pom.xml (WAR) (extends EAR pom) On 6/27/07, Wayne Fay [EMAIL PROTECTED] wrote: That's how I build my J2EE projects, too. I usually have a couple /jarN and /ejb directories under there too. Wayne On 6/27/07, Thierry Lach [EMAIL PROTECTED] wrote: I don't know

Re: Maven with NTLM

2007-06-27 Thread Yoav Landman
You could also install Artifactory and use it as an organizational maven-proxy to external repositories that communicates through your NTLM proxy. We have this set up in a number of places and it works seamlessly. http://www.jfrog.org/sites/artifactory/latest/configuration.html (look for Using a

Re: [m2] more than 1 artifact per pom.xml???

2007-06-27 Thread Thierry Lach
I don't think that will work. Maven tends to get confused when one pom is used to do multiple things, and you'd be trying to make a pom do both an ear and a module build. It's tricky to get the correct plugin to work in the different lifecycles, and even worse to get a plugin NOT to work in

RE: [m2] more than 1 artifact per pom.xml???

2007-06-27 Thread Ryan Nelson
I'm a bit of a maven newbie, but I don't think this is even possible. You can only declare one package type, and you cannot inherit from any other package type than pom. So there'd be no way to inherit from package type ear. Thierry's suggestion is what we've been using, and it's worked well.

Re: OSGi bundles as dependencies

2007-06-27 Thread Steven E. Harris
Craig Ching [EMAIL PROTECTED] writes: Has anyone done this or anything like this? Yes, but we've only solved it by not solving it and faking it. Maven's provided scope doesn't quite apply for bundles, as the entire bundle's class space should not be on the consumer's class path at

Exception configuring javadoc with yDoc ...

2007-06-27 Thread Giovanni Azua
The configuration is: JDK 1.6 Maven 2.0.6 Bellow is the stack trace of my customized run of javadoc plugin using the yDoc doclet: $ mvn javadoc:javadoc -X Any ideas? Thanks in advance. Regards, Giovanni [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-javadoc-plugin:2.2:javadoc'

Using maven embedder to force dependency updates

2007-06-27 Thread Joseph Ancell
I'm search all around the message boards for this and couldn't find it. Pretty much I'm trying to use the maven embedder to run mvn eclipse:eclipse -U. How do you add the -U to the end? I'm not seeing any API for this or don't know how to add it as a property to of the MavenExecutionRequest?

Re: OSGi bundles as dependencies

2007-06-27 Thread Craig Ching
Hi Steven, Thanks for the response, I very much appreciate the conceptual information. However, being a bit new to maven, I am looking for a more practical, though obviously less than ideal, solution to my problem, e.g. possibly a cookbook example or even just a nudge in the right direction

Re: OSGi bundles as dependencies

2007-06-27 Thread Rahul Thakur
Hi Craig, You might want to poll Apache Felix list about Maven OSGi plugin. Cheers, Rahul Craig Ching wrote: Hi Steven, Thanks for the response, I very much appreciate the conceptual information. However, being a bit new to maven, I am looking for a more practical, though obviously less

Re: OSGi bundles as dependencies

2007-06-27 Thread Steven E. Harris
Craig Ching [EMAIL PROTECTED] writes: I am looking for a more practical, though obviously less than ideal, solution to my problem, e.g. possibly a cookbook example or even just a nudge in the right direction Maybe I misunderstood your question. If you have an OSGi bundle packaged as a JAR

Re: ArchivaCli or m1-m2-conversion

2007-06-27 Thread Brett Porter
Chris, If I understand your situation, you can probably continue to use your maven 1 repository from your maven 2 projects. If the problem is that you need to use the m2 dependencies from an m1 build, you can deploy to both repositories using the maven-one-plugin. You might also look at the

dependency:analyze incorrectly using excludes from DepMgt section.

2007-06-27 Thread Barrie Treloar
When I run dependency:analyze on my module I get: [INFO] Found Resolved Dependency / DependencyManagement mismatches: [INFO] Ignoring Direct Dependencies. [INFO] javax.servlet:servlet-api:jar was excluded in DepMgt, but version 2.3 has been found in the dependency tree. mvn site's Dependency

Surefire null pointer exception

2007-06-27 Thread Timothy Reilly
I am having a couple of issues. 1) I am getting a NPE from the Surefire plugin. I have no test cases atm - so it threw the NPE. Seems like a bug though. [INFO] [surefire:test] [INFO] [ERROR] FATAL ERROR [INFO]

Maven project setup (or plugin) for starting a Java Web Start application

2007-06-27 Thread Billy Bacon
I'm looking to use Maven 2 to manage a Java Web Start application. Would I just package the entire contents within a .war file with the .jnlp file in the root directory for download and the jars the JNLP file reference in WEB-INF/lib? The jar files need to be 'downloaded' to the user requesting

RE: Surefire null pointer exception

2007-06-27 Thread Timothy Reilly
I wrote: Pls, disregard on both counts... I am having a couple of issues. 1) I am getting a NPE from the Surefire plugin. I have no test cases atm - so it threw the NPE. Seems like a bug though. Now I deleted my placeholder testcase and everything still runs fine, So I can't

Re: Re: [m204] Help getting Maven to run with JDeveloper 10.x please...???

2007-06-27 Thread Fneuch
Like I said more then once, I re-write the plugin to add a lot of functionality. Like you could see in herehttp://jira.codehaus.org/browse/MSANDBOX-3and here http://issues.apache.org/jira/browse/ADFFACES-142, it's been a while since I used this plugins. It could be pleasant that someone merge