About downloading artifacts from remote repositories

2007-01-19 Thread fy
Hi, I want download artifacts from my server so I modified my mirror: mirror idmaven/id mirrorOfmaven/mirrorOf namemaven/name urlhttp://10.10.100.22/maven/url /mirror And I deployed junit-3.8.1.jar into server with runed deploy:deploy-file. But it always downloaded the

Re: {m1} running java from maven.xml

2007-01-19 Thread diyfiesta
Hey Folks, Any tips / pointers for calling Java code from Jelly / Maven's maven.xml? I'm having classpath issues and don't want to expose it as a plugin, rather just call it from maven.xml... ta diyfiesta wrote: Hi Folks, I've writen a POJO to do something useful and wanted to use it as

RE: Maven2 and unknown protocol: e

2007-01-19 Thread Khabot, Zakaria
Hi, Thanks for your contribution. When I tape mvn --version I receive : Maven version 2.0.4. In my classpath of Eclipse I defined a variable : M2_REPO = C:/Documents and Settings/user/.m2/repository When I run mvn -X + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG]

RE: Maven2 and unknown protocol: e

2007-01-19 Thread Dário Luís Coneglian Oliveros
That's an expected behaviour. You must provide at least one goal when running 'mvn'. If you already have a maven 2 project, change to its directory and run 'mvn clean' or 'mvn install'. -Original Message- From: Khabot, Zakaria [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 19 de janeiro

The skin does not exist

2007-01-19 Thread Jeff Mutonho
I've started getting a new error message during my project build.The error says : [ERROR] BUILD FAILURE [INFO] [INFO] The skin does not exist: Unable to determine the release version Try downloading the file manually from

RE: Maven2 and unknown protocol: e

2007-01-19 Thread Khabot, Zakaria
When I execute mvn clean I receive: File or url 'E:\Softs\maven-2.0.4/lib/ant-optional-1.5.3-1.jar' could not be found java.net.MalformedURLException: unknown protocol: e at java.net.URL.init(URL.java:574) at java.net.URL.init(URL.java:464) at

Re: {m1} running java from maven.xml

2007-01-19 Thread Arnaud HERITIER
Your jelly code seems wrong. You have to declare your namespace in the tag project : project xmlns:j=jelly:core xmlns:u=jelly:util xmlns:x=jelly:xml xmlns:ant=jelly:ant xmlns:maven=jelly:maven... /project Your class is in your project ? Thus you have to build it before to call your goal (with

Re: {m1} running java from maven.xml

2007-01-19 Thread Arnaud HERITIER
You can try the classloader named root.maven Arnaud diyfiesta wrote: hmmm, in the partial listing below, for namespaces I have; xmlns:j=jelly:core xmlns:define=jelly:define declared, is that all I need? I've moved this to project with the same results. It seems to run ok (no

Re: {m1} running java from maven.xml

2007-01-19 Thread diyfiesta
yep, ${root.maven} and just root.maven in the jellybean classLoader attribute gave the same results :( Arnaud HERITIER wrote: You can try the classloader named root.maven Arnaud diyfiesta wrote: hmmm, in the partial listing below, for namespaces I have; xmlns:j=jelly:core

Re: {m1} running java from maven.xml

2007-01-19 Thread diyfiesta
hmmm, in the partial listing below, for namespaces I have; xmlns:j=jelly:core xmlns:define=jelly:define declared, is that all I need? I've moved this to project with the same results. It seems to run ok (no problems with namespaces I mean), as I say, the error is a classpath one when running

acegi-security dependency to spring

2007-01-19 Thread Peter Mihalik
hi, how can i override the acegi-security dependency on spring 1.2.8 to a higher value, say 2.0.2? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: acegi-security dependency to spring

2007-01-19 Thread nicolas de loof
Maven use a dependency conflit resolution based on nearer dependencies : if your project depends on acegi, that depends on spring 1.2.8, 1.2.8 is a second level dependency. if your project also set dependency on spring 2.0.2, 2.0.2 is a 'first level dependency and will be used. Nico.

Re: acegi-security dependency to spring

2007-01-19 Thread Peter Mihalik
sure, i know that. but my project has a dependency on spring but does not have a dependency on spring-remoting which acegi has so i get a app containing spring-2.0.2 jar and some spring-something-1.2.8 jars i know about 2 options to resolve this: 1/ exclude the acegi dependencies and everything

Jboss:deploy behaviour

2007-01-19 Thread nathan.fisher
Hi, I'm trying to use the jboss:deploy goal to deploy my latest .ear file and am finding the following behaviour: When I start jboss (outside of maven) and do jboss:deploy I get an error message returned from the server (http 500). I then do jboss:undeploy which executes ok but seems to have no

Maven2 maven-release-plugin release:prepare - changing current dir for scm operations

2007-01-19 Thread davy123
I am using svn. My project structure on disk: dir myproject dir myproject/design dir myproject/impl file myproject/impl/pom.xml dir myproject/impl/src ... How is the above structure mapped in svn: myproject/trunk/impl The reason for such mapping is that svn contains some other things (design

Re: acegi-security dependency to spring

2007-01-19 Thread nicolas de loof
The only override mecanism is the nearer dependency resolution. I discourage using the spring(full) jar as you will get such conflicts. Make a dependency on a top level spring-xxx-2.0.2 that will import other necessary spring artifacts with correct version. For unexpected artifact from acegi, use

RE: Maven2 maven-release-plugin release:prepare - changing current dir for scm operations

2007-01-19 Thread Jörg Schaible
Hi, davy123 wrote on Friday, January 19, 2007 1:39 PM: I am using svn. My project structure on disk: dir myproject dir myproject/design dir myproject/impl file myproject/impl/pom.xml dir myproject/impl/src ... How is the above structure mapped in svn: myproject/trunk/impl The

[m2] subversion repository upload using webdav

2007-01-19 Thread Alexander Schwartz
Hi, (crossposting to users@maven.apache.org and maven-wagon-users) as Brett Porter suggested (/Storing your Maven Repository in CVS/Subversion, /http://blogs.codehaus.org/people/brett/archives/001066_storing_your_maven_repository_in_cvssubversion.html) I would like to maintain the corporate

[m2] subversion repository upload using webdav

2007-01-19 Thread Alexander Schwartz
Hi, (crossposting to and maven-wagon-users) as Brett Porter suggested (Storing your Maven Repository in CVS/Subversion, http://blogs.codehaus.org/people/brett/archives/001066_storing_your_maven_repository_in_cvssubversion.html

Profile property is not resolved

2007-01-19 Thread Morgovsky, Alexander \(US - Glen Mills\)
I have a parent Maven project which has 3 modules. In an active profile I define 3 properties. When I do a reactor build, the modules build correctly. When I try to build the modules separately, the properties which I defined in the profile are not resolved. Here is what I tried to do to solve

[m2] BUILD ERROR maven-changelog-plugin does not exist

2007-01-19 Thread Riboe, Jens
I got this error, what is wrong? [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exist

Collecting ant build results with maven into an ear

2007-01-19 Thread Jo Vandermeeren
Hello fellow maven users, I'm stuck with a legacy application that is built with ant and uses lots of custom ant tasks. There is no time to create maven plugins for this legacy project instead. Anyway.. The project I'm working on consists of two major artifacts. - one ear with the legacy

RE: [m2] BUILD ERROR maven-changelog-plugin does not exist

2007-01-19 Thread Lageson,Thomas M
Put this in the pom.xml. pluginRepositories ... pluginRepository idapache.snapshots/id urlhttp://people.apache.org/maven-snapshot-repository//url /pluginRepository /pluginRepositories In the reporting section of your pom.xml: reporting ... plugins ...

[M2] SCM support for sspi?

2007-01-19 Thread Siegmann Daniel, NY
We use SSPI to connect to our CVS repository, which does not seem to work with Maven2's SCM plugin. It is not mentioned as a supported protocol in the SCM plugin docs, and I found nothing in the list archives nor an issue in JIRA. When I tried, I just got this exception:

Re: Collecting ant build results with maven into an ear

2007-01-19 Thread Dan Tran
you can attach the final Ant ear artifact to maven project so that it can be installed/deployed as normal maven artifacts using build-helper-maven-plugin. The draw back is the deployed pom has pom packaging. I dont know what would be the impact

Re: Adding Logo In My Site

2007-01-19 Thread Wayne Fay
Post a bug in JIRA or it will (most likely) never happen. Wayne On 1/19/07, Subhash Chandran [EMAIL PROTECTED] wrote: Thanks, I got the poweredBy syntax from here: http://svn.sourceforge.net/viewvc/spring-rich-c/trunk/spring-richclient/src/site/site.xml?revision=1633view=markup But why is

Re: [M2] SCM support for sspi?

2007-01-19 Thread Emmanuel Venisse
It isn't supported because it isn't a standard cvs protocol. If you have docs about the CVSROOT format for this protocol, file an issue and we'll look at it. All docs about sspi are welcome. Emmanuel Siegmann Daniel, NY a écrit : We use SSPI to connect to our CVS repository, which does not

Re: Adding Logo In My Site

2007-01-19 Thread Subhash Chandran
FYI: http://jira.codehaus.org/browse/MPSITE-57 Subhash. On 1/19/07, Wayne Fay [EMAIL PROTECTED] wrote: Post a bug in JIRA or it will (most likely) never happen. Wayne On 1/19/07, Subhash Chandran [EMAIL PROTECTED] wrote: Thanks, I got the poweredBy syntax from here:

Setting up Maven with archiva

2007-01-19 Thread Sharma, Rohit
We are trying to setup archiva with maven. We are able to setup some proxy repositories successfully for all the external (internet) repositories we are using. However, there is a place where we are using a dependency whose pom.xml has a external repository defined. But, this is still one of

Re: Setting up Maven with archiva

2007-01-19 Thread Wayne Fay
I'm not using mirrors right now so I may be incorrect here... But I'm wondering where you got that mirrorOf*/ syntax? I've never seen it before and assume it is wrong. Wayne On 1/19/07, Sharma, Rohit [EMAIL PROTECTED] wrote: We are trying to setup archiva with maven. We are able to setup

RE: Setting up Maven with archiva

2007-01-19 Thread Sharma, Rohit
http://maven.apache.org/guides/mini/guide-mirror-settings.html But available only from 2.0.5 :-(. Regards, Rohit Sharma GDC Contractor - Infosys Tech Ltd. London, UK Desk: (+44) 207 174 5352 mailto: [EMAIL PROTECTED] -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED]

Re: [m2] subversion repository upload using webdav

2007-01-19 Thread Carlos Sanchez
i have used wagon-scm (only implemented with subversion) although I'd say is alpha/beta quality, never tried wagon-webdav for svn On 1/19/07, Alexander Schwartz [EMAIL PROTECTED] wrote: Hi, (crossposting to users@maven.apache.org and maven-wagon-users) as Brett Porter suggested (/Storing your

Re: Setting up Maven with archiva

2007-01-19 Thread Wayne Fay
Well that explains it! You can pull 2.0.5 from trunk and build it yourself, if you really need that functionality today. Wayne On 1/19/07, Sharma, Rohit [EMAIL PROTECTED] wrote: http://maven.apache.org/guides/mini/guide-mirror-settings.html But available only from 2.0.5 :-(. Regards,

Re: Maven 2 mirror on downloads.planetmirror.com

2007-01-19 Thread Wayne Fay
Carlos, thanks for removing the planetmirror mirror from the list, but you might also notice it is still there on the page in the section above the list demonstrating how to set up a mirror: http://maven.apache.org/guides/mini/guide-mirror-settings.html Ideally we'd swap that out with ibiblio,

AspectJ and Eclipse plugin: Support of aspect libraries

2007-01-19 Thread Stefan Hübner
Hi, I created a library (let's call it project-a) to provide aspects (AspectJ is meant here) to other modules. To use that library as an aspect library I would create a pom for some project-b as follows: ?xml version=1.0? project xmlns=http://maven.apache.org/POM/4.0.0;

Re: [m2] where do i put hibernate-properties-ProviderHistory.xml to get merged?

2007-01-19 Thread Mick Knutson
Can someone please help me as I can't find this info anywhere... I am using xdoclet 1, not xdoclet2 On 1/18/07, Mick Knutson [EMAIL PROTECTED] wrote: I am still using XDoclet 1 and want to create an entry for hibernate-properties-ProviderHistory.xml but am not sure where to put that file to

Maven2 (and plugins) need to be released frequently to make maven interesting

2007-01-19 Thread Eric Brown
My project is using maven2 and the release plugin. However, the release plugin only works with released plugins (otherwise, our release builds are not reproducible). We've had to locally patch a half-dozen plugins just to mark them as released just in order to be able to do a release build

[M2] Weird classpath problem (servlet-api)

2007-01-19 Thread kcheang
Hi All, I have a web application which uses Maven2. It was working fine until I started to add additional features which requires more 3rd-party libraries. After I added these libraries to my dependency list, Maven couldn't compile the application because servlet-api was not on the classpath

Re: categorizing tests

2007-01-19 Thread Dmitry Beransky
On 1/18/07, Jiaqi Guo [EMAIL PROTECTED] wrote: Dmitry Beransky wrote: Just finished reading an article on test categorization: http://www-128.ibm.com/developerworks/java/library/j-cq10316/index.html?ca=drs-. Any recommendations how how to implement this in Maven? Although I don't 100%

FtpWagon.java error

2007-01-19 Thread Enrique Gaona
Hi, I'm getting an NullPointerException error FtpWagon.java when I execute the following maven command, mvn clean antrun:run install. It seems that the plugin is not reading my settings.xml. I have the csdpRepository id defined inside the settings.xml.I've searched in google for

Re: Maven 2 mirror on downloads.planetmirror.com

2007-01-19 Thread Carlos Sanchez
done On 1/19/07, Wayne Fay [EMAIL PROTECTED] wrote: Carlos, thanks for removing the planetmirror mirror from the list, but you might also notice it is still there on the page in the section above the list demonstrating how to set up a mirror:

Re: [m2] subversion repository upload using webdav

2007-01-19 Thread Joakim Erdfelt
wagon-webdav is only for level 1 dav servers. in other words, it is not for subversion. If you want to use subversion as a repository, something I highly *discourage*, use the wagon-scm provider. - Joakim Erdfelt Alexander Schwartz wrote: Hi, (crossposting to and maven-wagon-users) as

Re: categorizing tests

2007-01-19 Thread Jiaqi Guo
Dmitry Beransky wrote: Ideally, I wish I could annotate tests with a type (e.g. @Test(type=component) public void testSomeFunction() {...}) and have the test framework pick the tests out for me. Lacking above, it's probably a good idea to break tests into multiple directories based on their

Re: FtpWagon.java error

2007-01-19 Thread Jiaqi Guo
What is the version of your wagon-ftp? Thanks Enrique Gaona wrote: Hi, I'm getting an NullPointerException error FtpWagon.java when I execute the following maven command, mvn clean antrun:run install. It seems that the plugin is not reading my settings.xml. I have the csdpRepository id

Re: Maven2 (and plugins) need to be released frequently to make maven interesting

2007-01-19 Thread Christian Goetze
Eric Brown wrote: There is no shortage of numbers in the world. What is the problem with releasing often? So what if a bug occasionally gets its way into a release -- you can always specify an older version of a plugin that didn't have some new bug. True, a lot of plugins are under 3rd

Re: FtpWagon.java error

2007-01-19 Thread Enrique Gaona
Jiaqi Guo [EMAIL PROTECTED] wrote on 01/19/2007 02:02:24 PM: What is the version of your wagon-ftp? Thanks Jiaqi, Here are the versions of the wagon jarfiles. Thanks wagon-file-1.0-alpha-7.jar wagon-ftp-1.0-alpha-6.jar wagon-http-lightweight-1.0-alpha-6.jar wagon-provider-api-1.0-alpha-6.jar

Re: Maven2 (and plugins) need to be released frequently to make maven interesting

2007-01-19 Thread Wayne Fay
This was recently discussed on Maven Developer's list in the thread titled calling vote for 2.0.5. You are welcome to read that thread and get up to speed on various plans and issues related to more frequent releases. Wayne On 1/19/07, Christian Goetze [EMAIL PROTECTED] wrote: Eric Brown

Plugin to find updated versions of dependencies?

2007-01-19 Thread Wayne Fay
I have a variety of dependencies declared in my largish J2EE project and I'm wondering if perhaps there's a plugin or something available that would run out to the Maven repo, check my declared dependencies and versions against those available in the repo, and let me know which ones seem to have

Re: Plugin to find updated versions of dependencies?

2007-01-19 Thread Mark Hobson
Hi Wayne, On 19/01/07, Wayne Fay [EMAIL PROTECTED] wrote: I have a variety of dependencies declared in my largish J2EE project and I'm wondering if perhaps there's a plugin or something available that would run out to the Maven repo, check my declared dependencies and versions against those

Re: [m2] subversion repository upload using webdav

2007-01-19 Thread Alex Schwartz
Carlos Sanchez-4 wrote: i have used wagon-scm (only implemented with subversion) although I'd say is alpha/beta quality, never tried wagon-webdav for svn thank's for the hint. My first attempts to configure wagon-scm were not successful. I added the following to the pom.xml: ...

Re: [m2] subversion repository upload using webdav

2007-01-19 Thread Alex Schwartz
Joakim Erdfelt-2 wrote: wagon-webdav is only for level 1 dav servers. in other words, it is not for subversion. If you want to use subversion as a repository, something I highly *discourage*, use the wagon-scm provider. - Joakim Erdfelt thank's for the hint -- I will use wagon-scm.

Re: APT Images With URL

2007-01-19 Thread Dennis Lundberg
Subhash Chandran wrote: The APT format guide here: http://maven.apache.org/guides/mini/guide-apt-format.html speaks only of image display. This is done like: [path/to/image.ext] Is there any possibility of having a link on the image? Is there a possibility of somehow having HTML code

Re: FtpWagon.java error

2007-01-19 Thread Jiaqi Guo
Hi Enrique, http://svn.apache.org/repos/asf/maven/wagon/tags/wagon-1.0-alpha-6/wagon-providers/wagon-ftp/src/main/java/org/apache/maven/wagon/providers/ftp/FtpWagon.java line 127. I suspect that you didn't specify the username or password, can you check that? Regards Enrique Gaona wrote:

Re: The skin does not exist

2007-01-19 Thread Dennis Lundberg
Jeff Mutonho wrote: I've started getting a new error message during my project build.The error says : [ERROR] BUILD FAILURE [INFO] [INFO] The skin does not exist: Unable to determine the release version Try downloading

Re: Maven2 (and plugins) need to be released frequently to make maven interesting

2007-01-19 Thread Dennis Lundberg
Eric Brown wrote: My project is using maven2 and the release plugin. However, the release plugin only works with released plugins (otherwise, our release builds are not reproducible). We've had to locally patch a half-dozen plugins just to mark them as released just in order to be able to do a

Re: Plugin to find updated versions of dependencies?

2007-01-19 Thread Dennis Lundberg
Wayne Fay wrote: I have a variety of dependencies declared in my largish J2EE project and I'm wondering if perhaps there's a plugin or something available that would run out to the Maven repo, check my declared dependencies and versions against those available in the repo, and let me know which

Re: Plugin to find updated versions of dependencies?

2007-01-19 Thread Wayne Fay
Dennis, that is great. I feel like I spend a non-trivial amount of time tracking artifact versions etc and am especially concerned about bug fixes that may be available etc. I'm going to take a look at the dependency plugin as Mark suggested but it would also be nice if you could see about

scm plugin with subversion

2007-01-19 Thread Trevor Torrez
I've got an automated build on my project and the scm:update fails after a couple of successful builds saying that the working copy is locked. How do i get around this?

Re: Inheriting profiles

2007-01-19 Thread Tom Huybrechts
there was a thread about this last week (Jan 10 - Profile inheritance) On 1/18/07, Geoffrey De Smet [EMAIL PROTECTED] wrote: Is there any way to inherit profiles - more specifically their activation? In a multiproject I have a parent pom that has 2 profiles: development and production.

openejb-core tests

2007-01-19 Thread Jeremy Whitlock
Hi All, While looking over a patch today, I have ran into a situation that I cannot explain and I was hoping someone might be able to help. If I run mvn test from openejb3/container/openejb-core, the tests all run properly and pass. If I run mvn test from openejb3/, the previously passing

How To: Autocomplete dependencies with Mevenide2 + Netbeans

2007-01-19 Thread lemon dumpling
Hi All, How do I setup autocomplete with my project depenedencies in mevenide2+netbeans? It seems that I have to create a library group, add all the dependency jars up and use the library group as part of my netbeans project. Is there a more easier way in which it could find all jar files under

Re: How To: Autocomplete dependencies with Mevenide2 + Netbeans

2007-01-19 Thread Milos Kleint
not sure what the question is about. what is a library group? autocompletion in pom.xml should work on dependency groupid/artifactid/version values (where the values are taken from the local repo index) but it currently doesn't work due to a bug in nb 5.5 (which is a regression bug from 5.0)