Re: Setting up a Internal Maven Repo

2007-01-15 Thread ir. ing. Jan Dockx
See On 16 Jan 2007, at 8:22, Barrie Treloar wrote: On 1/16/07, CHHAJED, Amit, GBM <[EMAIL PROTECTED]> wrote: Hi, I was looking for a links which will help me in setting up a Internal Maven repository and things that I need

Re: Error in running mvn

2007-01-15 Thread Sebastien Arbogast
My mistake. I just realized that I installed maven in /usr/local/maven-2.0.4and my M2_HOME variable is /usr/local/lib/maven- 2.0.4. That should be the problem. Sorry about that and thanks for your time. 2007/1/16, franz see <[EMAIL PROTECTED]>: Good day, Kindly verify that you have $M2_HOME\c

Re: Standard directory layout

2007-01-15 Thread Fred Foucart
Thank you for your helpful answers. I now have the solution. I'm gonna use the generated-sources directory(I don't have any plugin yet for the generation tool) Regards, Fred 2007/1/15, Ian Springer <[EMAIL PROTECTED]>: http://maven.apache.org/guides/introduction/introduction-to-the-standard -d

Re: Setting up a Internal Maven Repo

2007-01-15 Thread Barrie Treloar
On 1/16/07, CHHAJED, Amit, GBM <[EMAIL PROTECTED]> wrote: Hi, I was looking for a links which will help me in setting up a Internal Maven repository and things that I need to take care while setting the same. Any help / links / suggestions would be appreciated. For Maven 2 see http://docs.code

fix does not work for me [jira] Updated: (MASSEMBLY-121) Custom manifest attributres are ignored.]

2007-01-15 Thread berndq
Hi, I tried it again today [INFO] snapshot org.apache.maven.plugins:maven-assembly-plugin:2.2-SNAPSHOT: checking for updates from apache.org Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-assembly-plugin/2.2-SNAPSHOT/maven-assembly-plugin-2.2-

RE: Setting up a Internal Maven Repo

2007-01-15 Thread CHHAJED, Amit, GBM
Thanks Neeraj. Thanks, Amit Chhajed Senior Developer GBM | Royal Bank Of Scotland Desk: +91-124-4336400 Ext : 6753 -Original Message- From: Neeraj Bisht [mailto:[EMAIL PROTECTED] Sent: 16 January 2007 12:21 To: Maven Users List Subject: Re: Setting up a Internal Maven Repo Hi go for t

Re: Setting up a Internal Maven Repo

2007-01-15 Thread Neeraj Bisht
Hi go for this link http://maven.apache.org/maven-1.x/reference/internal-repositories.html it will help you Regards Neeraj On 1/16/07, CHHAJED, Amit, GBM <[EMAIL PROTECTED]> wrote: Hi, I was looking for a links which will help me in setting up a Internal Maven repository and things that I n

Setting up a Internal Maven Repo

2007-01-15 Thread CHHAJED, Amit, GBM
Hi, I was looking for a links which will help me in setting up a Internal Maven repository and things that I need to take care while setting the same. Any help / links / suggestions would be appreciated. Thanks, Amit Chhajed Senior Developer GBM | Royal Bank Of Scotland Desk: +91-124-4336400 Ex

RE: Standard directory layout

2007-01-15 Thread Ian Springer
http://maven.apache.org/guides/introduction/introduction-to-the-standard -directory-layout.html Sp, assuming you're checking in the UML-generated sources and descriptors, your layout might look something like: - src/main/java - src/main/descriptors - target/classes To invoke your custom generato

RE: javadoc plugin not java5 compatible?

2007-01-15 Thread Jörg Schaible
David J. M. Karlsen wrote on Tuesday, January 16, 2007 1:18 AM: > Jörg Schaible wrote: >> David J. M. Karlsen wrote on Friday, January 12, 2007 12:14 PM: >> >> >>> Hi! >>> >>> I've declared my parent pom as follows: >>> >>> artifactId>maven-javadoc-plugin >>> >>> 2.2-SNAPSHOT >>> >>> >>>

Re: Error in running mvn

2007-01-15 Thread franz see
Good day, Kindly verify that you have $M2_HOME\core\boot\classworlds-1.1.jar. Cheers, Franz Sebastien Arbogast wrote: > > I have exactly the same Exception popping up and my environment variables > are correctly set: > > [EMAIL PROTECTED]:~# mvn --version > Exception in thread "main" java.l

Re: Can you compile test cases without running them

2007-01-15 Thread franz see
Good day to you, jp4, The source code compilation is handled by the maven-compiler-plugin by default. To compile just your test cases, you can do mvn compiler:testCompile ( see [1] ) Cheers, Franz [1] http://maven.apache.org/plugins/maven-compiler-plugin/ jp4 wrote: > > I would like to be ab

Re: List of dependencies

2007-01-15 Thread allan ramirez
On 1/14/07, Wayne Fay <[EMAIL PROTECTED]> wrote: For me at least, the amount of time required to generate the full site vs only one report is hardly worth my time remembering and properly typing out the full "mvn project-info-reports:dependencies" bit on the command line! ;-) We have the same

Re: Snapshot plugin repository - where is it now...

2007-01-15 Thread allan ramirez
http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html you can download the maven-ejb-plugin-2.1-SNAPSGHOT here http://people.apache.org/repo/m2-snapshot-repository On 1/16/07, Tom Huybrechts <[EMAIL PROTECTED]> wrote: http://snapshots.repository.codehaus.org/ http

Re: Can you compile test cases without running them

2007-01-15 Thread allan ramirez
just command "mvn test-compile" On 1/16/07, jp4 <[EMAIL PROTECTED]> wrote: I would like to be able to compile my test cases without actually running them. I use maven.test.skip=true but that seems to prevent not only the test execution but the test compilation. Is there a way to compile with

Re: Q: Creating source bundles with packaging pom?

2007-01-15 Thread franz see
Good day to you, Steinar, I see. How about doing mvn -DperformRelease=true install "-DperformRelease=true " will activate a profile of the super POM ( see [1] ) which creates the source and javadoc jars. Cheers, Franz [1] http://maven.apache.org/guides/introduction/introduction-to-the-pom.ht

Re: Excluding source directory branches during compilation

2007-01-15 Thread franz see
Good day to you, Roberto, If you have only one source directory, you can use ... some/path/to/your/java/files But if have several directories, on top of my head, I guess you'd have to use the resources plugin. In your case, if you have . `-- src `-- main `-- jav

Re: javadoc plugin not java5 compatible?

2007-01-15 Thread David J. M. Karlsen
Jörg Schaible wrote: David J. M. Karlsen wrote on Friday, January 12, 2007 12:14 PM: Hi! I've declared my parent pom as follows: artifactId>maven-javadoc-plugin 2.2-SNAPSHOT ${encoding.default} ${jdk.level} and where did you put this? / and/or / ? Oh - of

Re: Site generation and URL parsing

2007-01-15 Thread Brad Smith
Thank you Dennis! Brad On Mon, 2007-01-15 at 23:02 +0100, Dennis Lundberg wrote: > I think that your POM has this set up: > >http://sforge.fs.fed.us/ > > Maven will use that info to determine whether links, like the ones in > your menu, are relative to the site that is being built, or not

Webstart and Upload

2007-01-15 Thread Massimiliano Amato
Hello, I ported my application into maven2 using Webstart plugin and i have the zip file generated, but i have a couple question 1) I have the zip file produced, is there a way to upload to the ftp site where my JWS runs automatically or i have to do it manually? 2) I have a complex system, bas

Re: maven-assembly-plugin:2.2-SNAPSHOT cannot be downloaded

2007-01-15 Thread Barrie Treloar
If you want to avoid including snapshot repositories in your build, then you will need to follow http://docs.codehaus.org/display/MAVENUSER/Patching+Maven+Plugins. You should seriously think about avoiding including the snapshot repository in your build process as you will get ALL snapshots not j

Re: HOW TO - Use maven-eclipse-plugin to build a RCP Target Platform and an internal repository from an Eclipse installation

2007-01-15 Thread Barrie Treloar
To be specific, if my eclipse install dir is /usr/local/eclipse-32/, does the eclipse:make-artifacts goal deploy everything under /usr/local/eclipse-32/plugins/? Or does it copy just the eclipse runtime? (if so, how does it know what to take?) If it copies just the runtime, I understand why the

Re: Can you compile test cases without running them

2007-01-15 Thread drekka
Another method is to tell the surfire plugin to skip testing. Just add this to the plugins: org.apache.maven.plugins maven-surefire-plugin

Re: Q: Creating source bundles with packaging pom?

2007-01-15 Thread Steinar Bang
> Arnaud Bailly <[EMAIL PROTECTED]>: > Steinar Bang <[EMAIL PROTECTED]> writes: >> What does pom imply? In particular: why would >> one choose pom over jar? > Packgaging type is the single most important feature of a pom as it > defines the binding of mojos to the lifecycle used to builde th

Re: Site generation and URL parsing

2007-01-15 Thread Dennis Lundberg
I think that your POM has this set up: http://sforge.fs.fed.us/ Maven will use that info to determine whether links, like the ones in your menu, are relative to the site that is being built, or not. For more info see: http://jira.codehaus.org/browse/MSITE-159 -- Dennis Lundberg Brad Sm

Re: Q: Creating source bundles with packaging pom?

2007-01-15 Thread Steinar Bang
> franz see <[EMAIL PROTECTED]>: > You can use mvn eclipse:eclipse -DdownloadSources instead ;) Thanx but that won't help me...:-) Unless I'm mistaken, that will pull down sources for jars into the local repo. What I want is to actually build a source jar when I'm building a jar, and placi

Re: site top level page not linking to children correctly

2007-01-15 Thread Dennis Lundberg
You need to define the element in both parent and child POMs. The value of these tags are used to create the links between the parent and child sites. -- Dennis Lundberg [EMAIL PROTECTED] wrote: I am setting up a multi-module project in Maven and want to get the web-site functionality workin

Re: Error in running mvn

2007-01-15 Thread Sebastien Arbogast
I have exactly the same Exception popping up and my environment variables are correctly set: [EMAIL PROTECTED]:~# mvn --version Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher [EMAIL PROTECTED]:~# echo $M2_HOME /usr/local/lib/maven-2.0.4 [EMAIL PROTECT

getting repository jars into assembly

2007-01-15 Thread Mick Knutson
I upgraded to 2.2 of the assembly plugin, and still can't seem to get jars into my tar file. here is an error I get now: [INFO] [jar:jar] [INFO] Building jar: C:\opt\tro\common\acegi\target\acegi-2.1.0.jar [INFO] [assembly:assembly] [INFO] Reading assembly descriptor: C:\opt\tro\src\main\resourc

Re: I just want continuum to download my pom file and execute maven2

2007-01-15 Thread Carlos Sanchez
use file:// protocol in the scm section On 1/15/07, Jesus Hinojosa <[EMAIL PROTECTED]> wrote: I have a proxy that will serve the maven2 pom files for continuum (using http) and includes its own mechanism to download and build the project (no scm section). I wnat continuum just to download the

I just want continuum to download my pom file and execute maven2

2007-01-15 Thread Jesus Hinojosa
I have a proxy that will serve the maven2 pom files for continuum (using http) and includes its own mechanism to download and build the project (no scm section). I wnat continuum just to download the file and execute the maven over the file. Is there a way I can do that ? Right now is searching

How far away is maven-assembly-plugin-2.2 from being released?

2007-01-15 Thread Christian Goetze
Just wanted to know whether it is worthwhile for me to replace my maven-proxy with something that understands all aspects of snapshot management... I'd rather use released code if possible... -- cg - To unsubscribe, e-mail: [E

Re: HOW TO - Use maven-eclipse-plugin to build a RCP Target Platform and an internal repository from an Eclipse installation

2007-01-15 Thread Steinar Bang
> "Barrie Treloar" <[EMAIL PROTECTED]>: > You may need to explain what you mean, I'm not understanding. Or, I can ask my questions in a more detailed manner...:-) > The PDE build (since it just uses the Eclipse Ant PDE build under > the covers) will find your local installation of the Eclips

Re: Do we have a way to declare dependency on the latest released version of an artifact?

2007-01-15 Thread Tomasz Pik
On 1/15/07, Raymond Feng <[EMAIL PROTECTED]> wrote: Hi, I understand we can use "SNAPSHOT" as the version id to reference the latest "unreleased" code. Do we have a special version id such as "LATEST" to reference the latest released version? In some cases, I prefer not to use the fixed version

RE: maven-assembly-plugin:2.2-SNAPSHOT cannot be downloaded

2007-01-15 Thread Greg Jones
Sebastian, You also need to add the repository as a plugin repository, as follows: Apache SNAPSHOTS Apache SNAPSHOTS http://people.apache.org/repo/m2-snapshot-repository true always warn true always fai

Re: R: [m2] Generating release POMs

2007-01-15 Thread Gabriele Contini
Some time ago i opened a jira issue about this missing feature: http://jira.codehaus.org/browse/MRELEASE-177 Since this is a key feature for our company (we heavily use version ranges and releases are not reproducible), we would like to submit a patch to uncomment and fix the existing code. Do

Re: Excluding source directory branches during compilation

2007-01-15 Thread Roberto UserList
Franz, what can I do if there are, for example, two more directories: src/main/java/trash1 src/main/java/traxh2 and I'd like only to compile the files inside trunk and branches directories? How can I tell Maven not to compile files in trash1 and trash2 directories? Tanks a lot in advance. Regards

Re: maven-assembly-plugin:2.2-SNAPSHOT cannot be downloaded

2007-01-15 Thread Heinrich Nirschl
On 1/15/07, Annies, Sebastian <[EMAIL PROTECTED]> wrote: Hello, For some reason I cannot get any maven assembly plugin in version 2.2-SNAPSHOT to download. I added: You need to use and instead. - To unsubscribe, e-mai

Projects doesn't build! Company Logo error

2007-01-15 Thread Rodrigo Gonçalves
hello, when I try to build a project, it doesn't happen anything, and in the 'continuum.log' appears the following info: INFO | jvm 1| 2007/01/15 14:45:54 | javax.servlet.UnavailableException: java.lang.ClassNotFoundException: kkkppplll INFO | jvm 1| 2007/01/15 14:45:54 | at

Re: Can you compile test cases without running them

2007-01-15 Thread Tom Huybrechts
-Dmaven.test.skip.exec in the surefire snapshot version On 1/15/07, jp4 <[EMAIL PROTECTED]> wrote: I would like to be able to compile my test cases without actually running them. I use maven.test.skip=true but that seems to prevent not only the test execution but the test compilation. Is ther

maven-assembly-plugin:2.2-SNAPSHOT cannot be downloaded

2007-01-15 Thread Annies, Sebastian
Hello, For some reason I cannot get any maven assembly plugin in version 2.2-SNAPSHOT to download. I added: Apache SNAPSHOTS Apache SNAPSHOTS http://people.apache.org/repo/m2-snapshot-repository true always warn true

Re: Can you compile test cases without running them

2007-01-15 Thread jp4
I just ran mvn clean install -Dtest=foo where foo is not a valid test and this seems to do what I want. If anyone has a cleaner way, please let me know. jp4 wrote: > > I would like to be able to compile my test cases without actually running > them. I use maven.test.skip=true but that seems t

Re: Can you compile test cases without running them

2007-01-15 Thread Wendy Smoak
On 1/15/07, jp4 <[EMAIL PROTECTED]> wrote: I would like to be able to compile my test cases without actually running them. I use maven.test.skip=true but that seems to prevent not only the test execution but the test compilation. Is there a way to compile without running test cases. I would p

Can you compile test cases without running them

2007-01-15 Thread jp4
I would like to be able to compile my test cases without actually running them. I use maven.test.skip=true but that seems to prevent not only the test execution but the test compilation. Is there a way to compile without running test cases. I would prefer not to mess with the pom files, but do

[m2] Skip also other test life cycle phases

2007-01-15 Thread maik . ebert
At the moment you can define "maven.test.skip=true" to inform Maven2 about skipping the tests. But in my environment I do database schema generation and setup in the other test life cycle phases like generate-test-sources and test-compile. After all I don't understand why the test classes are c

Re: Snapshot plugin repository - where is it now...

2007-01-15 Thread Tom Huybrechts
http://snapshots.repository.codehaus.org/ http://repository.codehaus.org/ See links at the top of http://mojo.codehaus.org On 1/15/07, Darren Hartford <[EMAIL PROTECTED]> wrote: Trying to maintain consistency with an evolving platform Trying to download the maven-ejb-plugin-2.1-SNAPSHOT

Site generation and URL parsing

2007-01-15 Thread Brad Smith
In the site.xml file I have the following menu description: http://fsweb.nris.fs.fed.us/"; /> http://sforge.fs.fed.us/"; /> http://sforge.fs.fed.us/lists"; /> For some reason maven will replace "http://sforge.fs.fed.us/"; with the URL for the maven generated site. If I change any character i

Snapshot plugin repository - where is it now...

2007-01-15 Thread Darren Hartford
Trying to maintain consistency with an evolving platform Trying to download the maven-ejb-plugin-2.1-SNAPSHOT that was originally at *http://snapshots.maven.codehaus.org/maven2/plugins *http://snapshots.maven.codehaus.org/maven2 That website is no longer available. Where is the new locatio

site top level page not linking to children correctly

2007-01-15 Thread adrian.p.smith
I am setting up a multi-module project in Maven and want to get the web-site functionality working. I seem to have the basics, but my top level page has hyperlinks to the 'child' modules, but they're all pointing at http://maven.apache.org/index.html. When I type mvn site, I do get an error: [WAR

Re: Standard directory layout

2007-01-15 Thread Fred Foucart
Maven 2. Is there any particular specification about that ? 2007/1/15, Ian Springer <[EMAIL PROTECTED]>: Are you using Maven 1 or Maven 2? | -Original Message- | From: Fred Foucart [mailto:[EMAIL PROTECTED] | Sent: Monday, January 15, 2007 5:47 AM | To: users@maven.apache.org | Subjec

[m2] profiles are not used while using maven 2 release plugin

2007-01-15 Thread Elid OR
Hi all, I would like to specifiy a profile when releasing but it seems that when I add "-P myProfiles" it does not used it. Any Idea ? Elid OR. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Clearing out local repository during nightly builds

2007-01-15 Thread jp4
Recently I have had some issues with version management where we upgrade a particular artifact to a new version, but some how, not all projects reference the new version. I have tried to mitigate this by making use of the dependencyManagement section which works nicely. I would still however,

RE: Standard directory layout

2007-01-15 Thread Ian Springer
Are you using Maven 1 or Maven 2? | -Original Message- | From: Fred Foucart [mailto:[EMAIL PROTECTED] | Sent: Monday, January 15, 2007 5:47 AM | To: users@maven.apache.org | Subject: Standard directory layout | | Hello everybody, | | I need to define a specific Maven layout for the foll

Re: Excluding source directory branches during compilation

2007-01-15 Thread franz see
Good day to you, Roberto, If you have something like src/main/java/trunk and src/main/java/branches, you can simply do ... src/main/java/trunk Cheers, Franz Roberto UserList wrote: > > Hi, all! > I'd like to compile a subproject with Maven2 but i'd like not to compile > files o

Re: setting dependency to a project with pom packaging?

2007-01-15 Thread franz see
Good day to you, Victor, Let me get this straight. You have a project A which depends on projects B, C, D & E ( for example ). However, you don't want to declare all those in project A's pom. Instead, you want a way to declare them as project A's dependency as a group. Thus you tried adding a

Re: APT + site.xml + parent directory

2007-01-15 Thread Yann Le Du
Hi Jan, Just add to your site.xml : Check the section "Including Generated Content" in http://maven.apache.org/plugins/maven-site-plugin/howto.html - Yann 2007/1/15, Jan-Oliver Wuelfing <[EMAIL PROTECTED]>: Hi all, is it possible to include a parent-link the to next upper index.html

Re: Q: Creating source bundles with packaging pom?

2007-01-15 Thread franz see
Good day to you, Steinar, You can use mvn eclipse:eclipse -DdownloadSources instead ;) mvn eclispe:eclipse will setup your .project and .classpath wherein the .classpath points to the binaries of your dependencies ( which are in your repo ). And with the -DdownloadSources=true property, the sou

APT: code-snippet

2007-01-15 Thread Jan-Oliver Wuelfing
Dear all, I use the code snippet-macro (shown at http://maven.apache.org/guides/mini/guide-snippet-macro.html) to include Java source code in my HTML-sites, but it doesn´t work, why? I build my site via the Eclipse-plug-in, so I´ve checked out the repository with the source code and the src- a

Re: [XML-RPC] using the api

2007-01-15 Thread Laurent Forêt
Thanks all for your answers. As it is a feature, I will deal with. best regards, Laurent. -- Forwarded message -- From: Trygve Laugstøl <[EMAIL PROTECTED]> To: continuum-users@maven.apache.org Date: Sat, 13 Jan 2007 13:28:31 +0100 Subject: Re: [XML-RPC] using the api Andrew W

APT + site.xml + parent directory

2007-01-15 Thread Jan-Oliver Wuelfing
Hi all, is it possible to include a parent-link the to next upper index.html in the 'menu'- or 'module'-section in the site.xml? Or is there any other possibility to include automaticly? Cheers Jan - To unsubscribe, e-mail:

Re: Standard directory layout

2007-01-15 Thread Raphaël Piéroni
Hi Fred, I will try to answer your question by giving an exemple. A typical maven directory structure for a project using modello (a source generator tool) is : - project - src - main - java (here are the manually created java sources) - mdo (here are the modello descriptors which

RE: [m2] any estimate for the next maven-ejb-plugin release (2.1) ?

2007-01-15 Thread Dário Luís Coneglian Oliveros
Hi Wayne, There's a bug with clientExcludes that is already fixed in the SNAPSHOT. Before I start making local changes, I'd like to know whether there's any plan to release it soon. Dário -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 12 de janeiro de 2007

Re: Inheriting plugin executing

2007-01-15 Thread Tom Huybrechts
Add false to the element. On 1/15/07, Saminda Abeyruwan <[EMAIL PROTECTED]> wrote: Hi All, Say my parent pom.xml has a pluging to execute some goal on the initialization phase. If this pom is the parent of app1 pom.xml and app2 pom.xml ie pom.xml - app1 pom.xml - app2

Inheriting plugin executing

2007-01-15 Thread Saminda Abeyruwan
Hi All, Say my parent pom.xml has a pluging to execute some goal on the initialization phase. If this pom is the parent of app1 pom.xml and app2 pom.xml ie pom.xml - app1 pom.xml - app2 pom.xml when the reactor is working, the code in the initialization phase repeats. Is the

Excluding source directory branches during compilation

2007-01-15 Thread Roberto UserList
Hi, all! I'd like to compile a subproject with Maven2 but i'd like not to compile files of all directory branches. How can I exclude a specific source directory? Tahnks in advance for help. Regards, Roberto.

Standard directory layout

2007-01-15 Thread Fred Foucart
Hello everybody, I need to define a specific Maven layout for the following application: The code is generated from an Uml modelling tool. It generates sources and xml files. The XML files are needed for the next tool that we are going to use. Our actual directory layout is like this: -project

RE: passing custom parameters to a custom compiler-plugin

2007-01-15 Thread Martin Moser
Hi Franz, thank you for your detailed explanation. Now I can understand, what you've meant :-) You are completely right. The usage of maven-compiler plugin was the reason, because the parameter "testParam" wasn't used, which is ok, because the parameter isn't defined for that plugin. So my

Re: Eclipse:eclipse and multiple modules

2007-01-15 Thread Niels Gylling
working as designed - We had the same problem and created our own multi-project eclipse generator plugin. Are there any plans from the maven2 gurus to extend this functionality to the 'org.apache.maven.plugins' domain? /Niels [EMAIL PROTECTED] wrote: Weird shit is happening here. We h

Eclipse:eclipse and multiple modules

2007-01-15 Thread bjorn.de.bakker
Weird shit is happening here. We have a multiple modules project, which looks like this: Top project |- project-tier |- business tier |- integration tier |- presentation-tier

Re: gwt maven 2

2007-01-15 Thread Maruf Aytekin
Many thanks for this information. Maruf Iulian Costan wrote: On 1/12/07, Iulian Costan <[EMAIL PROTECTED]> wrote: On 1/12/07, Maruf Aytekin <[EMAIL PROTECTED]> wrote: > > Thank you Julian, > I have one more quetsion: How do you orginize directory structure? as > maven 2 directory structure o