use a particular timestamp of a SNAPSHOT

2007-11-14 Thread nicolas de loof
Hello, Can I configure a dependency to use a particular timestamp version of a SNAPSHOT ? For example, the "20070606.164150-5" of maven-surefire-plugin 2.3.1-SNAPSHOT Using : " maven-surefire-plugin 2.3.1-20070606.164150-5 " seems to work, but I'm not sure about the effect

Re: Disinheriting dependecies

2007-11-14 Thread Steinar Bang
> "Wayne Fay" <[EMAIL PROTECTED]>: > Not that I'm aware of. You may want to use > instead of straight dependencies -- then you can control what deps are > needed in your children. I found a fairly clear description of here: http://www.bhaskarvk.info/content/maven/dependency_management.html

Re: Maven site plugin not connecting the projects and children properly

2007-11-14 Thread Kannan Ekanath
I seem to have got it work with some tweakings (Not sure if that was how it was supposed to be used). I set the property stagingDirectory to be some folder and then issued a mvn site:stage-deploy and it generated a site folder with parents and children linked together. I am planning to use this a

Re: Maven site plugin not connecting the projects and children properly

2007-11-14 Thread Kannan Ekanath
Dennis, I had gone through this FAQ already. I gave the url to be "mysite" and did a "mvn site:stage" it generated a site under "mysite" folder with all the links correctly in place. But my problem is "mvn site:deploy" is still showing as maven.apache.org and I am not sure why mvn site:stage and mv

RE: MNGECLIPSE-438

2007-11-14 Thread Timothy Reilly
fyi, I just hit this issue as well. Thank you Mark for hitting this before me ;-P The research you provided save me hours and helped me understand to close the project for now, and probably move the dependency to a different workspace until resolved. I also voted for it getting resolved. OT

Re: JUnit and Maven - compiling helper classes

2007-11-14 Thread Ronn . Chinowutthichai
Yes the helper classes (in src/test/java) needs to be packaged and installed to the repository so that another maven project can reference. By default, maven-jar-plugin doesn't jar up class in src/test/java. By default, all of the classes in src/test/java as well as src/test/resources will be i

Re: M2 - pluginManagement - best practices?

2007-11-14 Thread Kalle Korhonen
Parent poms with versions set in their pluginManagement section makes absolute sense. Of course no list is complete, and it needs to be maintained, but in most cases you are better off using an old version of a plugin than using an unknown latest version. Here's what I have in one parent pom:

Re: how to use profiles exclusively? (HELP!)

2007-11-14 Thread Wayne Fay
Try changing the dot "." in environment.type to an underscore "_". That may do it. Not sure -- I didn't test it. Dots can sometimes cause issues. Wayne On 11/14/07, dev dev <[EMAIL PROTECTED]> wrote: > I have defined 2 project profiles (below) and the goal is to be able > to run in exclusively in

Re: [ANNOUNCE] Archiva 1.0-beta-4 Released

2007-11-14 Thread Brian Flaherty
Great job! Brian On Nov 14, 2007 7:56 PM, Maria Odea Ching <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > The Maven Archiva team is pleased to announce the release of Archiva 1.0Beta > 4. > > Archiva is a build artifact repository manager for use with build tools such > as Maven, Continuum and An

Re: JUnit and Maven - compiling helper classes

2007-11-14 Thread jsweeney67
So, if I understand correctly, the helper classes need to be in a jar. These classes now live in the same packages as the JUnit tests so should the jar exclude the actual test classes? I then presume that the "scope" tag tells Maven to only look for the new jar if tests are being run, correct?

Is http://mirrors.ibiblio.org/pub/mirrors/maven2 down?

2007-11-14 Thread Kohsuke Kawaguchi
The central repository appears to be up, but the ibiblio mirror seems to be down since this morning. Is the maven team aware of the issue? Is this going to be fixed some time soon? -- Kohsuke Kawaguchi Sun Microsystems [EMAIL PROTECTED] s

Re: JUnit and Maven - compiling helper classes

2007-11-14 Thread Ronn . Chinowutthichai
You need to create a test-jar artifact out of your helper classes Put this in the pom of your helper classes org.apache.maven.plugins maven-jar-plugin test-jar

[ANNOUNCE] Archiva 1.0-beta-4 Released

2007-11-14 Thread Maria Odea Ching
Hi Everyone, The Maven Archiva team is pleased to announce the release of Archiva 1.0Beta 4. Archiva is a build artifact repository manager for use with build tools such as Maven, Continuum and Ant. It has features like repository search and browse, securing repositories, identifying unknown art

Re: How to control versioning across multiple POMs?

2007-11-14 Thread Ronn . Chinowutthichai
Hi Aaron, Do you use release plugin? The release plugin should increment the version of the parent pom and the pom itself for you. If you have dependencies to sibling pom in your dependencies declaration, I'd use ${project.version} to get around the problem that the release tag won't increme

JUnit and Maven - compiling helper classes

2007-11-14 Thread jsweeney67
I'm a Maven newbie trying to incorporate JUnit tests into the build. Some of our JUnit test classes make use of shared code in helper classes that live in the test packages. When I run these tests from Eclipse, the helper classes are found and compiled. However, when a cmd-line Maven build trie

2 way parent-module POM dependency required?

2007-11-14 Thread Aaron Zeckoski
Is the 2-way parent/module dependency actually the right way to link children and parent POMs? This is what we currently have: The parent includes definition of a module (or group of modules) like so: ... org.sakaiproject base pom ... alias ... Then the child defines a parent like so: ...

How to control versioning across multiple POMs?

2007-11-14 Thread Aaron Zeckoski
I have a series of 3 POMs and I need to be able to control versioning across them. They are arranged like so: master POM (parent of) base POM (parent of) project POM There is one master and one base POM but there are many many project POMs, roughly 50+ currently with new ones being added The mas

how to use profiles exclusively? (HELP!)

2007-11-14 Thread dev dev
I have defined 2 project profiles (below) and the goal is to be able to run in exclusively in devel or release environment (and not both). However, when i run mvn help:active-profiles, i got the below message. It should be just "release" and NOT both (devel and release). What did you do wrong, is

Re: triggering profiles without using command line and without running the default profile?

2007-11-14 Thread Aaron Zeckoski
Yes... I did that. This is not a newbie question (though I wish it were). The default profile is still running unless I do something like "mvn install -Pkernel" Here are the poms: Parent: https://source.sakaiproject.org/contrib/caret/kernel/pom.xml (this sets a property) Project: https://source.sa

Re: Continuum 1.1-beta-3 crashing while adding a new project group

2007-11-14 Thread olivier lamy
Hi, Have a look at http://maven.apache.org/continuum/documentation/1_1/installation/upgrade.htmlsection Importing Data to the new version. Have you made the update in SEQUENCE_TABLE ? -- Olivier 2007/11/14, Anshula <[EMAIL PROTECTED]>: > > > Hi, > > I have been using Continuum 1.1-beta-3 since mo

Re: Continuum 1.1-beta-3 crashing while adding a new project group

2007-11-14 Thread olivier lamy
Just made the update on projectGroup table value in SEQUENCE_TABLE Something like : update SEQUENCE_TABLE set NEXT_VAL = (select max(id) + 10 from projectGroup) where SEQUENCE_NAME ='org.apache.maven.continuum.model.project.ProjectGroup' -- Olivier 2007/11/14, Anshula <[EMAIL PROTECTED]>: > > >

Re: Continuum 1.1-beta-3 crashing while adding a new project group

2007-11-14 Thread Anshula
Hi Oliver, Thanks for the reply. No I have not made any change to the SEQUENCE_TABLE. Should that cause this error ? Isnt there any other way to correct this error now? Coz I have already imported data from beta2 to beta3 long time back..And made quite a few updates after that... Regards, Anshul

Re: Mvn2

2007-11-14 Thread olivier lamy
Ok you can do it in order to test some new features in a plugin. But IMHO, you must lock the version in the others plugins. Because your build can not reproductable then you can have some issues in some plugins due to the current developement. Personnality, I have this repo only in a dedicated prof

Re: Scheduled Maven2 Builds on 1.1 Beta 4

2007-11-14 Thread Johnathan Gifford
I think I've found the problem. When the build definition has the 'Build Fresh (Run always a clean checkout instead of an SCM update)' checked, the scm doesn't tell properly tell the build that changes have occurred, so it doesn't continue with the scheduled build. I think this is because a co

Continuum 1.1-beta-3 crashing while adding a new project group

2007-11-14 Thread Anshula
Hi, I have been using Continuum 1.1-beta-3 since more than a month now and it has been running smoothly. But today I attempted to add some more project groups to it, and it crashed giving me a primary key constraint violation. Attached is the stacktrace. I did migrate my data from 1.1-beta3 from

Re: Maven/Hibernate error / anyone has find similar?

2007-11-14 Thread Wayne Fay
Take a look at your applicationContext.xml file, apparently you have an issue with how you've defined your sessionFactory bean (??). org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invo

M2 - pluginManagement - best practices?

2007-11-14 Thread Erez Nahir
Hi, We are having some build stability issues from time to time when developers remove local repositories. From time to time, maven fails to download plugin... Another difficulty we have is control on plugin versions, some plugins listed in some files and when one would like to change plugin v

Maven/Hibernate error / anyone has find similar?

2007-11-14 Thread Marco Mistroni
hi all, i am trying to port an app from ant to maven , but it looks like i am having troubles iwth dependencies. has anyone ever found the error below? i attach my dependencies at the end of message, hope someone can sort me out Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time

RE: MySQL-5.1 INSERT error with continuum-1.1-beta-4

2007-11-14 Thread Eigil Hysvær
Sorry, my mistake yes. I suddenly realized this was some UTF-8 related problem because of the '\xEF\xBF\xBD' string. I always use the string jdbc:mysql://localhost:3306/continuum?useUnicode=true&characterEncoding= UTF-8 for some reasons. I just got rid of the ?useUnicode=true&characterEncoding=U

Re: Maven site plugin not connecting the projects and children properly

2007-11-14 Thread Dennis Lundberg
http://maven.apache.org/plugins/maven-site-plugin/faq.html#Why%20doesn't%20the%20links%20between%20parent%20and%20child%20modules%20work%20when%20I%20run%20'mvn%20site'? Kannan Ekanath wrote: Hi, Maven 2.0.4 I am trying to use the "mvn site" target for generating the site. Before configuring pmd

Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen

2007-11-14 Thread Dan Tran
what version of jaxws-plugin do you use? Try the released version at java.net also, you must use jaxws-api-2.1.1 -D On Nov 14, 2007 7:44 AM, Wayne Fay <[EMAIL PROTECTED]> wrote: > You should probably also post this request on the jaxws plugin > users/dev list. Since there is a lower chance that

MySQL-5.1 INSERT error with continuum-1.1-beta-4

2007-11-14 Thread Eigil Hysvær
Hello, I’m currently evaluating CI tools and the time has come to Continuum. I decided to try the 1.1-beta4 because when the time comes to implement the CI into our organization I’m sure 1.1 has gone final. I have installed the standalone version of continuum-1.1-beta-4 on windows 2003 server u

Maven 2 Site Generation Question

2007-11-14 Thread Morgovsky, Alexander (US - Glen Mills)
Hello. I would like to add a plugin to clean my deployed site directory before creating new sites. Is there a phase I could bind this plugin to for this purpose as a best practice? This message (including any attachments) contains confidential information intended for a specific individual an

Re: triggering profiles without using command line and without running the default profile?

2007-11-14 Thread Roland Asmann
Check the profile-documentation and use the property-activation. On Wednesday 14 November 2007 18:02, Aaron Zeckoski wrote: > I need to be able to trigger a specific profile WITHOUT executing the > default profile AND without having to use the -P command line option. > Ideally I want to trigger i

Re: maven jetty plugin

2007-11-14 Thread Hugo Palma
Just provide those parameters to the maven JVM and jetty will use them. I usually just set the env variable MAVEN_OPTS with: MAVEN_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005" and then just run: mvn jetty:run John Coleman wrote: Hi, How do I run the jett

maven jetty plugin

2007-11-14 Thread John Coleman
Hi, How do I run the jetty goal with jetty configured with a debug socket? I need to pass -Xdebug and other properties to jetty. TIA John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any view

triggering profiles without using command line and without running the default profile?

2007-11-14 Thread Aaron Zeckoski
I need to be able to trigger a specific profile WITHOUT executing the default profile AND without having to use the -P command line option. Ideally I want to trigger it using some setting in a POM file but any method where the user who is building the code can still type "mvn clean build" is fine.

Re: Getting access to the versions in a POM

2007-11-14 Thread Mark Russell
Wayne: Thanks That should get me started. I'll do some searching and then post back any resources I find. Wayne Fay wrote: In your mojo, you'll need: * @requiresDependencyResolution * @requiresProject And then: /** * Maven Internal: Project to interact with. * * @paramete

Exec-maven-plugin usage

2007-11-14 Thread Vishal Pahwa
Hi I need to run a java program from maven. For that m gonna use exec-maven-plugin. But don't know how to use this. Is it possible that I will create one new project with folder structure src/main/java/com/sky/Main.java. N then use plugin like this org.codehaus.mojo exec-maven-plugin

Re: [M2] jaxws-maven-plugin vs. ant-task using wsgen

2007-11-14 Thread Wayne Fay
You should probably also post this request on the jaxws plugin users/dev list. Since there is a lower chance that someone here is using jaxws and will respond, but a very high chance that someone on that list is using jaxws. Wayne On 11/14/07, CodingPlayer <[EMAIL PROTECTED]> wrote: > > Hi There,

Re: Getting access to the versions in a POM

2007-11-14 Thread Wayne Fay
In your mojo, you'll need: * @requiresDependencyResolution * @requiresProject And then: /** * Maven Internal: Project to interact with. * * @parameter expression="${project}" * @required * @readonly */ private MavenProject project; Then you can navigate aro

Re: Building Eclipse plugins with Maven 2

2007-11-14 Thread eSonic
Sebastien Arbogast wrote: > > [INFO] > > [ERROR] BUILD ERROR > [INFO] > > [INFO] Internal error in the plugin manager executing goal > 'org.apache.ma

Re: Disinheriting dependecies

2007-11-14 Thread Wayne Fay
Not that I'm aware of. You may want to use instead of straight dependencies -- then you can control what deps are needed in your children. Wayne On 11/14/07, Steinar Bang <[EMAIL PROTECTED]> wrote: > Is there a way to make a child POM inherit the parent's property > settings, but not the parent'

How to use latest snapshot?

2007-11-14 Thread Taras Lipatov
Is there a way to have a dependency always use the latest available SNAPSHOT? Meaning, some of our projects are released quite fast and versions will increment fast as well: 3.0.1-SNAPSHOT 3.0.2-SNAPSHOT Etc.. Is there a way to declare 3.0.*-SNAPSHOT in the pom so that developers will always get

Re: Dependency management

2007-11-14 Thread Stuart McCulloch
On 14/11/2007, Brian De Pradine <[EMAIL PROTECTED]> wrote: > > Hello all, > > Is there a way to configure maven2 so that it loads classes from a > dependency that I specify rather than from the JVM? could you explain which classes you'd want to load from a dependency rather than the JVM - and als

problem with maven embebed in netbeans 5.5.1

2007-11-14 Thread logancillo
hi everybody, i`using netbeans 5.5.1 with jdk 1.6. App server is embebed tomcat 5.5.17 and i `m having some troubles when i build the war file. It seems that WEB-INF/classes dir is not updated! i´ll try to explain better! my workspace is C:\trabajo\ws\AFEL\sources, where i have pom.xml, profiles

Maven install problem: erlang-plugin and erlang-archetype

2007-11-14 Thread joe lee
Has anyone successfully installed maven erlang-plugin and maven erlang-archetype? I have checked out the svn version of maven erlang-plugin and maven erlang-archetype and I am trying to install. When I perform mvn -e install for both maven erlang packages, I get the the following error for both i

Dependency management

2007-11-14 Thread Brian De Pradine
Hello all, Is there a way to configure maven2 so that it loads classes from a dependency that I specify rather than from the JVM? I guess that I need to configure the class path so that my library is located in front of the libraries from the JVM. Cheers Brian DePradine Web Services Developme

Re: wrapper.java.maxmemory

2007-11-14 Thread Emmanuel Venisse
I removed it even if it doesn't change the execution Emmanuel Francis De Brabandere a écrit : just a question about wrapper.conf # Initial Java Heap Size (in MB) wrapper.java.initmemory=3 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=384m what is that 'm' doing after the 384? is th

[M2] jaxws-maven-plugin vs. ant-task using wsgen

2007-11-14 Thread CodingPlayer
Hi There, I'm an absolute noob to webservices, who is currently trying to compile a webservice annotated class, with the actual jaxws-maven-plugin. i already lost 3 days, and still didn't find a way to get it running properly. to find the error i stepped back, and simply tried to get the wsgen

AW: AW: AW: AW: CVS checkout fails: "Terminated with fatal signal 11"

2007-11-14 Thread Manuel.Renz
Hi, I finally could fix it. > Do you use the embedded pure java cvs client (it is the default) or the > native cvs client? According to the logs I thought it is allready using the native client, but it wasn't. So I modified the wrapper.conf and added wrapper.java.additional.9=-Dmaven.scm.provi

Re: Mvn2

2007-11-14 Thread Rémy Sanlaville
Hi Olivier, I wonder why ? Rémy

Re: Building Eclipse plugins with Maven 2

2007-11-14 Thread Sebastien ARBOGAST
Your article is very helpful but I still miss some pieces. Here I've followed your article word by word (or at least I think I have :P) but when I run mvn install in my first binary-plugin, I get the following error: [INFO] [

wrapper.java.maxmemory

2007-11-14 Thread Francis De Brabandere
just a question about wrapper.conf # Initial Java Heap Size (in MB) wrapper.java.initmemory=3 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=384m what is that 'm' doing after the 384? is that causing the default value for maxmem? I think it should be removed, even if only for clarity...

Getting access to the versions in a POM

2007-11-14 Thread Mark Russell
I am writing an internal plugin for maven 2 for our company. One of the things I need to do is to get access to the dependency information that is configured in the pom. Is there a way to do that? I have done several web searches but can not come up with the correct string to get me an answer.

RE: assembly question

2007-11-14 Thread Saloucious
Haven't succeed too May be i've miss something in maven lifecycle, but i really don't understand why it's not possible ... You must attach your execution to a goal (e.g package) but don't know why ... EJ Ciramella-2 wrote: > > Yeah, I've been trying this: > > > m

Disinheriting dependecies

2007-11-14 Thread Steinar Bang
Is there a way to make a child POM inherit the parent's property settings, but not the parent's dependecies list? Thanx! - Steinar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Version ranges issue

2007-11-14 Thread Mishkin, Ernest
Dear list, I've seen a number of threads with this subject in the list's archives yet none helps me resolve my seemingly stupid issue. I'm using maven 2.0.7: == C:\Source\XMLImport>mvn -version Maven version: 2.0.7 Java version: 1.6.0_03 OS name: "windows x

Re: Maven site plugin not connecting the projects and children properly

2007-11-14 Thread Rémy Sanlaville
Hi Kannan, I think that you have something like that in your pom.xml: [...] maven.apache.org [...] If so, just remove the url node. Rémy

Gridgain and Surefire

2007-11-14 Thread Martin Gilday
I am interested in using Gridgain's new distributed JUnit functionality in my existing Maven projects. http://www.gridgain.com/product_junits.html. The requirement is that rather than use JUnit's TestSuite, you use GridGain's GridJUnit3TestSuite. The rest of the JUnit classes remain unchanged.

Re: maven "deploy" keep asking me the password of scp connection

2007-11-14 Thread Rémy Sanlaville
I found that it's a great pity to have to make a ssh connection with a ssh client in order to store the server key in your account before launching maven 2. Isn't it possible to ask if you accept/trust or not the server key during the maven 2 command ? It would be a great improvement and really ea

Re: maven2 compilation problem

2007-11-14 Thread Stuart McCulloch
On 14/11/2007, Christian Andersson <[EMAIL PROTECTED]> wrote: > > Thank you that was the problem, I had a written multiline > tag in the pom.xml for the first project. > > the best would be if either maven2 complained about this when creating > my first project OR convert "illegal" characters to s

Reminder - Guillaume Lederrey has invited you to TrustedOpinion.com

2007-11-14 Thread Guillaume Lederrey
[EMAIL PROTECTED], Hello hello ! Lors de mes prinations ectroniques, ch'suis tombsur ce site, pour se recommander des films (entre autres). Vu que j'en recommande et m'en fait recommander tout le temps, et que j'oublie les titres par apr, je me dis que je vais faire un essai ... On verra bien .

Re: add dependency (newbie question) ?

2007-11-14 Thread Giancarlo Degani
I think that the following link can help you: http://maven.apache.org/guides/getting-started/index.html#How_do_I_use_external_dependencies Giancarlo 2007/11/14, Nicola Benaglia <[EMAIL PROTECTED]>: > Hi ! > This is my first partecipation at this mailing listand obviously > with a very simple

Re: maven2 compilation problem

2007-11-14 Thread Christian Andersson
Thank you that was the problem, I had a written multiline tag in the pom.xml for the first project. the best would be if either maven2 complained about this when creating my first project OR convert "illegal" characters to something legal. Stuart McCulloch skrev: > On 14/11/2007, Christian Ande

google sitemap plugin ?

2007-11-14 Thread nicolas de loof
Hello, Is there any maven plugin to generate a google sitemap.xml for the project site ? In particular, any support for the google "code search" extension ( http://www.google.com/support/webmasters/bin/answer.py?answer=75224&ctx=sibling ) Nico.

Maven-assembly-plug-in usage

2007-11-14 Thread Vishal Pahwa
Hi We are using maven-assembly-plug-in for creating the release package.In the descriptor file of the assembly the tag present is . But with the help of this we can add a group of files inside the folder but not the folder itself that contains files as well as subfolders also. So could anyone p

add dependency (newbie question) ?

2007-11-14 Thread Nicola Benaglia
Hi ! This is my first partecipation at this mailing listand obviously with a very simple question. I need to add a postgres jdbc dependency to maven. Googling I found these lines to add to pom.xml: postgresql postgresql 8.1-407.jdbc3 http://www.postgresql.org/ It wo

Re: maven 2.0.7 assembly plugin

2007-11-14 Thread Nigel Magnay
You can do a jar containing all dependencies with the following descriptor. However - the excludes doesn't work properly in the assembly plugin, so if you have dependencies that are signed, you'll have to fix them afterwards annoyingly. You can also pack jars into the /lib and use something like o

Re: maven2 compilation problem

2007-11-14 Thread Stuart McCulloch
On 14/11/2007, Christian Andersson <[EMAIL PROTECTED]> wrote: > > I have defined it in my second project, otherwise it would not had tried > to load it. since the only plac eI have it in the parent project is in > the dependencymanegment so that I get the same version number for all my > projects..

Re: APT and repeating values

2007-11-14 Thread Marat Radchenko
Thanks 2007/11/14, Mattux <[EMAIL PROTECTED]>: > > Hi, i'm using 2.0-beta-6-SNAPSHOT. Also, if you want to use properties from > the pom in your apt files (eg ${project.artifactId}) you need to rename your > .apt to .vm. > > I hope that could help you, dont hesitate if you need more informations >

Re: Mapping between folder in subversion and projectGroup

2007-11-14 Thread Francis De Brabandere
I'm no continuum dev so you'll have to wait for an answer from somebody else or just make the request Regards On Nov 14, 2007 11:39 AM, Erik Drolshammer <[EMAIL PROTECTED]> wrote: > > On Wed, 2007-11-14 at 11:28 +0100, Francis De Brabandere wrote: > > Are you using maven? Can't you just create al

Re: Mapping between folder in subversion and projectGroup

2007-11-14 Thread Erik Drolshammer
On Wed, 2007-11-14 at 11:28 +0100, Francis De Brabandere wrote: > Are you using maven? Can't you just create all those groups and projects? Yes, (of course) I'm using maven. And yes I can do it manually (as I do now), but I wanted to check if this convenience feature was already supported. (Other

Re: Mapping between folder in subversion and projectGroup

2007-11-14 Thread Francis De Brabandere
Are you using maven? Can't you just create all those groups and projects? On Nov 14, 2007 10:03 AM, Erik Drolshammer <[EMAIL PROTECTED]> wrote: > Hi! > My subversion repo has the following structure: > > root/lib/lib1 > root/lib/lib2 > root/lib/libX > root/clients/clientA > root/clients/clientB >

Re: maven2 compilation problem

2007-11-14 Thread Christian Andersson
I have defined it in my second project, otherwise it would not had tried to load it. since the only plac eI have it in the parent project is in the dependencymanegment so that I get the same version number for all my projects.. my problem seems to be that maven has created a jar file for my first

Re: maven2 compilation problem

2007-11-14 Thread Nicole Lacoste
Hi Christian, If you want to depend on another artifact you must define the artifact in the depencencies section in the pom of the project that needs the dependecy, not its parent. You can have a dependency management section in a project's parent pom where you declare the version number, so that

Re: maven2 compilation problem

2007-11-14 Thread Christian Andersson
anyone, this completely stops me from going to maven 2 Christian Andersson skrev: > OK, I have successfully created a pom.xm (with a parent pom.xml) and > built my first maven2 project (minus some stuff described in earlier mails) > > but when I tried to create my second maven2 project that depen

purging old snapshots from local repository

2007-11-14 Thread Petteri Heinonen
Hi, by default maven seems to store all the old versions of the snapshots in the local repository, like this: Server-20070928.105107-155.pom Server-20070928.105107-155.war Server-20071114.083015-684.pom Server-20071114.083015-684.war Server-SNAPSHOT.pom Server-SNAPSHOT.war Is there a way to confi

Re: How to handle multiple deployments?

2007-11-14 Thread Francesco Vivoli
Thanks for the reply. I think I didn't quite express myself before though... We are using profiles already, to generate builds for different platforms. What I am talking about is structuring the project so that someone needing to 1. get the project, either the whole source tree or binaries 2.

RE: Run Archiva on Aix

2007-11-14 Thread MATHUS Baptiste
Hi, For the record, yesterday I found the solution using the IBM JDK. It ends up being kind of a "Security exception". In fact, it was because the IBM JDK is configured by default to the most restrictive cryptographic environment when using the JCE (Java Cryptography Extension) jar. I had to do

Re: APT and repeating values

2007-11-14 Thread Lukas Theussl
It's going to be in 2.0-beta-6, see http://jira.codehaus.org/browse/MSITE-223 Note however that only .vm files get filtered. HTH, -Lukas Marat Radchenko wrote: Hi, Mattux! Could you tell me, what version of maven-site-plugin (or doxia or whatever) supports velocity expressions in APT files?

Re: APT and repeating values

2007-11-14 Thread Mattux
Hi, i'm using 2.0-beta-6-SNAPSHOT. Also, if you want to use properties from the pom in your apt files (eg ${project.artifactId}) you need to rename your .apt to .vm. I hope that could help you, dont hesitate if you need more informations Marat Radchenko-2 wrote: > > Hi, Mattux! > > Could you

Re: Testng with testng.xml config file

2007-11-14 Thread Erik Drolshammer
On Wed, 2007-11-14 at 00:11 +0100, Erik Drolshammer wrote: > I can't get the suiteXmlFile configuration option to work properly. > > Can anyone point me to a testng.xml file that runs the same set of tests > as are run without any config? (Or any working testng.xml file that is > not completely

Filtering same file with multi-output

2007-11-14 Thread Saloucious
Hi, I would like to produce an assembly : What I would like to do, is to filtering file1.properties with different filters and produce for each filter a new filetered file. Here is the assembly files structures i'm looking for / | |--bin/artifact.war | |--env1 ||-- file1.properties (filter

Re: moving from maven 1 to maven 2, part 2

2007-11-14 Thread Christian Andersson
I know, but I cannot change the real world, this is how it gets supplied to me, I can probably over time get them (those that create it) to change it for me, but not now.. Wayne Fay skrev: > Different files (contents) with the same name is just a recipe for disaster. > > Wayne > > On 11/13/07, C

Re: Testng with testng.xml config file

2007-11-14 Thread Erik Drolshammer
On Tue, 2007-11-13 at 22:41 -0600, Wayne Fay wrote: > I would assume the code/config would be somewhere under: > http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-providers/surefire-testng/ > > Or possibly: > http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-plugin/ > > I