Compiling without javac

2007-01-16 Thread Ben Alex
Hi everyone I can't get maven-compiler-plugin to work with AspectJ or Jikes. I've followed the official directions at http://tinyurl.com/woqoa but always receive: [INFO] No such compiler 'aspectj'. Or: [INFO] No such compiler 'jikes'. This error is from the following line of

Platform depending compilation

2007-01-16 Thread Timo Wolf
Hi All, I have a java swing application that I build with maven. I include some Mac OS X java libraries to integrate the app into OS X. I get errors when compiling on Windows, as the os x libraries are not available. Is it possible to detect the current OS and exclude some java classes

site top level page not linking to children correctly

2007-01-16 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:

Re: List of dependencies

2007-01-16 Thread Mark Hobson
On 16/01/07, allan ramirez [EMAIL PROTECTED] wrote: 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

RE: site top level page not linking to children correctly

2007-01-16 Thread hermod.opstvedt
Hi add an urluri of your site/url entry to your pom Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 9:21 AM To: users@maven.apache.org Subject: site top level page not linking to children correctly I am setting up a

Re: Q: Creating source bundles with packaging pom?

2007-01-16 Thread nicolas de loof
I'm using the source plugin to create a -sources.jar of my artifact. They are automatically installed/deployed with my project artifacts. http://maven.apache.org/plugins/maven-source-plugin/index.html 2007/1/16, franz see [EMAIL PROTECTED]: Good day to you, Steinar, I see. How about doing

Apacheds and Maven

2007-01-16 Thread Joseph
when use mvn directory:schema to create my schema class.the out print The plugin 'org.apache.maven.plugins:maven-directory-plugin' does not exist or no valid version could be found what's wrong with it? How can i make it? -

Skip downloading javadoc and java sources

2007-01-16 Thread Rajiv Kumar Poddar
Hi, while running mvn, it tries to download javadoc and sources along with the jars. How can it be suppressed so that it only downloads jars. Thanks regards, Rajiv Kr Poddar

RE: Platform depending compilation

2007-01-16 Thread Jörg Schaible
Hi Timo, Timo Wolf wrote on Tuesday, January 16, 2007 9:07 AM: Hi All, I have a java swing application that I build with maven. I include some Mac OS X java libraries to integrate the app into OS X. I get errors when compiling on Windows, as the os x libraries are not available. Is

Re: Platform depending compilation

2007-01-16 Thread Martin Gilday
Not automated but the simplest way would be to define a profile for OSX. Then in the standard definition set the compiler plugin to exclude[1] the classes. Then in the OSX profile override the compiler plugin to remove the exclude. Then you would just need to either do mvn compile or mvn -Posx

maven-antrun-plugin Out Of Memory Error

2007-01-16 Thread Hepperz
Hi Does anyone know of a way to increase the amount of memory that's available to the antrun plugin? My situation is as follows: Coming from a legacy application, we have the need to run Cactus Tests. I have written my own plugin using the maven-antrun-plugin that will cactify the war we have.

RE: site top level page not linking to children correctly

2007-01-16 Thread adrian.p.smith
I think I'm beginning to understand. OK, I have put in a url, I'd already tried that BTW, but I see now that the hyperlinks only work once the site-deploy task has been run (I just deployed to another directory on my disk). Is this correct? -Original Message- From: [EMAIL PROTECTED]

maven-antrun-plugin Out Of Memory Error

2007-01-16 Thread Hepperz
Hi Does anyone know of a way to increase the amount of memory that's available to the antrun plugin? My situation is as follows: Coming from a legacy application, we have the need to run Cactus Tests. I have written my own plugin using the maven-antrun-plugin that will cactify the war we have.

Re: Skip downloading javadoc and java sources

2007-01-16 Thread franz see
Good day to you, Rajiv Kr Poddar, What maven command are you executing? Maven does not download the jars and sources by default. Thanks, Franz Rajiv Kumar Poddar wrote: Hi, while running mvn, it tries to download javadoc and sources along with the jars. How can it be suppressed so

Re: maven-antrun-plugin Out Of Memory Error

2007-01-16 Thread Hepperz
I've found the solution after a bit of playing. I had been trying to set ANT_OPTS -Xmx and -Xms vars with no luck. The solution was to actually increase the memory available to Maven by setting MAVEN_OPTS=-Xmx512m Hepperz wrote: Hi Does anyone know of a way to increase the amount of

release:prepare

2007-01-16 Thread alexsil
Is possible force a revision to use during release:prepare o release:perform instead of use a default HEAD revision ??? Thanks in advance -- View this message in context: http://www.nabble.com/release%3Aprepare-tf3020091s177.html#a8387612 Sent from the Maven - Users mailing list archive at

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

2007-01-16 Thread Steinar Bang
(Note: I'm aware that to actually create a target platform separate from the eclipse installation, the plugins have to be copied to a location separate from the eclipse installation, and that installation be set as the PDE target platform. I do this already to be able to use other OSGi bundles

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

2007-01-16 Thread Stéphane Bouchet
Hi, see my comments inline : Steinar Bang a écrit : (Note: I'm aware that to actually create a target platform separate from the eclipse installation, the plugins have to be copied to a location separate from the eclipse installation, and that installation be set as the PDE target platform.

bildNumber issue

2007-01-16 Thread jelle.volckaert
Hi all, I'm having a problem concerning the codehaus buildNumber plugin for Maven (http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/index.html ). I'm working an a project with a few collegues. Our code is being managed by Subversion. We use Maven to maintain the project.

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

2007-01-16 Thread Steinar Bang
Stéphane Bouchet [EMAIL PROTECTED]: the make-artifacts goal deploy everything it found under the feature and plugin directory to the repository, with any third party plugins founded. (see doc : http://maven.apache.org/plugins/maven-eclipse-plugin/make-artifacts-mojo.html) That's what I

Re: bildNumber issue

2007-01-16 Thread berndq
Hi jelle, do you run a localized svn client? At least maven scm expects english messages from svn. Switch your svn to enlish and try again (rename share folder in svn install dir) best regards Bernd Hi all, I'm having a problem concerning the codehaus buildNumber plugin for Maven

Re: Q: Creating source bundles with packaging pom?

2007-01-16 Thread Steinar Bang
nicolas de loof [EMAIL PROTECTED]: I'm using the source plugin to create a -sources.jar of my artifact. They are automatically installed/deployed with my project artifacts. http://maven.apache.org/plugins/maven-source-plugin/index.html Yes. That's the one I'm trying to use when doing

RE: bildNumber issue

2007-01-16 Thread jelle.volckaert
Hi Bernd, Thx for your reply. Yes we are running localized svn clients. But what do you mean with switch your svn to English. We have the dir share/locale/*lot's of subdirs for every language* in the svn install dir. How can I ensure svn is in English ? Thx in advance Jelle -Original

Re: R: [m2] Generating release POMs

2007-01-16 Thread Mark Hobson
On 15/01/07, Gabriele Contini [EMAIL PROTECTED] wrote: 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

Re: bildNumber issue

2007-01-16 Thread berndq
Hi jelle Hi Bernd, Thx for your reply. Yes we are running localized svn clients. But what do you mean with switch your svn to English. We have the dir share/locale/*lot's of subdirs for every language* in the svn install dir. How can I ensure svn is in English ? As said: Rename the share

Re: Q: Creating source bundles with packaging pom?

2007-01-16 Thread nicolas de loof
You must bind the source:jar execution to your defaul build process : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-source-plugin/artifactId executions execution

Re: Re: Skip downloading javadoc and java sources

2007-01-16 Thread Rajiv Kumar Poddar
I was using 'mvn eclipse:eclipse' and maven tried to download sources.jar and javadoc.jar. Thanx Rajiv Kr Poddar

[M2] Excluding some classes directories when packaging an artifact

2007-01-16 Thread Roberto UserList
Hi, all! After compiling a subproject, I'd like to package an artifact, .jar file, but excluding some classes directories. How can I do to exclude these directories? Thanks in advance for help. Regards, Roberto.

Re: bildNumber issue

2007-01-16 Thread Emmanuel Venisse
berndq a écrit : Hi jelle Hi Bernd, Thx for your reply. Yes we are running localized svn clients. But what do you mean with switch your svn to English. We have the dir share/locale/*lot's of subdirs for every language* in the svn install dir. How can I ensure svn is in English ? As said:

Can assemblies be deployed with mvn deploy?

2007-01-16 Thread Rodrigo Ruiz
Hi all, I would like to know if there is any way to configure the deploy plugin to include one or more assemblies. For example, I am creating several assemblies for a Java application (in tar.gz, tar.bz2 and zip formats). To deploy all the artifacts, I have to execute a shell script like: mvn

Re: Can assemblies be deployed with mvn deploy?

2007-01-16 Thread nicolas de loof
Take a look at Building an Assembly as Part of the Build Lifecycle in http://maven.apache.org/plugins/maven-assembly-plugin/usage.html. AFAIK an assembly will be deployed when build using the attached goal as part of the deploy process. 2007/1/16, Rodrigo Ruiz [EMAIL PROTECTED]: Hi all, I

[m2] Multple executions of the same plugin at the same life cycle phase

2007-01-16 Thread maik . ebert
Hello, if have multple executions of the same plugin at the same life cycle phase in my pom.xml. If have ordered them in the order I want to them to execute, but sometimes this order is not kept. How can I define the order the plugin executions are executed? For example see this

RE: scm:update connectionUrl error

2007-01-16 Thread Nunn, Gerald
Please ignore this, I had a typo somewhere else that was causing the issue. Gerald -Original Message- From: Nunn, Gerald Sent: Tuesday, January 16, 2007 9:24 AM To: 'users@maven.apache.org' Subject: scm:update connectionUrl error I am trying to get CVS working

scm:update connectionUrl error

2007-01-16 Thread Nunn, Gerald
I am trying to get CVS working with Maven 2.0.4 and have defined the following in pom.xml: scm connectionscm:cvs:ssh;username=;password=;hostname=xx.xx.xx.xx:/cvs/cvs1/cvsroot/connection

Re: release:prepare

2007-01-16 Thread marc gassmann
alexsil said the following on 16.01.2007 11:20: Is possible force a revision to use during release:prepare o release:perform instead of use a default HEAD revision ??? Thanks in advance I didnt tried it ... but my guess is 'tag' have a look here. it could be the same as in maven 1

Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources

2007-01-16 Thread Aleksei Valikov
Hi. In my project, Hibernate configuration and mappings are distributed among several JARs. That is, *.hbm.cfg and *.hbm.xml are resources inside JAR artifacts rather than files. There is a war module which depends on all of these JARs. And I need to export the database schema (DDL) for this

Please release maven-release-plugin 2.3.1

2007-01-16 Thread Marcel Schutte
Hello list (and especially Stéphane Nicoll), On maven-dev I see that the vote for a release of maven-release-plugin 2.3.1 has been open til january 12. I don't see any votes against it. Could you please perform the release? Regards, Marcel

WAR Project Inheritance

2007-01-16 Thread Ben Tatham
Hi, A long time ago, this question was posted, but I can't find the answer (if there was one?) My primary goal is to create a WAR (don't need an EAR) that depends on another WAR project...essentially extending that original project. I want to include all the JSPs, etc from the parent WAR.

Re: Please release maven-release-plugin 2.3.1

2007-01-16 Thread Stephane Nicoll
you mean EAR? On 1/16/07, Marcel Schutte [EMAIL PROTECTED] wrote: Hello list (and especially Stéphane Nicoll), On maven-dev I see that the vote for a release of maven-release-plugin 2.3.1 has been open til january 12. I don't see any votes against it. Could you please perform the release?

Re: Please release maven-release-plugin 2.3.1

2007-01-16 Thread Marcel Schutte
Hi Stephane, Yes, sorry. I meant maven-ear-plugin. Can you give me an indication when this can be released? Regards, Marcel - Original Message From: Stephane Nicoll [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org; Marcel Schutte [EMAIL PROTECTED] Sent: Tuesday, January

Re: release:prepare

2007-01-16 Thread alexsil
Thank you for the answer Marc, but tag is the name of the tag not the revision. Bye Alex marc gassmann wrote: alexsil said the following on 16.01.2007 11:20: Is possible force a revision to use during release:prepare o release:perform instead of use a default HEAD revision ??? Thanks in

Re: Please release maven-release-plugin 2.3.1

2007-01-16 Thread Stephane Nicoll
Hi, On 1/16/07, Marcel Schutte [EMAIL PROTECTED] wrote: Hi Stephane, Yes, sorry. I meant maven-ear-plugin. Can you give me an indication when this can be released? If I can synchronize with the team tonight, I think I'll do it today. No promise though. Stéphane Regards, Marcel -

Multi Project Module Order

2007-01-16 Thread jp4
I am having an issue with the order in which modules are built. I have explicitly specified in the main pom.xml file that the clean project (which deletes a portion of the local repo) should be built first. However, maven has decided to build the clean project second, which causes problems

Re: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources

2007-01-16 Thread Marco Mistroni
Hello, i think you can configure what todo in the sessionFactory prop key=hibernate.hbm2ddl.autocreate/prop that way will be easier with codehaus plugin you can use also an hibernate.properties, pls check properties available for that plugin when i tried, i didnt succeeded, so i decided to

Re: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources

2007-01-16 Thread Aleksei Valikov
Hi. i think you can configure what todo in the sessionFactory prop key=hibernate.hbm2ddl.autocreate/prop that way will be easier Yes, this is how it works right now. But we'd also like to generate the DDLs for documentation/reference purposes. with codehaus plugin you can use also an

Strange bug in site plugin

2007-01-16 Thread Aaron Digulla
I have a strange behavior in the site plugin. My project is made up of a lot of modules. If I run mvn site in the parent, I get a full list of dependencies in the generated site (dependencies.html and dependency-convergence.html) and all problems with them (SNAPSHOTS, different versions of

Re: release:prepare

2007-01-16 Thread Tom Huybrechts
during release:prepare the release plugin will need to change the versions in the pom and make commits. You can't do that if you do not have the latest versions of your poms, right ? An alternative would be to create a branch based on a revision, and release from there. Tom On 1/16/07, alexsil

Re: release:prepare

2007-01-16 Thread alexsil
Thank you Tom, you are right. I didn't think to this. My problem was the possibility to prevent commit during release phase. Create a branch is a good idea. To point to this branch intead of tags I must override the developer connection variable ??? Bye alex Tom Huybrechts wrote: during

Re: release:prepare

2007-01-16 Thread Marc Gassmann
my guess is that you use cvs in that case it is not useful to use a revision it is supposed to be tagged, to use it in a release cheers marc alexsil said the following on 16.01.2007 15:49: Thank you for the answer Marc, but tag is the name of the tag not the revision. Bye Alex marc

Re: release:prepare

2007-01-16 Thread alexsil
I'm using SVN, but the behaviour is the same as said TOM in a previous post. Bye Alex Marc Gassmann-2 wrote: my guess is that you use cvs in that case it is not useful to use a revision it is supposed to be tagged, to use it in a release cheers marc alexsil said the following

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

2007-01-16 Thread Attila Mezei-Horvati
Eli, you need to specify them as extra arguments. Like this: mvn release:prepare -Darguments=-P myProfiles mvn release:perform -Darguments=-P myProfiles You need to specify it both for prepare and perform. Attila From: Elid OR [EMAIL PROTECTED] To: users@maven.apache.org Subject: [m2]

Re: Can assemblies be deployed with mvn deploy?

2007-01-16 Thread Rodrigo Ruiz
Thank you Nicolas, it is exactly what I was looking for :-) nicolas de loof wrote: Take a look at Building an Assembly as Part of the Build Lifecycle in http://maven.apache.org/plugins/maven-assembly-plugin/usage.html. AFAIK an assembly will be deployed when build using the attached goal as

Re: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources

2007-01-16 Thread Marco Mistroni
Hi, i think somehow you can make it work with the genration of DDL if you check pluginDoc, in your configuration element there's something that allows you to use hibernate.properties file (if that is what you are using) alternatively, i think you could still invoke schemaExport (or whatever

missing resources in .jnlp

2007-01-16 Thread Dmitry Beransky
Hi, Can't figure out what I'm doing wrong. I've set up a project for building a WebStart app. Copied template.vm from the plugin's svn. When I run webstart:jnlp goal, I get a zip containing all dependencies properly signed, but the index.jnlp file only has the following: ?xml version=1.0

Re: [m2] Scoping inconsistency with multi-module build

2007-01-16 Thread Chris Eldredge
Created MNG-2779. Thanks, Chris Eldredge franz see wrote: Good day to you, Chris, Open an issue in [1], probably under the Dependencies component. Thanks, Franz [1] http://jira.codehaus.org/browse/MNG Chris Eldredge wrote:

Re: missing resources in .jnlp

2007-01-16 Thread Subhash Chandran
For me also the resources inside the src/jnlp/resources directory does not get copied to target/jnlp. This seems to be a bug. For me the $mainClass gets expanded. My .vm file is: http://svn.berlios.de/wsvn/jenkryptor/trunk/src/jnlp/template.vm?op=filerev=0sc=0 My pom.xml:

Re: probs with profiles - really stuck...

2007-01-16 Thread Michael Waluk
Hi EJ, What did you end up with? I use property activation to activate properties because it's easy to set a default with the ! operator. And when I use help:active-profiles it doesn't show that sub-modules are using the profile that should be activated (like your email shows). BUT, for me,

Re: release:prepare

2007-01-16 Thread alexsil
Sorry Tom, but if I use a Branch instead of Trunk maven release plugin commit the next version pom on the Branch and not on the Trunk that is the right place ??? Is it true Thanks Alex Tom Huybrechts wrote: during release:prepare the release plugin will need to change the versions in

{m1} running java from maven.xml

2007-01-16 Thread Toby Weston
Hi Folks, I've writen a POJO to do something useful and wanted to use it as part of my build. So I thought I'd try and kick it off form the maven.xml. So, I did something similar to this; goal name=myGoal j:jelly xmlns:j=jelly:core xmlns:define=jelly:define xmlns:my=myTag

Re: release:prepare

2007-01-16 Thread Tom Huybrechts
you have to decide what you need: - if you really are releasing a historical version, you probably don't want the modified poms in trunk - if you do want them, you should merge branch to trunk On 1/16/07, alexsil [EMAIL PROTECTED] wrote: Sorry Tom, but if I use a Branch instead of Trunk maven

Re: release:prepare

2007-01-16 Thread alexsil
Ok, you are right, but I think to have exposed bad my problem. I don't want to release a historical version. I want to be sure that while I'm releasing a new version nobody can make a commit that invalid the version of code of the created TAG against the binary (in the maven repository) that

SCM URL for the maven-surefire-plugin

2007-01-16 Thread Lasse Koskela
Hi, I'm in the process of figuring out whether I can get one of the surefire-and-junit4 patches working and found out that a wrong URL to the Subversion repository is posted on the Source repository page at http://maven.apache.org/plugins/maven-surefire-plugin/source-repository.html Apparently

Re: SCM URL for the maven-surefire-plugin

2007-01-16 Thread Tom Huybrechts
These patches in MSUREFIRE-31 have already been applied to trunk. http://svn.apache.org/viewvc/maven/surefire/trunk/ On 1/16/07, Lasse Koskela [EMAIL PROTECTED] wrote: Hi, I'm in the process of figuring out whether I can get one of the surefire-and-junit4 patches working and found out that a

Re: Compiling without javac

2007-01-16 Thread Carlos Sanchez
strange, please file an issue with test project On 1/16/07, Ben Alex [EMAIL PROTECTED] wrote: Hi everyone I can't get maven-compiler-plugin to work with AspectJ or Jikes. I've followed the official directions at http://tinyurl.com/woqoa but always receive: [INFO] No such compiler 'aspectj'.

Re: SCM URL for the maven-surefire-plugin

2007-01-16 Thread Lasse Koskela
...which I noticed just 5 minutes ago to my pleasure. Thanks :) (The URLs were still incorrect, though) Lasse On 1/16/07, Tom Huybrechts [EMAIL PROTECTED] wrote: These patches in MSUREFIRE-31 have already been applied to trunk. http://svn.apache.org/viewvc/maven/surefire/trunk/ On 1/16/07,

How to skip tests during release phase ?

2007-01-16 Thread Alexandre Touret
Hello, I tried to skip the testcases with the property maven.test.skip initialized to true during the release:prepare goal but its not work. Is it possible to skip test phase ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: release:prepare

2007-01-16 Thread Tom Huybrechts
would this help: http://maven.apache.org/plugins/maven-release-plugin/examples/lock-files.html ? On 1/16/07, alexsil [EMAIL PROTECTED] wrote: Ok, you are right, but I think to have exposed bad my problem. I don't want to release a historical version. I want to be sure that while I'm

Re: How to skip tests during release phase ?

2007-01-16 Thread Alexandre Touret
Alexandre Touret wrote: Hello, I tried to skip the testcases with the property maven.test.skip initialized to true during the release:prepare goal but its not work. Is it possible to skip test phase ? I forgot: Thanks in advance :-D Regards, Alexandre

Re: How to create compile dependency to shared j2ee library?

2007-01-16 Thread ChristianEdwardGruber
Hey, We're having the same issue, and the answer given below is actually what we've used. We've broken out the BEA J2EE Weblogic Library archives and individually converted the contained jars into a maven repository structure. I have some nice scripts that i will post eventually. We

assembly:assembly question

2007-01-16 Thread EJ Ciramella
I'm having a bit of trouble with assemblies. The goal here is to run from: /top/pom.xml and have that generate the assembly found in: /top/generic/child/src/main/assembly/dep.xml So I found this link: http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodu

scm ssh

2007-01-16 Thread Rodrigo Gonçalves
hello... i'm having problems with configure my scm in my pom.xml file i access CVS via ssh but there is no methods supported for this, just 'local','lserver', 'pserver', and 'ext'. i'm using windows and i have system variables CVS_RSH=ssh and CVS_EXT=ssh and when i try to do: cvs -z3 -d

Re: site top level page not linking to children correctly

2007-01-16 Thread Dennis Lundberg
[EMAIL PROTECTED] wrote: I think I'm beginning to understand. OK, I have put in a url, I'd already tried that BTW, but I see now that the hyperlinks only work once the site-deploy task has been run (I just deployed to another directory on my disk). Is this correct? I think it works if you

scm ext vs ssh

2007-01-16 Thread Rodrigo Gonçalves
hello... i'm having problems with configure my scm in my pom.xml file i access CVS via ssh but there is no scm methods supported for this, just 'local','lserver', 'pserver', and 'ext'. i'm using windows and i have system variables CVS_RSH=ssh and CVS_EXT=ssh and when i try to do: cvs -z3 -d

New Maven 2 repos for Eclipse and SUN jars?

2007-01-16 Thread Raymond Feng
Hi, When I browse the http://repo1.maven.org today, I found there are two repos: http://repo1.maven.org/eclipse (Containing eclipse jars) http://repo1.maven.org/maven-java.net/ (Containing javax and com.ibm.sun jars) Are these new repos that we can reference for Eclipse and Sun artifacts? Does

Is there a way to control the order of repositories?

2007-01-16 Thread Raymond Feng
Hi, We use multiple maven repos in the build. Is there a way to control the order of the repositories to be searched for artifacts? In some cases, an arifact is published to both maven1 and maven2 repos and we prefer to use the one from the maven2 repo. Thanks, Raymond

Re: Compiling without javac

2007-01-16 Thread Ben Alex
Carlos Sanchez wrote: strange, please file an issue with test project I have figured it out. The instructions (http://tinyurl.com/woqoa) state 1.5.3 is the version for plexus-compiler-*. There is no 1.5.3 for plexus-compiler-aspectj or plexus-compiler-jikes. So I used 1.3, which there is (under

Maven proxy: java.lang.IllegalStateException: Committed

2007-01-16 Thread Don Steffy
Hi everyone. We had a seemingly random CruiseControl build failure today. When I investigated, it appeared to have been caused by a fleeting error on our local maven proxy server. Here's the snippet from maven-proxy.log: 2007-01-16 14:16:56,113 [INFO ] proxy.servlets.RepositoryServlet -

[m2] how to omit log.* from cobertura report?

2007-01-16 Thread Mick Knutson
Here is my declaration: and I still get log.* as untested in my reports: 32 0 log.debug(org.delta.provider.npi.service.impl.ProviderHistoryDAOImpl#getProviderHistoryByProviderIdentifier(long, int)); plugin groupIdorg.codehaus.mojo/groupId

RE: Maven proxy: java.lang.IllegalStateException: Committed

2007-01-16 Thread Don Steffy
I just discovered a potentially important piece of information regarding the IllegalStateException I saw on our maven-proxy server earlier today. The jar in question did not have an associated pom file, meaning it was probably originally uploaded manually uploaded by one of our developers, not

Re: New Maven 2 repos for Eclipse and SUN jars?

2007-01-16 Thread Carlos Sanchez
On 1/16/07, Raymond Feng [EMAIL PROTECTED] wrote: Hi, When I browse the http://repo1.maven.org today, I found there are two repos: http://repo1.maven.org/eclipse (Containing eclipse jars) this is a test repo for eclipse bundles, you can use it for testing

Missing activation artifact?

2007-01-16 Thread Wendell Beckwith
I saw a message from the list where someone on 12/06/2006 (IIRC) had the same problem as below while building archiva. Can someone shed some light on why maven is barfing? I do have the javax.activation:activation jar, version 1.0.2, installed in the local repository. [INFO] Building Archiva

About create maven reports with chinese .

2007-01-16 Thread fy
I want create maven reports with chinese,what I to do? -- View this message in context: http://www.nabble.com/About-create-maven-reports-with-chinese-.-tf3024710s177.html#a8402755 Sent from the Maven - Users mailing list archive at Nabble.com.

How to make plugin see the full (project plugin) classpath?

2007-01-16 Thread Lasse Koskela
Hi, I'm developing a Maven 2 plugin and I'm having trouble making my plugin see the necessary libraries etc. in its classpath. What I need is: 1) the plugin itself and all of its dependencies 2) the compilation classpath and all dependencies for the project that's using the plugin It seems

Re: Apacheds and Maven

2007-01-16 Thread Maria Odea Ching
Hi Joseph, It means that your project dependency (maven-directory-plugin) does not exist in your local repo and when maven tried to download it from the central repo, it couldn't also find it there. You could try to build the dependency from source and install it in you local repo using

Re: Skip downloading javadoc and java sources

2007-01-16 Thread Maria Odea Ching
Hi Rajiv, Maybe the 'downloadSources' parameter in the eclipse plugin configuration in your pom is set to true. If not, try using this command instead 'mvn eclipse:eclipse -DdownloadSources=false'. Anyway, the default is that the sources shouldn't be downloaded when you do not set the

Re: [m2] Multple executions of the same plugin at the same life cycle phase

2007-01-16 Thread dawn.angelito
AFAIK, this is already fixed in version 2.0.5. What version of Maven are you using? Dawn maik.ebert wrote: Hello, if have multple executions of the same plugin at the same life cycle phase in my pom.xml. If have ordered them in the order I want to them to execute, but sometimes this

Re: Apacheds and Maven

2007-01-16 Thread allan ramirez
Is your maven newly installed? If it is try to append -U on your maven command. -allan On 1/17/07, Maria Odea Ching [EMAIL PROTECTED] wrote: Hi Joseph, It means that your project dependency (maven-directory-plugin) does not exist in your local repo and when maven tried to download it from

Re: Eclipse throwed the error when runed compile

2007-01-16 Thread jiangshachina
Hello, May the plugin isn't compatible with Eclipse 3.2.1. In my mind, org.maven.ide.eclipse:0.0.9 has been released for a long time. a cup of Java, cheers! Sha Jiang fy wrote: Hi, My project develope with Eclipse:3.2.1 , maven:2.0.4 and org.maven.ide.eclipse:0.0.9. Eclipse throwed the

Re: How to make plugin see the full (project plugin) classpath?

2007-01-16 Thread allan ramirez
Have you tried using ${plugin.artifacts} expression? -allan On 1/17/07, Lasse Koskela [EMAIL PROTECTED] wrote: Hi, I'm developing a Maven 2 plugin and I'm having trouble making my plugin see the necessary libraries etc. in its classpath. What I need is: 1) the plugin itself and all of its

org.apache.maven.plugins:maven-site-plugin' does not exist

2007-01-16 Thread yuubouna
I am setting up a multiple module using Maven 2. then when executing mvn:package - to install the artifact (JAR File) in local Maven repo I recieved the following error in console: [INFO] [ERROR] BUILD ERROR [INFO]

Re: org.apache.maven.plugins:maven-site-plugin' does not exist

2007-01-16 Thread allan ramirez
If your maven is newly installed then append -U in your command, but if not, try to remove your local repository if it is not a problem to you and let maven redownload your artifacts. -allan On 1/17/07, yuubouna [EMAIL PROTECTED] wrote: I am setting up a multiple module using Maven 2. then

Re: org.apache.maven.plugins:maven-site-plugin' does not exist

2007-01-16 Thread yuubouna
yuubouna wrote: I am setting up a multiple module using Maven 2. then when executing mvn:package - to install the artifact (JAR File) in local Maven repo I recieved the following error in console: [INFO] [ERROR]

RE: [M1] cobertura-1.8 java.lang.NoClassDefFoundError

2007-01-16 Thread Srilakshmanan, Lakshman
Hi Jeff Arnaud Sorry for my silence, but I have been trying to narrow down the problem to provide a small project. I have now narrowed down the problem and I will try and explain it below. If you believe you prefer a small project, I will be more than happy to provide one. 1) Common-1.0.jar

Getting the mojo runtime base directory path

2007-01-16 Thread Ole Ersoy
Hi, Anyone know what the best way of getting the base path for a mojo runtime root directory? I could do it like this: new File().getAbsolutePath() but I'm sure there's a more elegant approach. Thanks, - Ole

Re: Is there a way to control the order of repositories?

2007-01-16 Thread allan ramirez
I dont think there is a way to control the order of the repositories. But anyone can correct me if Im wrong. -allan On 1/17/07, Raymond Feng [EMAIL PROTECTED] wrote: Hi, We use multiple maven repos in the build. Is there a way to control the order of the repositories to be searched for

Re: org.apache.maven.plugins:maven-site-plugin' does not exist

2007-01-16 Thread yuubouna
got it! my m2 repo is broken, I replaced it with new repo. old repo: .m2 repository_ - just to disregard the old repo new repo .m2 repository then even without writting the build in pom.xml attribute in dependency it will work. ;-) -- View this message in context:

Re: Skip downloading javadoc and java sources

2007-01-16 Thread nicolas de loof
Also take a look at your $HOME/.m2/setting.xml If you have a property downloadSourcestrue/downloadSources this will have the same effect. 2007/1/17, Maria Odea Ching [EMAIL PROTECTED]: Hi Rajiv, Maybe the 'downloadSources' parameter in the eclipse plugin configuration in your pom is set to

Re: How to make plugin see the full (project plugin) classpath?

2007-01-16 Thread franz see
Good day, For more information about Maven Properties, please see [1]. Cheers, Franz [1] http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide allan ramirez wrote: Have you tried using ${plugin.artifacts} expression? -allan On 1/17/07, Lasse Koskela [EMAIL PROTECTED]