Release Plugin configuration

2006-11-21 Thread Timo Wolf
Hi All, The release plugin creates jar files with the source code and with the javadoc of the project. How can I configure the plugin so that it will not produce the source and javadoc jar file. Thanks Timo - To unsubscri

Re: Compiler Plugin Extension

2006-11-21 Thread Markus Wolf
Hi, > You can always add dependencies directly to the plugin node, but this > assumes that you have the artifacts available in your repo. > thats no opinion, because there are no artifacts available (but I could possibly create some...) > You're going to need to provide more information about th

RE: Don't add dependency?

2006-11-21 Thread Jörg Schaible
jiangshachina wrote on Wednesday, November 22, 2006 2:38 AM: > Hi guys, > I found the key. > > In management-1.0.pom, I excludes jta from hibernate dependency. > At beginning, I didn't use jta-1.0.1B, but j2ee-1.4.jar, because > jta-1.0.1B.jar isn't at central repository. > But jta is transitive

Re: Assembly: Export jar dependency list to xml file

2006-11-21 Thread Timo Wolf
Hi Brian, Thanks for the link. I will add the request as an comment to the issue. Thanks Timo On Nov 17, 2006, at 5:39 PM, Brian E. Fox wrote: There is a similar feature request in jira for the dependency plugin. It currently would write out a string, but it would seem to be a relatively

Re: Internal problem with version number?

2006-11-21 Thread Emmanuel Venisse
You can't add a multi-module project from a repository because continuum calculate the download path of module from the parent url. You need to provide a pom.xml file in the url field and you must use an url that respect the directory structure of your poms. If you have a http interface on your

Re: Pulling jars into local repository

2006-11-21 Thread Steinar Bang
> Steinar Bang <[EMAIL PROTECTED]>: > "Tom Huybrechts" <[EMAIL PROTECTED]>: >> On 11/10/06, Steinar Bang <[EMAIL PROTECTED]> wrote: >>> Now, I need to find out if I can make maven pull in the eclipse >>> bundles neccessary for the runtime, as well. This would avoid this >>> as a copying

Re: Classpath

2006-11-21 Thread Wendy Smoak
On 11/20/06, Deluigi Marcus <[EMAIL PROTECTED]> wrote: It seems like a stupid question, but how do I let maven print the actual class path within a specific module? I did not find any information about this anywhere. If you add -X to the command line: mvn install -X it will print out more t

Buiding a simple plugin :(

2006-11-21 Thread Emmanuel Hugonnet
Hi, I am trying to build a simple report building. My first error was to use jdk 1.5 enumerations. Thanks to Andrew Williams, it all seems to come from some bad dependency on jdox, and I tried to set it to the correct 1.6.1 version. But my dependecy was not taken into account during the build

Re: QDox, Maven Plugin and JDK 1.5

2006-11-21 Thread Emmanuel Hugonnet
Andrew Williams a écrit : I recommend 1.6.1, as 1.6 depends on Java5 by mistake Emmanuel Hugonnet wrote: zze- HUGONNET E ext RD-BIZZ a écrit : Hi, Is there some way to specify where is the MOJO so that Qdox doesn't parse my JDK1.5 classes ? Thanks Emmanuel --

Classpath

2006-11-21 Thread Deluigi Marcus
Hi It seems like a stupid question, but how do I let maven print the actual class path within a specific module? I did not find any information about this anywhere. Thanks! Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Re: Pulling jars into local repository

2006-11-21 Thread Brian E. Fox
The copy mojo doesn't care about the scope because it will copy the artifacts listed in the artifactItems element. The scope is used by copy-dependencies to decide which ones from the project need to be copied since it starts from the entire dependency element. If you don't specify a scope, it will

Changes plugin and TestTrack pro

2006-11-21 Thread JC Walmetz
It looks like changes plugin is able to get information from JIRA. I'd like to include the same kind of features for TTPro in my site. Did someone try to connect a kind of changes report plugins with TestTrack pro ? -- View this message in context: http://www.nabble.com/Changes-plugin-and-Test

Re: release:prepare without user intervention

2006-11-21 Thread Dan Tran
you can pass additional JVM param ( ie. -Dkey=value). Check out release:prepare plugin doc for a list of configurable confugurations. On 11/20/06, Lara Brian <[EMAIL PROTECTED]> wrote: Hi Dan, Thanks for the reply. It worked. But is it possible to do the same but get the values it uses for P

Re: Error adding a M2 project

2006-11-21 Thread David Leangen
Yeah, I realize that... I guess I was wondering if it's possible to configure Continuum. The run.sh doesn't seem to take parameters. So I guess I'll have to modify the run.sh script. Thanks for the help! On Mon, 2006-11-20 at 10:01 +0100, Emmanuel Venisse wrote: > You can change the tmp dir

Re: Internal problem with version number?

2006-11-21 Thread David Leangen
Thank you for the quick reply! Mail sent privately for POM content. I'm using version 1.0.3. Cheers, Dave On Mon, 2006-11-20 at 09:59 +0100, Emmanuel Venisse wrote: > I've nevever seen this pb. > > What is your continuum version? > > Send your poms. > > Emmanuel > > David Leangen a écr

Re: release:prepare without user intervention

2006-11-21 Thread Lara Brian
Hi Dan, Thanks for the reply. It worked. But is it possible to do the same but get the values it uses for POM, SCM Tag, and Release artifact name from some properties file or something instead of it giving its default values? Thanks __

Re: Forced builds

2006-11-21 Thread Christian Edward Gruber
Complex projects with lots of external dependencies, particularly dependencies on external snapshot versions of code. Also, we run a nightly integration test against external systems (we only run Unit tests on the normal non-forced build, or they'd take too long), and changes in the underlying dat

Re: Why don't need maven-scm-plugin and password?

2006-11-21 Thread jiangshachina
Hi, I think that's right. Thanks very much! a cup of Java, cheers! Sha Jiang Gisbert Amm-3 wrote: > > jiangshachina wrote: >> Hi guys, >> I set scm(CVS) connection in pom.xml >> >> >> scm:cvs:pserver:[EMAIL PROTECTED]:port:repository:module >> >> >> then I run mvn sc

set -source 1.5?

2006-11-21 Thread jiangshachina
Hi guys, My project uses JDK1.5.0, and its new features(e.g. Annotation). I have set following scripts in pom.xml org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 but when I run "mvn compile", Maven reposted -resouce 1.4 do

Re: m2 noobie probems with apache repository

2006-11-21 Thread Mark Nicholson
Many thanks - but alas my problem persists I'm not sure if its related, but that repo url should be: http://www.ibiblio.org/maven2 There's no trailing /maven. Wayne On 11/20/06, Mark Nicholson <[EMAIL PROTECTED]> wrote: > Hi - this was all working great guns but all of a sudden no-longer >

RE: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-21 Thread Peter . Pilgrim
> -Original Message- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: 16 November 2006 19:37 > To: Maven Users List > Subject: Re: [M2] Howto Set Up Quickly an Offline Internal Repository? > > They aren't shell scripts, actually... they're Ant scripts. > ==== I have written my ow

Re: m2 noobie probems with apache repository

2006-11-21 Thread Wendy Smoak
On 11/20/06, Mark Nicholson <[EMAIL PROTECTED]> wrote: Ibiblio Ibiblio http://www.ibiblio.org/maven2/maven You don't need this one. The central repository is included by default. (And he URL doesn't look right anyway.) Apache Apache

Re: Forced builds

2006-11-21 Thread Tomislav Stojcevich
This would be useful if you are reverse engineering the database and there is a database change. No cvs change but a table got modified. -- tom

Re: Loading a POM from the Respository

2006-11-21 Thread Neeraj Bisht
Realy what you want to say is not clear ...? On 11/21/06, Ole Ersoy <[EMAIL PROTECTED]> wrote: Hi, I need to to create a path string representing a location of a pom in the local maven repository on Linux. What is the best way of going about this? One thought I had was to just get the USER

Re: Maven help plugin

2006-11-21 Thread Eric Redmond
-Dfull http://maven.apache.org/plugins/maven-help-plugin/describe-mojo.html Eric On 11/21/06, Trevor Torrez <[EMAIL PROTECTED]> wrote: Is there a way to get the help plugin to cough up the goals that a plugin supports? - To

Re: Maven cyclic dependecy issue

2006-11-21 Thread Eric Redmond
On 11/21/06, Christian Goetze <[EMAIL PROTECTED]> wrote: Wayne Fay wrote: > Its a chicken and egg problem. > > If you don't hard-code parent version in child = which parent version > should I use? Keep in mind the /parent/module layout in the filesystem > (with relativePath) is not an absolute

execute project

2006-11-21 Thread tohid noroozi
i am using maven2 and have successfull in build my project. after the compile , i want to run my project by maven , but i dont know what i have to do . i search the internet and can't find any useful help . my project is desktop application . and i want to maven run it . can any body help me ?

m2 noobie probems with apache repository

2006-11-21 Thread Mark Nicholson
Hi - this was all working great guns but all of a sudden no-longer I'd set up the following pom dependancy - : Ibiblio Ibiblio http://www.ibiblio.org/maven2/maven Apache Apache http://people.apache.org/repo/m2-snapshot-repositor

Re: release:prepare without user intervention

2006-11-21 Thread Dan Tran
add your wish into this issue http://jira.codehaus.org/browse/MRELEASE-100 ;-) On 11/20/06, Lara Brian <[EMAIL PROTECTED]> wrote: Hi Dan, Thanks for the reply. I tried searching for the plug-in doc for the list of configurable parameters and found this http://maven.apache.org/plugins/maven-

Re : Re : Re : Generate source code with a JavaCC parser.

2006-11-21 Thread Julien HENRY
Hi Chris, I have another issues with this configuration (Exec plugin + Empty Ant Task)). First, Javadoc is not generated for the generated class. It is when I call mvn javadoc:javadoc, but not with mvn site. Perhaps because I'm using aggregate=true. Second issue is I add the module containing

Re: APT: Images and links

2006-11-21 Thread Wim Deblauwe
I want this too. Is there already support for this? regards, Wim 2006/6/2, Erhard Schultchen <[EMAIL PROTECTED]>: Hi, I noticed that with APT, the following constructs are supported: {{}} for hyperlinks, [] to place images in the generated site. Is there some way to combine those, like putt

Re: Getting changelog-plugin to Generate 'change.xml' File

2006-11-21 Thread Emmanuel Hugonnet
Brad Harper a écrit : Hello: Has there been any attempt to link the change-log plugin with the changes-plugin via the 'changes.xml' document format. We're considering adding some sort of mark-up to the SCM commit log messages to identify issue ids and differentiate between additions, fixes, etc

RE: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-21 Thread Peter . Pilgrim
Hi With my local to remote M2 Repo converter tool I hit a crunch. I am trying to figure why the maven is going to the internet, even though the maven-metadata.xml is set correctly. Is there another tag paremeter in maven-metadata.xml that I am missing? I do have all the POM/JARs for jetty and

RE: Archive Repository

2006-11-21 Thread Mohni, Daniel
Hello Peter I did nothing with the frontend, I just submitted a documentation on how to setup repositories, I didn't try the latest builds from yesterday, just updated the source repo -> svn update your setup looks correct, as you can browse the repository maven should see it. what you can try i

Re: Using the assembly plugin to build a stand-alone application

2006-11-21 Thread pjungwir
Hi Larry, I believe the descriptorId is required. You must also reference assembly.xml from your POM by giving the assembly plugin a configuration like this: assembly.xml But the "4 files" result is correct, I think. What's in them? The jar should contain only your current project's c

Re: Don't add dependency?

2006-11-21 Thread jiangshachina
Hi, I have four tests just now. [1]I added following artifact to dependency asm asm 1.5.3 then run "mvn package", asm-1.5.3.jar was in WEB-INF/lib [2]I added following scripts to pom.xml javax.transaction jta 15 obviously, there isn't jta-15.jar

RE: Re: Pulling jars into local repository

2006-11-21 Thread Brian E. Fox
ExcludeScope is only available in the 2.0 version, which is snapshot currently and moved to apache. (http://maven.apache.org/plugins/maven-dependency-plugin/). A release is pending very soon. To use the new one: org.apache.maven.plugins maven-dependency-plugin 2.0-alpha-1-SNAPSHOT You'll also need

Re: Buiding a simple plugin :(

2006-11-21 Thread Emmanuel Hugonnet
zze- HUGONNET E ext RD-BIZZ a écrit : Hi, I am trying to build a simple report building. My first error was to use jdk 1.5 enumerations. Thanks to Andrew Williams, it all seems to come from some bad dependency on jdox, and I tried to set it to the correct 1.6.1 version. But my dependecy was no

Re: [m2] problem getting latest plugin version to local maven repository

2006-11-21 Thread Tom Huybrechts
How did you deploy your plugin ? Did you use the release plugin ? If you just do a deploy, add -DupdateReleaseInfo=true Tom On 11/21/06, Tom Will <[EMAIL PROTECTED]> wrote: We've got an inhouse mirror of the central repository. We also deploy a company-specific maven-plugin to that inhouse mi

Use of non-standard directory structure

2006-11-21 Thread David Leangen
Hello! It appears that we're using a non-standard directory structure. Due to our hierarchy of projects, we wanted to use short names for our directories, but longer names for the project names. So, our project names do not necessarily have the same value as the directory in which it sits. Beca

Re: excluding/including tests in surefire-plugin in different phases

2006-11-21 Thread Yann Le Du
diroussel, Try adding true in (not in ) and please let me know if it works. I too experienced this behaviour and found it pretty strange. - Yann 2006/11/15, diroussel <[EMAIL PROTECTED]>: Jan, did you find a solution to this? It looks to me that the exclude feature doesn't work, which is

Re: Why don't need maven-scm-plugin and password?

2006-11-21 Thread jiangshachina
Hello, I checked the matter carefully. Then found that all is my fault. In fact, Maven had downloaed maven-scm-plugin, occasionally, I didn't monitor the action at that time. And I have serveral local repositories, and I searched a wrong one. God! a cup of Java, cheers! Sha Jiang jiangshachina

NoClassDefFoundError when using mvn site

2006-11-21 Thread DJP JEAN-PROST Dominique
Hello, I'm trying to to a mvn site. It used to work but it seems I got a new snaphost version of something, and I now get this stacktrace when inoking mvn site : ... [INFO] Cobertura Report generation was successful. [INFO] Generate "JDepend" report. [INFO] Generate "Tag List" report. [INFO] Ge

RE: Error when generating Dependencies report (SNAPSHOT)

2006-11-21 Thread hermod.opstvedt
Hi Somebody has made a dependency to the maven sandbox componenet maven-shared in the maven-project-info-reports-plugin. Set the maven-project-info-reports-plugin version to 2.0.1 to circumvate it. Hermod -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, Nov

"Advanced" issues with directory structure

2006-11-21 Thread Jakub Hozak
Greetings I've got some questions about directory structure of the Maven2. I am building a web application with many dependencies and I am not sure how to organize the resources to as maven2-friendly as possible. Where should I put XSL templates XSD schemas I suppose they should fit in src/main

[m2] use case problem

2006-11-21 Thread Remy.Coqueugniot
Hi maven users, I would like to setup a global environment with maven2 for two differents teams: development and integration/support team. The first one would describe their project with a pom.xml and access to the central and other public repositories trough a proxy (proximity) with no restr

Re: Using the assembly plugin to build a stand-alone application

2006-11-21 Thread Larry Meadors
Thanks, Paul - I added that as a file named assembly.xml in the directory with my pom.xml in it. I then added this to my pom (in the build/plugins section): === maven-assembly-plugin 2.0-beta-1 bin

Re: Internal problem with version number?

2006-11-21 Thread David Leangen
> Surely you need to ensure the server SSL certificate has the correct > name in it. Or, configure the sun SSL library to ignore it. I guess > you could google for how to do that. Yes, you're right! Sorry I didn't notice that. However, the URL: https://username:[EMAIL PROTECTED]/... Only g

Re: Maven repositories: metadata vs pom files?

2006-11-21 Thread Wendy Smoak
On 11/20/06, Wayne Fay <[EMAIL PROTECTED]> wrote: This isn't a case of "repo has pom but no jar", instead its the opposite, jar with no pom. So I don't think its an artifact which cannot be redistributed. ;-) Oops. Not quite paying enough attention there. :) -- Wendy

Manage project version with modules

2006-11-21 Thread gbois
Hi, I use Maven 2 and i have a root pom.xml with modules (ear, war, it) I want to manage only one version per project, i.e the version module must be the version of the project (the version declared in the root pom.xml) I my pom.xml, i have myproj-globals myproj 1.0-SNAP

Print customized messages on failure

2006-11-21 Thread Deluigi Marcus
Hi. Is there any method to let Maven print a customized message if a phase fails? I want to give a list with the most common configuration mistakes which lead to JUnit test failures. Greetings, Marcus - To unsubscribe, e-mail:

Re: Generate Script or Batch file

2006-11-21 Thread Mirko Leschikar
Hi Siegfried, Siegfried Goeschl schrieb: > You can also get the classpath using ANT and > maven-artifact-ant-2.0.4-dep.jar and then run your stuff. Thanks for your answer, I will try that. Regards Mirko - To unsubscribe, e-mai

Re: starting, then deploying to JBoss?

2006-11-21 Thread Max Cooper
Two things come to mind: * It looks like you are missing the 'configure' goal for jboss-maven-plugin. * My team has had trouble with the jboss:start and jboss:stop goals on Windows. The Windows users on my team run the following scripts directly to start and stop the jboss instance: target\

Getting changelog-plugin to Generate 'change.xml' File

2006-11-21 Thread Brad Harper
Hello: Has there been any attempt to link the change-log plugin with the changes-plugin via the 'changes.xml' document format. We're considering adding some sort of mark-up to the SCM commit log messages to identify issue ids and differentiate between additions, fixes, etc. [The goal is to yank i

Re: Forced builds

2006-11-21 Thread Emmanuel Venisse
Not yet, why? Emmanuel Morgovsky, Alexander (US - Glen Mills) a écrit : Is it possible to have Continuum force build every n hours even if the code in the source code repository hasn't changed? This message (including any attachments) contains confidential information intended for a specifi

RE: Classpath

2006-11-21 Thread Deluigi Marcus
I tried that within my java project: System.out.println(System.property(..)) Unfortunately, it's not working. All I see is a global classpath which points to a Maven jar. Maven is using a customized classloader, so it's hard to get the module-specific classpath. When using the '-X' switch, the onl

Re: Pulling jars into local repository

2006-11-21 Thread Steinar Bang
> "Brian E. Fox" <[EMAIL PROTECTED]>: > The copy mojo doesn't care about the scope because it will copy the > artifacts listed in the artifactItems element. The scope is used by > copy-dependencies to decide which ones from the project need to be > copied since it starts from the entire depend

RE: Forced builds

2006-11-21 Thread Morgovsky, Alexander \(US - Glen Mills\)
Well, if dependencies change but the pom.xml's do not change, we would need to do a new build, like if a version of some dependency stays the same but the artifact changes at the Maven repository. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Monday, November 20, 2

RE: Forced builds

2006-11-21 Thread Morgovsky, Alexander \(US - Glen Mills\)
Well, for example, if a Maven dependency changes on the Maven repository but the version stays the same, the pom.xml will not change, but we will need to rebuild to get the new dependency into the build. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: Forced builds

2006-11-21 Thread Wayne Fay
No changes in code == no reason to build, right? I don't see the usefulness of this enhancement, personally... Unless of course some PHB has laid down a "build all projects every 3 hrs" kind of mandate in your organization. Wayne On 11/20/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: Not yet,

Re: Error when generating Dependencies report (SNAPSHOT)

2006-11-21 Thread Wendy Smoak
On 11/21/06, Julien HENRY <[EMAIL PROTECTED]> wrote: This morning, I try to generate my project site and it failed. Yesterday it works... Any idea? [ERROR] FATAL ERROR [INFO] [INFO] org/apache/maven/shared/jar/Jar [INFO]

Instrument code for integration test with Cobertura and Cargo

2006-11-21 Thread gbois
Hi, I use Maven 2 with Cargo and Corbertura (for the moment). I want a dashboard on code coverage for my intergration test (my integration test is selenium test). I have bind my integration test to the test phase. My code is org.codehaus.cargo cargo-maven2-plugin 0.3-SN

RE: mevenide vs. m2eclipse?

2006-11-21 Thread McNaught, Duncan
Are there instructions for compiling the latest m2eclipse code from trunk and providing a private update site? I've created a maven-embedder with the fix I would like in the plugin, and I don't know how to create the plugin with it in? org.maven.ide.eclipse\notes.txt seems to be missing information

Re: Specialized test / deploy preparation (RESOLVED)

2006-11-21 Thread Trevor Torrez
nevermind -- using the maven dependency plugin and instructions from http://docs.codehaus.org/display/MAVENUSER/Maven+and+Selenium got me where i needed to go. On 11/20/06, Trevor Torrez <[EMAIL PROTECTED]> wrote: Hi again; In part of our framework we are using BIRT (Business Intelligence Rep

Re: Maven cyclic dependecy issue

2006-11-21 Thread Los Morales
Thanks for the reply. Well... My most (if not all) of my subprojects will be on the same version. Since I currently have about a dozen sub projects (and there will be more), I hate to go into each sub project and change the version number in the POM. I would rather change it in one place and

Re: Apply license to all java files?

2006-11-21 Thread Wim Deblauwe
Thank you for the pointer to the intellij plugin. It is what I needed! regards, Wim 2006/11/21, Wayne Fay <[EMAIL PROTECTED]>: This was recently under discussion on the Maven Dev list -- the subject is "Plugin license injection". A plugin might be in the works (unsure) but they also suggested

Re: Loading a POM from the Respository

2006-11-21 Thread Ole Ersoy
Wow, Tom - It certainly looks like you hit the nail right on the head there. Terrific. Would you by chance happen to know how I go about configuring the project lifecycle to support a a different artifact type as well? I'm writing a mojo for the JPackage project, and creating a corresponding ar

Re: Don't add dependency?

2006-11-21 Thread jiangshachina
Hi, I'm sorry that I didin't represent myself clearly. I have installed jta by manual, and jta-1.0.1B.jar is in my local repository now. If the jar file isn't existent, my build would be failed. a cup of Java, cheers! Sha Jiang Bengt-Erik Fröberg-2 wrote: > > Hi > > Check out this, it should

Re: Maven cyclic dependecy issue

2006-11-21 Thread Eric Redmond
I see what you are trying to do... but why? If you do not define a child project's version, it automatically inherits from its parent. Just take ${main.version} out. On 11/21/06, Los Morales <[EMAIL PROTECTED]> wrote: Hi, I'm a bit frustrated on how Maven cycles through its dependency. Curren

Re: Using the assembly plugin to build a stand-alone application

2006-11-21 Thread pjungwir
Hi Larry, I'm doing this, too. I think you'll need to create your own assembly descriptor. Here is mine: bin tar.gz zip target *.jar target/scripts

Re: Apply license to all java files?

2006-11-21 Thread Lee Meador
Jalopy will do this. It allows searching each Java file for a header using some query string you define. If not there, it adds a header of your choosing to the file. It will also do the same thing with a trailer, at the end of the file. Jalopy will also reformat the files, indenting and such. It

Re: Don't add dependency?

2006-11-21 Thread jiangshachina
Hi Dawn, Thanks for your reply. I have three POM files, and all of them are very simply. I show the snippets of them. managment-1.0.pom just includes dependency management. 4.0.0 mygroup management pom 1.0 javax.transaction

Re: [m2] problem getting latest plugin version to local maven repository

2006-11-21 Thread Eric Redmond
Just as an idea, try going to the user account that you build under's .m2 directory (${user.dir}/.m2) and delete the plugin-registry.xml file, and re-run. It might be causing you some problems. Eric On 11/20/06, Thomas Will <[EMAIL PROTECTED]> wrote: We've got an inhouse mirror of the central

Maven repositories: metadata vs pom files?

2006-11-21 Thread Victor Okunev
Hello, Does Maven2 need a pom file in repository to download a jar from there? After examining the repositories' contents it seems that some jars are provided with both pom and metadata files while others only contain metadata files. Specifically, if I have this dependency in my project: com.s

Apply license to all java files?

2006-11-21 Thread Wim Deblauwe
Hi, does anybody know of a Maven plugin (or some other tool) that makes sure the approperiate header for a certain license is present in every java file? I could ofcourse manually add the notice to every file, but this seems like such a common thing that somebody must have made something already.

Forced builds

2006-11-21 Thread Morgovsky, Alexander \(US - Glen Mills\)
Is it possible to have Continuum force build every n hours even if the code in the source code repository hasn't changed? This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the inte

Don't add dependency?

2006-11-21 Thread jiangshachina
Hi guys, I have a Web application project. I added javax.transaction:jta:jta-1.0.1B.jar to dependency, but in fact my project doesn't need the jar. Namely, I don't need it on compile-time, test-time or runtime. I run "mvn package", and the build was sucessful. I checked WEB-INF/lib directory, but

RE: Error when generating Dependencies report (SNAPSHOT)

2006-11-21 Thread hermod.opstvedt
Hi I have looked into this, and it seems that somebody has deleted (or it was never there) the org.apache.maven.shared.jar.Jar.java class from subversion, meaning that the maven-shared.jar file does not have this class. Hence the error. Hermod -Original Message- From: [EMAIL PROTECTED

Re: generating site from parent

2006-11-21 Thread Wayne Fay
This is discussed a couple times every week. Please search this list for "parent site" or just check out this recent thread: from Morgovsky, Alexander (US - Glen Mills) to users@maven.apache.org date Nov 9, 2006 4:03 PM subject Aggregate site generation Wayne On 11/21/06, Christian Goetze

Re: Classpath

2006-11-21 Thread Eric Redmond
Try something like this in your POM (or external profiles.xml file... which would probably be better) maven-antrun-plugin run compile run test java.class.path=${java.class.path} CLASSPATH=${en

Update Documentation on Integration Test Resources

2006-11-21 Thread Tony Truong
Hi guys, I would just like to inform you guys that your documentation does not talk about the directory src/it/resources being the test resources for integration tests. Can this be updated please? Tony -- View this message in context: http://www.nabble.com/Update-Documentation-on-Integration-T

RE: was5-plugin for Maven2: documentation?

2006-11-21 Thread hermod.opstvedt
Hi If you get the source from subversion, and then run "mvn site" on it, you will get the documentation for it. This includes examples of how to use it. Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Marco Ponzi Sent: Tuesday, November 21, 2006 2:2

Re: release:prepare without user intervention

2006-11-21 Thread Lara Brian
Hi Dan, Thanks a lot for the info. - Sponsored Link Mortgage rates near 39yr lows. $310,000 Mortgage for $999/mo - Calculate new house payment

Creating a web project from a custom archetype

2006-11-21 Thread Anthony Ryan
Hi all, I've recently created an archetype for web projects and it seemed to install correctly (due mainly to the help of this user group!). Now I would like to test it by trying to create a project from it. I am trying to use the command below to do this: C:\New Folder>mvn archetype:create -D

[m2] problem getting latest plugin version to local maven repository

2006-11-21 Thread Thomas Will
We've got an inhouse mirror of the central repository (MyCompanyCentral). We also publish a company-specific maven-plugin to that same repository. We face the problem that the latest version of our plugin is not downloaded to the local maven repository, if there is already an old version, even not

Re: Don't add dependency?

2006-11-21 Thread Bengt-Erik Fröberg
Hi Check out this, it should be the reason jta isn't added you have to install it manually! http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html Greetings, 2006/11/21, jiangshachina <[EMAIL PROTECTED]>: Hi guys, I have a Web application project. I added javax.transaction

starting, then deploying to JBoss?

2006-11-21 Thread Mick Knutson
I am wanting to start JBoss the deploy my ear and I can't seem to get a connection: org.codehaus.mojo jboss-maven-plugin 1.0 package

Re: Classpath

2006-11-21 Thread Barrie Treloar
On 11/21/06, Deluigi Marcus <[EMAIL PROTECTED]> wrote: We ported an existing project from ant to maven and it seems as if the classpath of one module is different to the classpath to the parent modules which causes the junit tests to fail in the parent modules. Since the junit tests fail, it is

Java CodeModel

2006-11-21 Thread Aleksei Valikov
Hi. For all you code generators, there's a new open source project CodeModel available on dev.java.net: https://codemodel.dev.java.net The CodeModel allows you generate lexically correct Java code as Java objects which can be afterwords written to disk as Java or resource files. The CodeMo

Maven help plugin

2006-11-21 Thread Trevor Torrez
Is there a way to get the help plugin to cough up the goals that a plugin supports? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using the assembly plugin to build a stand-alone application

2006-11-21 Thread Barrie Treloar
On 11/21/06, Larry Meadors <[EMAIL PROTECTED]> wrote: Hi, I am using maven for the first time, so I apologize if this is a retarded question, but I can't find it anywhere in the docs. I have an app that is a command line app. I want to create an assembly that has my jar, along with the other jar

Re: Loading a POM from the Respository

2006-11-21 Thread Ole Ersoy
Terrific - I think I finally have all my puzzle pieces lined up now. Thanks again, - Ole --- Tom Huybrechts <[EMAIL PROTECTED]> wrote: > Read 'specifying a new packaging' in the > 'Introduction to the lifecycle' > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html >

Re: Compiler Plugin Extension

2006-11-21 Thread Wayne Fay
You can always add dependencies directly to the plugin node, but this assumes that you have the artifacts available in your repo. You're going to need to provide more information about these external jars, I think, for us to help you much. Wayne On 11/21/06, Markus Wolf <[EMAIL PROTECTED]> wrot

Re: Maven release plugin question

2006-11-21 Thread Dan Tran
yes, your artifact version must be SNAPSHOT, however your dependencies can not be SNAPSHOT. -D On 11/20/06, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]> wrote: Is it required to have "SNAPSHOT" in the version number of the Maven project in order to use the Maven release plugin w

RE: Getting changelog-plugin to Generate 'change.xml' File

2006-11-21 Thread Brad Harper
> -Original Message- > From: Emmanuel Hugonnet [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 21, 2006 3:50 AM > To: Maven Users List > Subject: Re: Getting changelog-plugin to Generate 'change.xml' File > > > Brad Harper a écrit : > > Hello: > > > > Has there been any attempt to lin

Re : Re : Re : Re : Generate source code with a JavaCC parser.

2006-11-21 Thread Julien HENRY
It's ok, I think I got it thanks to plugin dependency. Just have to fix the problem with aggregated Javadoc... FYI, the interesting part of my pom : maven-antrun-plugin generate-sources

generating site from parent

2006-11-21 Thread Christian Goetze
How come generating the site from the parent project does not result in a collection of all the sites of all the sub-projects? Is there no aggregate site, or what is the magic XML for that? TIA -- cg - To unsubscribe, e-mail:

Re: Maven cyclic dependecy issue

2006-11-21 Thread Christian Goetze
Eric Redmond wrote: I see what you are trying to do... but why? If you do not define a child project's version, it automatically inherits from its parent. Just take ${main.version} out. The trouble is that you need a -reference- to the parent's version in the children, and that reference does

Re: What's the easiest way to deploy an existing project to a different server?

2006-11-21 Thread Josh Long
THATS IT?? good news. Thanks again, Tom. Forgive my novice question. Josh On 11/18/06, Tom Huybrechts <[EMAIL PROTECTED]> wrote: Use an alternate deployment repository: mvn deploy -DaltDeploymentRepository=myrepo::default::myurl See http://maven.apache.org/plugins/maven-deploy-plugin/deploy-m

Generate Script or Batch file

2006-11-21 Thread Mirko Leschikar
Hi, I am evaluating maven2 to replace our mixture of a custom build tool and ant files. Therefore I have a couple of questions which I could answer by reading manuals and mailing lists posts. We have used a few scripts and batch files (for Windows) to call certain main classes in our project. In

  1   2   >