Re: maven and jalopy plugin
"Stephen More" <[EMAIL PROTECTED]> writes: > On 10/10/06, Raphaël Piéroni <[EMAIL PROTECTED]> wrote: >> Found in the snapshot repository >> http://snapshots.repository.codehaus.org/org/codehaus/mojo/jalopy-maven-plugin/ >> >> Raphaël > > > How or why is that different than > http://repo1.maven.org/maven2/jalopy/jalopy/ ? > That is the jalopy library/program, not the maven plugin. -- OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr. \web> http://www.oqube.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how do i disable the sunconvention check with checkstyle?
Hello Rolf You have to place the element directly inside the element. Further pay attention that your plugin element is defined inside "build/pluginManagement/plugins", else (if it is defined inside "build/plugins") checkstyle will be executed on phase "verify" (directly before phase "install") one more time. Due to issue http://jira.codehaus.org/browse/MNG-1931 config made in pluginManagement will not be directly reused in element . You have to copy your configuration for site generation! At best you use (checkstyle.config.location and so only) to config the checkstyle-plugin without adding a section. For an example have a look at http://svn.sourceforge.net/viewvc/el4j/trunk/el4j/pom.xml?view=markup Cheers, Martin > -Original Message- > From: Rolf Strijdhorst [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 10. Oktober 2006 16:21 > To: Maven Users List > Subject: how do i disable the sunconvention check with checkstyle? > > Hi I have a custom configuration. > But both the sun conventions are checked as well as my own. > I don't need the sun conventions > > btw the build needs to fail on violations so I added the check goal. > here is the part of the config: > > > > org.apache.maven.plugins > maven-checkstyle-plugin > > > basisregistratie styles release 1 > process-sources > > > br_styles_release1.xml > > > suppressions.xml > > true > > > check > > > > > thanx > Rolf > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Getting started with archiva ... still
Emmanuel Venisse wrote: >>> Now I'm trying to start archiva as per "Getting Started" from the >>> generated site. I have unpacked the plexus package, started the >>> bin/plexus.sh and get the following error when I access the front page: >>> >>> WARNUNG: /: >>> Unable to find a javac compiler; >>> com.sun.tools.javac.Main is not on the classpath. >>> Perhaps JAVA_HOME does not point to the JDK >>> >>> I have taken a brief look at the plexus.sh and verified that the >>> variable TOOLS_JAR is setup correctly. Now I'm stuck. >> >> How would I proceed from here? What do I have to to in order to make >> plexus/archiva find my tools.jar? > > You need to add tools.jar in the classpath in plexus.sh. > File an issue about it and we'll add it later in plexus.sh generation Indeed, if I patch plexus.sh to have tools.jar on the classpath that's plassed to the java command everything works as expected. See http://jira.codehaus.org/browse/MRM-209 -dirk -- A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
command line options to mvn
Is there an environment variable that can be used to pass options to mvn? I have found $MAVEN_OPTS, but it appears that any options specified there are passed straight through to java. That is no doubt handy, but I'd also like one for maven itself. I tried $M2_OPTS and $MVN_OPTS, and neither had any effect. thanks, --Marilyn
maven-proxy with https?
Is there any documentation for setting up maven-proxy to use https? ,chris
Re: Eclipse WTP setup
mvn eclipse:eclipse -Dwtpversion=1.0 or mvn eclipse:eclipse -Dwtpversion=r7 On 10/10/06, Bill Manuel <[EMAIL PROTECTED]> wrote: Anyone know the answer to this? I have the same problem. Thanks On 10/10/06, Kev D'Arcy <[EMAIL PROTECTED]> wrote: > > Hi, > > Would anyone have a sample set of Eclipse configuration files > (.classpath mainly) > that is configured for WTP? I have the java/class forlders configured > properly to > match the standard maven file structure, but I'm having problems getting > the web > root folder to be "src/main/webapp" instead of WebContent > > Thanks, > > Kev > > > > > This document is strictly confidential and is intended for use by > the addressee unless otherwise indicated. > > This email has been scanned by an external Email Security System. > > Allied Irish Banks > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Bill Manuel -- -- Dudu GoogleTalk: eduardopichler[at]gmail[dot]com skype:eduardopichler
Re: maven and jalopy plugin
On 10/10/06, Raphaël Piéroni <[EMAIL PROTECTED]> wrote: Found in the snapshot repository http://snapshots.repository.codehaus.org/org/codehaus/mojo/jalopy-maven-plugin/ Raphaël How or why is that different than http://repo1.maven.org/maven2/jalopy/jalopy/ ? -Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m204] Issue with transistive dependancies and Springframework
You have to exclude spring then. On 10/11/06, Mick Knutson <[EMAIL PROTECTED]> wrote: My EAR has spring-2.0.jar spring-[partial lib]-1.2.7 (i.e spring-aop-1.2.7) On 10/10/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > > That's actually wrong. See > > http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html > > You don't use excludes to change the version of a dependency, you have > to explicitly add that dependency in your pom in the version you want. > > "Dependency mediation - this determines what version of a dependency > will be used when multiple versions of an artifact are encountered. > Currently, Maven 2.0 only supports using the "nearest definition" - so > you can always guarantee a version by declaring it explicitly in your > project's POM." > > On 10/11/06, Max Cooper <[EMAIL PROTECTED]> wrote: > > Mick, > > > > I am using Spring 2.0 and Acegi 1.0.2. > > > > Use dependency excludes to suppress the Spring 1.2.7 stuff. > > > > -Max > > > > Mick Knutson wrote: > > > Is anyone else using spring 2.0 and acegi 1.0.2 > > > > > > > > > It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0into > > > my ear. > > > Is this an issue with the spring libs I imported? > > > > > > > > > > > > On 9/18/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > >> > > >> On 9/18/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > > >> > > >> > I am trying to use this: > > >> ... {spring dependencies} ... > > >> > But my war seems to be getting 1.2.7 and 2.0-rc3 jars > > >> > Why? > > >> > > >> Did you upgrade this app to Spring 2? If so, did you 'mvn clean' > > >> after changing the dependency versions? The old ones may have been > > >> left in WEB-INF/lib under 'target'. > > >> > > >> If that's not it, run > > >>mvn package -X > output.txt > > >> > > >> and take a look at the output, which will include an indented tree > > >> view of dependencies. You'll be able to see where each dependency is > > >> coming from, and exclude the ones you don't want. > > >> > > >> You can get two versions of the same library if the groupId has > > >> changed without being "relocated" in the repository. (Didn't Spring > > >> change from 'springframework' to 'org.springframework'?) Maven has > no > > >> way of knowing they are the 'same'. > > >> > > >> HTH, > > >> -- > > >> Wendy > > >> > > >> - > > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > > >> For additional commands, e-mail: [EMAIL PROTECTED] > > >> > > >> > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > I could give you my word as a Spaniard. > No good. I've known too many Spaniards. > -- The Princess Bride > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m204] Issue with transistive dependancies and Springframework
My EAR has spring-2.0.jar spring-[partial lib]-1.2.7 (i.e spring-aop-1.2.7) On 10/10/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: That's actually wrong. See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html You don't use excludes to change the version of a dependency, you have to explicitly add that dependency in your pom in the version you want. "Dependency mediation - this determines what version of a dependency will be used when multiple versions of an artifact are encountered. Currently, Maven 2.0 only supports using the "nearest definition" - so you can always guarantee a version by declaring it explicitly in your project's POM." On 10/11/06, Max Cooper <[EMAIL PROTECTED]> wrote: > Mick, > > I am using Spring 2.0 and Acegi 1.0.2. > > Use dependency excludes to suppress the Spring 1.2.7 stuff. > > -Max > > Mick Knutson wrote: > > Is anyone else using spring 2.0 and acegi 1.0.2 > > > > > > It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0into > > my ear. > > Is this an issue with the spring libs I imported? > > > > > > > > On 9/18/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > >> > >> On 9/18/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > >> > >> > I am trying to use this: > >> ... {spring dependencies} ... > >> > But my war seems to be getting 1.2.7 and 2.0-rc3 jars > >> > Why? > >> > >> Did you upgrade this app to Spring 2? If so, did you 'mvn clean' > >> after changing the dependency versions? The old ones may have been > >> left in WEB-INF/lib under 'target'. > >> > >> If that's not it, run > >>mvn package -X > output.txt > >> > >> and take a look at the output, which will include an indented tree > >> view of dependencies. You'll be able to see where each dependency is > >> coming from, and exclude the ones you don't want. > >> > >> You can get two versions of the same library if the groupId has > >> changed without being "relocated" in the repository. (Didn't Spring > >> change from 'springframework' to 'org.springframework'?) Maven has no > >> way of knowing they are the 'same'. > >> > >> HTH, > >> -- > >> Wendy > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson
Re: [m204] Issue with transistive dependancies and Springframework
What does your exclusions look like: org.springframework.spring-1.2.7 or something else? On 10/10/06, Max Cooper <[EMAIL PROTECTED]> wrote: Mick, I am using Spring 2.0 and Acegi 1.0.2. Use dependency excludes to suppress the Spring 1.2.7 stuff. -Max Mick Knutson wrote: > Is anyone else using spring 2.0 and acegi 1.0.2 > > > It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0into > my ear. > Is this an issue with the spring libs I imported? > > > > On 9/18/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: >> >> On 9/18/06, Mick Knutson <[EMAIL PROTECTED]> wrote: >> >> > I am trying to use this: >> ... {spring dependencies} ... >> > But my war seems to be getting 1.2.7 and 2.0-rc3 jars >> > Why? >> >> Did you upgrade this app to Spring 2? If so, did you 'mvn clean' >> after changing the dependency versions? The old ones may have been >> left in WEB-INF/lib under 'target'. >> >> If that's not it, run >>mvn package -X > output.txt >> >> and take a look at the output, which will include an indented tree >> view of dependencies. You'll be able to see where each dependency is >> coming from, and exclude the ones you don't want. >> >> You can get two versions of the same library if the groupId has >> changed without being "relocated" in the repository. (Didn't Spring >> change from 'springframework' to 'org.springframework'?) Maven has no >> way of knowing they are the 'same'. >> >> HTH, >> -- >> Wendy >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson
Re: [m204] Issue with transistive dependancies and Springframework
That's actually wrong. See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html You don't use excludes to change the version of a dependency, you have to explicitly add that dependency in your pom in the version you want. "Dependency mediation - this determines what version of a dependency will be used when multiple versions of an artifact are encountered. Currently, Maven 2.0 only supports using the "nearest definition" - so you can always guarantee a version by declaring it explicitly in your project's POM." On 10/11/06, Max Cooper <[EMAIL PROTECTED]> wrote: Mick, I am using Spring 2.0 and Acegi 1.0.2. Use dependency excludes to suppress the Spring 1.2.7 stuff. -Max Mick Knutson wrote: > Is anyone else using spring 2.0 and acegi 1.0.2 > > > It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0 into > my ear. > Is this an issue with the spring libs I imported? > > > > On 9/18/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: >> >> On 9/18/06, Mick Knutson <[EMAIL PROTECTED]> wrote: >> >> > I am trying to use this: >> ... {spring dependencies} ... >> > But my war seems to be getting 1.2.7 and 2.0-rc3 jars >> > Why? >> >> Did you upgrade this app to Spring 2? If so, did you 'mvn clean' >> after changing the dependency versions? The old ones may have been >> left in WEB-INF/lib under 'target'. >> >> If that's not it, run >>mvn package -X > output.txt >> >> and take a look at the output, which will include an indented tree >> view of dependencies. You'll be able to see where each dependency is >> coming from, and exclude the ones you don't want. >> >> You can get two versions of the same library if the groupId has >> changed without being "relocated" in the repository. (Didn't Spring >> change from 'springframework' to 'org.springframework'?) Maven has no >> way of knowing they are the 'same'. >> >> HTH, >> -- >> Wendy >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m204] Issue with transistive dependancies and Springframework
Mick, I am using Spring 2.0 and Acegi 1.0.2. Use dependency excludes to suppress the Spring 1.2.7 stuff. -Max Mick Knutson wrote: Is anyone else using spring 2.0 and acegi 1.0.2 It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0 into my ear. Is this an issue with the spring libs I imported? On 9/18/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 9/18/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > I am trying to use this: ... {spring dependencies} ... > But my war seems to be getting 1.2.7 and 2.0-rc3 jars > Why? Did you upgrade this app to Spring 2? If so, did you 'mvn clean' after changing the dependency versions? The old ones may have been left in WEB-INF/lib under 'target'. If that's not it, run mvn package -X > output.txt and take a look at the output, which will include an indented tree view of dependencies. You'll be able to see where each dependency is coming from, and exclude the ones you don't want. You can get two versions of the same library if the groupId has changed without being "relocated" in the repository. (Didn't Spring change from 'springframework' to 'org.springframework'?) Maven has no way of knowing they are the 'same'. HTH, -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m204] Issue with transistive dependancies and Springframework
Mick, I'm not using Spring and Acegi, so this might not work, but perhaps try adding an node on the Acegi dependency to exclude Spring, and then add the Spring dependency by itself. If this doesn't work, post your pom back to the list and we'll try to help debug it some more... Wayne On 10/10/06, Mick Knutson <[EMAIL PROTECTED]> wrote: Is anyone else using spring 2.0 and acegi 1.0.2 It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0 into my ear. Is this an issue with the spring libs I imported? On 9/18/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > On 9/18/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > > > I am trying to use this: > ... {spring dependencies} ... > > But my war seems to be getting 1.2.7 and 2.0-rc3 jars > > Why? > > Did you upgrade this app to Spring 2? If so, did you 'mvn clean' > after changing the dependency versions? The old ones may have been > left in WEB-INF/lib under 'target'. > > If that's not it, run >mvn package -X > output.txt > > and take a look at the output, which will include an indented tree > view of dependencies. You'll be able to see where each dependency is > coming from, and exclude the ones you don't want. > > You can get two versions of the same library if the groupId has > changed without being "relocated" in the repository. (Didn't Spring > change from 'springframework' to 'org.springframework'?) Maven has no > way of knowing they are the 'same'. > > HTH, > -- > Wendy > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m204] Issue with transistive dependancies and Springframework
Is anyone else using spring 2.0 and acegi 1.0.2 It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0 into my ear. Is this an issue with the spring libs I imported? On 9/18/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 9/18/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > I am trying to use this: ... {spring dependencies} ... > But my war seems to be getting 1.2.7 and 2.0-rc3 jars > Why? Did you upgrade this app to Spring 2? If so, did you 'mvn clean' after changing the dependency versions? The old ones may have been left in WEB-INF/lib under 'target'. If that's not it, run mvn package -X > output.txt and take a look at the output, which will include an indented tree view of dependencies. You'll be able to see where each dependency is coming from, and exclude the ones you don't want. You can get two versions of the same library if the groupId has changed without being "relocated" in the repository. (Didn't Spring change from 'springframework' to 'org.springframework'?) Maven has no way of knowing they are the 'same'. HTH, -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson
Re: [m1/2] New Lirbrary in Maven Central Repo for Date Calculations
On 10 Oct 06, at 1:53 PM 10 Oct 06, Benoitx wrote: Jason & Maven community, Please accept our apologies, we saw quite a few announcements on this list but, on second look, they seems to have plugins or so related to them, not just being an open source project in the repository. I feel that a list for announcing new projects/products arriving to the Central Repo would be good and beneficial to the users community (i know I certainly would like to know when X/Y/ have a new release or new product). We did not intend to abuse this list. Sure, but there are 10k artifacts in the repository. If each project, every time they released something posted to this list it would rapidly get out of control. We're hoping to have RSS feeds on the central repository so that people know when things have changed. It's not a big deal, it's just that announcement mail would swamp this list. Jason. Once again, our mistake. Benoit Jason van Zyl-2 wrote: On 10 Oct 06, at 1:33 PM 10 Oct 06, Jason van Zyl wrote: Do not announce products going into the central repository. This is not a free advertising forum. It's a total abuse of this list. Projects or products. Doesn't matter if it's open source or not. Jason. On 10 Oct 06, at 8:35 AM 10 Oct 06, Benoitx wrote: ObjectLab is pleased to announce the release 1.0.1 in Maven Repository of Objectlab Kit for Java 1.5 Open source Date Calculators for Business and Finance. http://objectlabkit.sourceforge.net -- View this message in context: http://www.nabble.com/-m1-2--New- Lirbrary-in-Maven-Central-Repo-for-Date-Calculations- tf2416716.html#a6742996 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Null Pointer Exception when compiling with the maven-xdoclet-plugin
I am using Maven 2.0.4. This is my POM file and below that is the output from running mvn install Any help would be greatly appreciated. http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 gestalt-search gestalt-search-web war 1.0.5-SNAPSHOT Gestalt Search WebApp http://www.gestalt-llc.com scm:svn:https://www.giglite.org/svn/gestalt-search-web scm:svn:https://www.giglite.org/svn/gestalt-search- web gestalt-search gestalt-search-lib 1.0.5-SNAPSHOT compile lucene lucene 1.4.3 compile rome rome 0.8 compile jdom jdom 1.0 compile commons-logging commons-logging 1.0.4 compile log4j log4j 1.2.13 compile servletapi servletapi 2.3 xdoclet xdoclet 1.2 xdoclet xdoclet-web-module 1.2 xdoclet xjavadoc 1.0.2 xdoclet maven-xdoclet-plugin 1.2 plugin Maven Snapshots Mojo Sandbox http://snapshots.maven.codehaus.org/maven2/ true false Ibiblio-Maven2-Repository Ibiblio Maven2 Repository http://www.ibiblio.org/maven2 Maven Snapshots http://snapshots.maven.codehaus.org/maven2/ true false ibiblio http://www.ibiblio.org/maven2 ./src/java org.codehaus.mojo tomcat-maven-plugin 1.0-SNAPSHOT xdoclet maven-xdoclet-plugin 1.2 Below is the output of running mvn install. I keep getting a null pointer exception. Does anyone know how to get rid of that exception? [INFO] Scanning for projects... [INFO] [INFO] Building Gestalt Search WebApp [INFO]task-segment: [install] [INFO] [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from ibiblio [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from repo1 [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from mergere [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from ibiblio [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from repo1 [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from mergere [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from ibiblio [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from repo1 [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from mergere [INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for updates from ibiblio [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote = '30 09ca8b79c340cc83543ea789f57b1ee0128cb6' - RETRYING [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote = '30 09ca8b79c340cc83543ea789f57b1ee0128cb6' - IGNORING [INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for updates from repo1 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote = '30 09ca8b79c340cc83543ea789f57b1ee0128cb6' - RETRYING [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote = '30 09ca8b79c340cc83543ea789f57b1ee0128cb6' - IGNORING [INFO] artifact org.apache.maven.plugins:maven
MavenEmbedder question
I got the Maven embedder to execute a phase of the pom.xml's lifecycle. However, I couldn't get it execute a specific goal. For example, here is my usage: maven.execute(pom, Collections.singletonList("scm:checkout"), eventMonitor, new ConsoleDownloadMonitor (),null,targetDirectory); This results in an error. However, maven.execute(pom, Collections.singletonList("install"), eventMonitor, new ConsoleDownloadMonitor (),null,targetDirectory); works fine. Thus, the question is, can the Emedder be used to run specific goals, or must the input be of the form of a phase? Thanks. 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 intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Re: Hi Maven 2 Group, urgent help needed
Usually I'd expect someone posting a question like this to include the error (and stacktrace, if available) in the email requesting assistance... Wayne On 10/10/06, Thomas, Jacob (US - Mumbai) <[EMAIL PROTECTED]> wrote: Hi maven2 group I am facing a problem while creating my custiomised plugin for checkout the code from SVN repo. I am trying to call the scm:checkout plugin from mavenEmbedder. but while executing the plugin, i am facing error. Please let me know, if anybody knows this solution, how to call a scm:checkout plugin from mavenEmbedder using maven2. thanks, Jacob Thomas 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 intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Eclipse WTP setup
Anyone know the answer to this? I have the same problem. Thanks On 10/10/06, Kev D'Arcy <[EMAIL PROTECTED]> wrote: Hi, Would anyone have a sample set of Eclipse configuration files (.classpath mainly) that is configured for WTP? I have the java/class forlders configured properly to match the standard maven file structure, but I'm having problems getting the web root folder to be "src/main/webapp" instead of WebContent Thanks, Kev This document is strictly confidential and is intended for use by the addressee unless otherwise indicated. This email has been scanned by an external Email Security System. Allied Irish Banks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Bill Manuel
[m2] Using the eclipse (3.2) compiler
I've been trying to get maven(2) to use the eclipse compiler, which is implied to be possible by fiddling with maven-compiler-plugin and plexus-compiler. However, I can't get it to work (in particular, I can't persuade it that the project is java 1.5, even if I pass the right values in compilerArgument -source 5.0 -target 5.0) Does anyone have this working ? It seems particularly important - debugging with hotcode replace is pretty much totally broken for me because of the differences in the compilers being used - I was hoping I could fix it with a profile to use the eclipse compiler.
[m2] Multiproject execution directory
Hello! I've tried googling for this, but with no success so far. When running multi-project/multi-module/sub-module builds, does maven2 use the execution directory of the aggregating project for /all/ projects? If so, is it possible to make sure each sub-projects is being run in its own root? I use a flat (eclipse-like) project structure: project1/ project2/ aggregating_project/ and ../project1 ../project2 in the aggregating_project pom.xml. I know, "you shouldn't depend on the execution directory" etc, but this time I really need it. Cheers Daniel -- __ [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1/2] New Lirbrary in Maven Central Repo for Date Calculations
Jason & Maven community, Please accept our apologies, we saw quite a few announcements on this list but, on second look, they seems to have plugins or so related to them, not just being an open source project in the repository. I feel that a list for announcing new projects/products arriving to the Central Repo would be good and beneficial to the users community (i know I certainly would like to know when X/Y/ have a new release or new product). We did not intend to abuse this list. Once again, our mistake. Benoit Jason van Zyl-2 wrote: > > > On 10 Oct 06, at 1:33 PM 10 Oct 06, Jason van Zyl wrote: > >> Do not announce products going into the central repository. This is >> not a free advertising forum. It's a total abuse of this list. >> > > Projects or products. Doesn't matter if it's open source or not. > >> Jason. >> >> On 10 Oct 06, at 8:35 AM 10 Oct 06, Benoitx wrote: >> >>> >>> ObjectLab is pleased to announce the release 1.0.1 in Maven >>> Repository of >>> Objectlab Kit for Java 1.5 >>> >>> Open source Date Calculators for Business and Finance. >>> >>> http://objectlabkit.sourceforge.net >>> > -- View this message in context: http://www.nabble.com/-m1-2--New-Lirbrary-in-Maven-Central-Repo-for-Date-Calculations-tf2416716.html#a6742996 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Classifier removed during packaging
I have the following situation with Maven 2, classifier usage, and packaging to a war file: The classified jar file is correctly downloaded from repository but ends in the war file without the classifier part in the jar file name. I.e. in my local repository I get the dependency "something-1.0-classified.jar" downloaded but in the war file I get only "something-1.0.jar". I expected to see the something-1.0-classified.jar file in the war. The strange thing is that our repositories do not contain the classifier-less jar file at all. I went through the Maven debug output of the build process and during the compile phase the file with the classifier is downloaded from the repository and put on the compile path as expected. But during the Assembling the classifier in the name seems to get removed and the debug output reads Processing: something-1.0.jar I am not sure if this behavior is intentional or if I do something wrong. Can someone tell me if this is by design? If not, I at least know that I have to dig more into the issue. Thanks in advance, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Are the parameters in settings.xml suppose to override filter.properties?
On 10 Oct 06, at 11:15 AM 10 Oct 06, Mick Knutson wrote: Are the parameters in settings.xml suppose to override filter.properties? No. The resources plugin doesn't know about settings.xml. I assume you're talking about the resources plugin. Raise an issue in the resources plugin in JIRA if this is tripping you up. Jason. -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1/2] New Lirbrary in Maven Central Repo for Date Calculations
On 10 Oct 06, at 1:33 PM 10 Oct 06, Jason van Zyl wrote: Do not announce products going into the central repository. This is not a free advertising forum. It's a total abuse of this list. Projects or products. Doesn't matter if it's open source or not. Jason. On 10 Oct 06, at 8:35 AM 10 Oct 06, Benoitx wrote: ObjectLab is pleased to announce the release 1.0.1 in Maven Repository of Objectlab Kit for Java 1.5 Open source Date Calculators for Business and Finance. http://objectlabkit.sourceforge.net The ObjectLab Kit is released under the business friendly Apache License v2.0. It is available immediately for download via SourceForge or the Maven Central Repository (both Maven 1 and Maven 2). The homepage has some very quick examples. The Kit provides Date Calculators and comes in two flavours: - one based on pure JDK (1.5) - one based on the Joda-time library (1.3+, jdk 1.5) This library is now live in a major UK & international Bank (in their Credit Derivatives department). The library is small, lightweight and thread-safe. The DateCalculator implementation is useful to any business; the other two interfaces are more specific to the financial industry. The most common function of a lot of banking or business applications is the handling of holidays and weekends, a set of standard rules are implemented to deal with days falling on a holiday. The library does not attempt to guess the 'holidays', most business will have an official list anyway, but concentrate on the date manipulation and calculations. What does it provide? Implementation of 3 interfaces - DateCalculator for all date calculation and handling of weekends or holidays. The supported algorithms are: Do Nothing, Move Forward, Move Backward, Modified Following and Modified Preceeding. The Calculators are immutable once created but they can be easily composed to take into account multiple sets of holidays. The library also supports the calculation of generic tenor dates (Spot, 1D, 1W, 2M, 3Y, etc) - PeriodCountCalculator for calculating differences between two dates in days, months or years according to some financial algorithms: ACT/360, ACT/365, ACT/ACT, CONV/30-360, CONV/30-365_ISDA, CONV/30-360_ISMA - IMMDateCalculator, to calculate the International Money Market dates (IMM Dates are 3rd Wednesday of March/June/Sept/Dec) This kit is one of the first steps in pushing the Open Source movement up "the stack" towards business functionalities in the financial industry. ObjectLab is not new to the open-source community having used numerous OS projects, participated in a few and sponsoring QALab (http://qalab.sourceforge.net), a tool that keep tracks over-time of the static analysis results from FindBugs, Checkstyle, PMD, Cobertura etc. We would like to thanks our friends and colleagues at for their help, reviews and suggestions. Sorry for the long email... Feel free to pass on to people who may be interested. Enjoy!! Benoit Xhenseval and Marcin Jekot -- View this message in context: http://www.nabble.com/-m1-2--New- Lirbrary-in-Maven-Central-Repo-for-Date-Calculations- tf2416716.html#a6736568 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ant Mojo: How to use echoproperties (optional task)
Just to be clear an Ant-based Mojo is not the same thing as using the Ant Run plugin. I have just merged the underlying utilities for the Ant Run plugin and the Ant-based Mojos. Prior to yesterday Ant-based mojos were not very useful as there was no way to get hold of the various classpaths constructed by Maven as are available in the Ant Run plugin. Are you trying to use the Ant Run plugin or make a reusable plugin using Ant script? Jason. On 10 Oct 06, at 10:29 AM 10 Oct 06, Gisbert Amm wrote: I get this error message: "Could not create task or type of type: echoproperties." I found this discussion: http://mail-archives.apache.org/mod_mbox/maven-users/200603.mbox/% [EMAIL PROTECTED] and the mentioned documentation at: http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html However, without further explanation I can't figure out how to use the echoproperties task. Could somebody please point me in the right direction? Regards, Gisbert Amm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1/2] New Lirbrary in Maven Central Repo for Date Calculations
Do not announce products going into the central repository. This is not a free advertising forum. It's a total abuse of this list. Jason. On 10 Oct 06, at 8:35 AM 10 Oct 06, Benoitx wrote: ObjectLab is pleased to announce the release 1.0.1 in Maven Repository of Objectlab Kit for Java 1.5 Open source Date Calculators for Business and Finance. http://objectlabkit.sourceforge.net The ObjectLab Kit is released under the business friendly Apache License v2.0. It is available immediately for download via SourceForge or the Maven Central Repository (both Maven 1 and Maven 2). The homepage has some very quick examples. The Kit provides Date Calculators and comes in two flavours: - one based on pure JDK (1.5) - one based on the Joda-time library (1.3+, jdk 1.5) This library is now live in a major UK & international Bank (in their Credit Derivatives department). The library is small, lightweight and thread-safe. The DateCalculator implementation is useful to any business; the other two interfaces are more specific to the financial industry. The most common function of a lot of banking or business applications is the handling of holidays and weekends, a set of standard rules are implemented to deal with days falling on a holiday. The library does not attempt to guess the 'holidays', most business will have an official list anyway, but concentrate on the date manipulation and calculations. What does it provide? Implementation of 3 interfaces - DateCalculator for all date calculation and handling of weekends or holidays. The supported algorithms are: Do Nothing, Move Forward, Move Backward, Modified Following and Modified Preceeding. The Calculators are immutable once created but they can be easily composed to take into account multiple sets of holidays. The library also supports the calculation of generic tenor dates (Spot, 1D, 1W, 2M, 3Y, etc) - PeriodCountCalculator for calculating differences between two dates in days, months or years according to some financial algorithms: ACT/360, ACT/365, ACT/ACT, CONV/30-360, CONV/30-365_ISDA, CONV/30-360_ISMA - IMMDateCalculator, to calculate the International Money Market dates (IMM Dates are 3rd Wednesday of March/June/Sept/Dec) This kit is one of the first steps in pushing the Open Source movement up "the stack" towards business functionalities in the financial industry. ObjectLab is not new to the open-source community having used numerous OS projects, participated in a few and sponsoring QALab (http://qalab.sourceforge.net), a tool that keep tracks over-time of the static analysis results from FindBugs, Checkstyle, PMD, Cobertura etc. We would like to thanks our friends and colleagues at for their help, reviews and suggestions. Sorry for the long email... Feel free to pass on to people who may be interested. Enjoy!! Benoit Xhenseval and Marcin Jekot -- View this message in context: http://www.nabble.com/-m1-2--New- Lirbrary-in-Maven-Central-Repo-for-Date-Calculations- tf2416716.html#a6736568 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
reactor issue?
I have a large project with a top-level pom building lower-level projects. When each of the lower-level projects had as their packaging target a "jar" file, everything worked as I would expect. I could do a "mvn install" in the top-level directory and maven would recurse into each sub-project () and do the appropriate thing. However, as I filled out my project, some of the sub-modules had other targets - war and wsr - and therefore not all projects had "jar" packaging. Now, when I do a "mvn install" from the top-level module, I get errors like this: [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-jar-plugin:2.1:jar': Unable to find the mojo 'org.apache.maven.plugins:maven-jar-plugin:2.1:jar' in the plugin 'org.apache.maven.plugins:maven-jar-plugin' This makes no sense to me, and I don't see what the non-jar projects (war and wsr) would have to do with this. In fact, I believe the sub-project that maven is trying to build at the time of this error is the first module - which *is* a jar package. Simply changing directories to this sub-project and doing a "mvn install" there works perfectly fine. In fact, I can go to each of the modules listed in the top-level pom and do a "mvn install" manually and they all work fine. Currently, that is my work-around. Any suggestions on why the above might be happening? (I'm using maven 2.0.4). -- Eric
Re: build release
Thanks for the answer. I have modules like this: ggg-jar ggg-war My problem is that when I do mvn package for this pom it will compile ggg-jar and then die at ggg-war because it cannot find the ggg-jar in the installed modules (ggg-war depends on ggg-jar). Which is correct, since I am just compiling it. I can do a ggg-jar install but then I am afraid it will take the installed jar instead of the one I am compiling (latest). Unless I always do mvn clean install which is what I want to avoid. I would just like to do a mvn compile or mvn package. Is that possible? thanks again for your help, Attila > > To: users@maven.apache.org > From: Geoffrey De Smet <[EMAIL PROTECTED]> > Subject: Re: mvn2: build release > Date: Tue, 10 Oct 2006 09:41:59 +0200 > > Make a pom which has a list of modules of those > projects: > > > ggg-war > ggg-ear > ... > > It will find out the order in which to build them > etc. > > This pom is best to be in a directory above the > others: > > ggg/ > pom.xml > ggg-war/ >pom.xml > ggg-ear >pom.xml > > and most likely you 'll want to let the modules > inherit that pom, making > it a parent pom > > See the free m2 book (see site), there is a chapter > about it. > > Attila Mezei-Horvati wrote, On 2006-10-10 12:39 AM: > > I am about to finish the port from ant to maven of > our > > project. As a result, I have now a structure of > > projects, with each one of them having their own > pom > > file. > > > > I was wondering how can I do a mvn clean > > compile/package/install/release from the project > main > > pom so that all dependent projects get a clean > > recompile. It seems to me that I would need to go > to > > each pom and have them re-compiled. Is there a way > to > > tell maven to recompile all dependent snapshot > > projects? > > > > thanks, > > Attila > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Are the parameters in settings.xml suppose to override filter.properties?
Are the parameters in settings.xml suppose to override filter.properties? -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson
Re: [m2] release plugin - how to automatic releasing (nightly build)
mvn scm:bootstrap -DconnectionUrl=yoururl -Dgoals="-B,release:prepare,release:perform" wonder if that would work ;-) On 10/10/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: Do a nightly "mvn deploy" instead. It will probably do all what you want: snapshot with timestamp etc. A release won't work: you 'll have snapshot dependencies and the release will fail, maven won't know which is the version number, ... [EMAIL PROTECTED] wrote, On 2006-10-10 4:49 PM: > Does anybody nightly builds with maven release plugin? > Is it possible to run the plugin withaout user interaction? > > Thanks > Fredy > > > Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich �ber unsere Produkte unter > > www.kabeldeutschland.de > > Diese E-Mail und etwaige Anh�nge enthalten vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschlie�end diese Mail und die Anlagen. -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how do i disable the sunconvention check with checkstyle?
Rolf Strijdhorst wrote: Hi I have a custom configuration. But both the sun conventions are checked as well as my own. I don't need the sun conventions btw the build needs to fail on violations so I added the check goal. here is the part of the config: org.apache.maven.plugins maven-checkstyle-plugin basisregistratie styles release 1 process-sources br_styles_release1.xml suppressions.xml true check thanx Rolf Did you try the standard configuration [1] for this first? ... org.apache.maven.plugins maven-checkstyle-plugin br_styles_release1.xml suppressions.xml ... [1]http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: checkstyle plugin check goal fails with ugly exception instead of nice build failed
Rolf Strijdhorst wrote: Hi when running the checkstyle plugin and some code styles are violated the build fails with an exception. It does not fail nicely like the pmd plugin. Is this supposed to happen like this? thanx Rolf Do you have an example that you can share with us? -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Ant Mojo: How to use echoproperties (optional task)
I get this error message: "Could not create task or type of type: echoproperties." I found this discussion: http://mail-archives.apache.org/mod_mbox/maven-users/200603.mbox/[EMAIL PROTECTED] and the mentioned documentation at: http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html However, without further explanation I can't figure out how to use the echoproperties task. Could somebody please point me in the right direction? Regards, Gisbert Amm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] release plugin - how to automatic releasing (nightly build)
Do a nightly "mvn deploy" instead. It will probably do all what you want: snapshot with timestamp etc. A release won't work: you 'll have snapshot dependencies and the release will fail, maven won't know which is the version number, ... [EMAIL PROTECTED] wrote, On 2006-10-10 4:49 PM: Does anybody nightly builds with maven release plugin? Is it possible to run the plugin withaout user interaction? Thanks Fredy Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich �ber unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anh�nge enthalten vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschlie�end diese Mail und die Anlagen. -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] release plugin - how to automatic releasing (nightly build)
Does anybody nightly builds with maven release plugin? Is it possible to run the plugin withaout user interaction? Thanks Fredy Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich �ber unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anh�nge enthalten vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschlie�end diese Mail und die Anlagen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven and jalopy plugin
Found in the snapshot repository http://snapshots.repository.codehaus.org/org/codehaus/mojo/jalopy-maven-plugin/ Raphaël 2006/10/10, Stephen More <[EMAIL PROTECTED]>: On 10/8/06, Raphaël Piéroni <[EMAIL PROTECTED]> wrote: > http://mojo.codehaus.org/jalopy-maven-plugin/ The example includes: org.codehaus.mojo jalopy-maven-plugin 1.0-SNAPSHOT But when I browse the maven site ( http://repo1.maven.org/maven2/org/codehaus/mojo/ ) I do not see the plugin. -Steve More - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cruise control in maven 2.x
I don't know what you need a plugin for, but recent versions of Cruise Control (2.4.1+ IIRC) work just fine with Maven2. See here for configuration: http://cruisecontrol.sourceforge.net/main/configxml.html#maven2 -- Daniel Siegmann FJA-US, Inc. (212) 840-2618 ext. 139 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cruise control in maven 2.x
hi all i had already cofigure cruise control with maven 1.X but now we are shifting to maven 2.X i searched in the google and did not find any plugin is there any cruise control plugin available for maven 2.x i also came to know on googling that * Continuum is also an alternative of cruise controll* *so any one please give me advise which one i will use with maven 2.0.4* ** *Regards* *Neeraj*
How do I generate test javadocs?
How do I get the maven-javadoc-plugin to include the test classes as well as the runtime classes when generating Javadocs? >From the maven-javadoc-plugin site (http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html), I can see that there's a sourcepath option, but I don't have any idea what the equivalent syntax in the pom.xml file would be. I tried 'src/main/java,src/test/java', but that didn't work at all. In fact, it just failed silently and broke Javadoc generation completely. Any help would be appreciated. Thanks;
how do i disable the sunconvention check with checkstyle?
Hi I have a custom configuration. But both the sun conventions are checked as well as my own. I don't need the sun conventions btw the build needs to fail on violations so I added the check goal. here is the part of the config: org.apache.maven.plugins maven-checkstyle-plugin basisregistratie styles release 1 process-sources br_styles_release1.xml suppressions.xml true check thanx Rolf
M2 - side effect with phase
Hello, One task 'foo' is called 3 times and it should be only one: in a super pom, I want jar with sources, test ... (default for all project). in my pom I want to call 'foo' at the phase generate-sources. the first call is made by the expected execution id1 at the beginning. the second call is made by side effect of base_id1. the third call is made by side effect of base_id2. The same issue raises with the ant plugin instead of exec-maven-plugin. What's wrong? It seems that a 'forked' lifecycle is launched with each base_id execution and that my id1 execution is bind on this new lifecycle too. Is it possible to act on this? Thanks. in my top level pom there's something like this org.apache.maven.plugins maven-jar-plugin base_id1 test-jar org.apache.maven.plugins maven-source-plugin base_id2 verify jar test-jar in my pom there's org.codehaus.mojo exec-maven-plugin id1 generate-sources exec foo here's part of the log ... [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: [INFO] [jar:test-jar {execution: base_id1}] [INFO] Building jar: [INFO] Preparing source:jar [INFO] [exec:exec {execution: id1}] ... [INFO] [source:jar {execution: base_id2}] [INFO] Building jar: D:\pvcs\Canalito_dev\dev\canalito\canalitoCore\CanalitoComMixte\target\Canalit T-sources.jar [INFO] Preparing source:test-jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [WARNING] Removing: test-jar from forked lifecycle, to prevent recursive invocation. [INFO] [exec:exec {execution: id1}] ... [INFO] [source:test-jar {execution: base_id2}] [INFO] Building jar: -test-sources.jar [INFO] [install:install] -- View this message in context: http://www.nabble.com/M2---side-effect-with-phase-tf2416952.html#a6737330 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Transfering *-sources.jar from releaseRepository to localRe pository
Hi all, sometimes the sources jar will be downloaded to my local repository, but not always. Does anybody knows the rule for that featute? How can I force to download the sources.jar ev everytime? Thanks Fredy Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese Mail und die Anlagen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m1/2] New Lirbrary in Maven Central Repo for Date Calculations
ObjectLab is pleased to announce the release 1.0.1 in Maven Repository of Objectlab Kit for Java 1.5 Open source Date Calculators for Business and Finance. http://objectlabkit.sourceforge.net The ObjectLab Kit is released under the business friendly Apache License v2.0. It is available immediately for download via SourceForge or the Maven Central Repository (both Maven 1 and Maven 2). The homepage has some very quick examples. The Kit provides Date Calculators and comes in two flavours: - one based on pure JDK (1.5) - one based on the Joda-time library (1.3+, jdk 1.5) This library is now live in a major UK & international Bank (in their Credit Derivatives department). The library is small, lightweight and thread-safe. The DateCalculator implementation is useful to any business; the other two interfaces are more specific to the financial industry. The most common function of a lot of banking or business applications is the handling of holidays and weekends, a set of standard rules are implemented to deal with days falling on a holiday. The library does not attempt to guess the 'holidays', most business will have an official list anyway, but concentrate on the date manipulation and calculations. What does it provide? Implementation of 3 interfaces - DateCalculator for all date calculation and handling of weekends or holidays. The supported algorithms are: Do Nothing, Move Forward, Move Backward, Modified Following and Modified Preceeding. The Calculators are immutable once created but they can be easily composed to take into account multiple sets of holidays. The library also supports the calculation of generic tenor dates (Spot, 1D, 1W, 2M, 3Y, etc) - PeriodCountCalculator for calculating differences between two dates in days, months or years according to some financial algorithms: ACT/360, ACT/365, ACT/ACT, CONV/30-360, CONV/30-365_ISDA, CONV/30-360_ISMA - IMMDateCalculator, to calculate the International Money Market dates (IMM Dates are 3rd Wednesday of March/June/Sept/Dec) This kit is one of the first steps in pushing the Open Source movement up "the stack" towards business functionalities in the financial industry. ObjectLab is not new to the open-source community having used numerous OS projects, participated in a few and sponsoring QALab (http://qalab.sourceforge.net), a tool that keep tracks over-time of the static analysis results from FindBugs, Checkstyle, PMD, Cobertura etc. We would like to thanks our friends and colleagues at for their help, reviews and suggestions. Sorry for the long email... Feel free to pass on to people who may be interested. Enjoy!! Benoit Xhenseval and Marcin Jekot -- View this message in context: http://www.nabble.com/-m1-2--New-Lirbrary-in-Maven-Central-Repo-for-Date-Calculations-tf2416716.html#a6736568 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven and jalopy plugin
On 10/8/06, Raphaël Piéroni <[EMAIL PROTECTED]> wrote: http://mojo.codehaus.org/jalopy-maven-plugin/ The example includes: org.codehaus.mojo jalopy-maven-plugin 1.0-SNAPSHOT But when I browse the maven site ( http://repo1.maven.org/maven2/org/codehaus/mojo/ ) I do not see the plugin. -Steve More - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: docbook plugin
Hi. I'll add to the manual that - at this stage - you need to add my personal repository (http://agilejava.com/maven/) to your list of repositories. I have been trying to get the plugin uploaded to the central repository, but for some reason you can only upload plugins if you set up an rsync synchronisation process, and I haven't been able to do that yet. In the meanwhile, simply hook up to my own repository. There is in fact a samples project with a sample POM here: http://86.85.236.224/svn/docbkx/trunk/docbkx-samples/pom.xml (However, it's missing the required repository section I'll make sure that's getting added.) Hope it helps. Wow, great, it worked out! I have yet another small question. My doc (reference/reference.xml) includes some images (reference/images/a.gif etc.). How do I instruct Maven/docbkx plugin to copy the images together with generated html/pdf? Right now I get reference.html reference.fo reference.pdf in the output folder. I'd like these to be accompanied with images/**/*.*. I'd be grateful if you give me a clue. Thanks again for your time and a great plugin. Bye. /lexi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Hi Maven 2 Group, urgent help needed
Hi maven2 group I am facing a problem while creating my custiomised plugin for checkout the code from SVN repo. I am trying to call the scm:checkout plugin from mavenEmbedder. but while executing the plugin, i am facing error. Please let me know, if anybody knows this solution, how to call a scm:checkout plugin from mavenEmbedder using maven2. thanks, Jacob Thomas 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 intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Eclipse WTP setup
Hi, Would anyone have a sample set of Eclipse configuration files (.classpath mainly) that is configured for WTP? I have the java/class forlders configured properly to match the standard maven file structure, but I'm having problems getting the web root folder to be "src/main/webapp" instead of WebContent Thanks, Kev This document is strictly confidential and is intended for use by the addressee unless otherwise indicated. This email has been scanned by an external Email Security System. Allied Irish Banks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SCM:Checkout using mavenEmbedder
Hi Group, I am facing a problem while creating my custiomised plugin for checkout the code from SVN repo. I am trying to call the scm:checkout plugin from mavenEmbedder. but while executing the plugin, i am facing error. here is the sample piece of code i am trying to use: embedder.execute(reactorProjects, Collections.singletonList("scm:checkout"), new DefaultEventMonitor(new PlexusLoggerAdapter( embedder.getLogger())), new ConsoleDownloadMonitor(), null,targetDirectory); Please let me know, if this piece of code is correct or not? if anybody knows this solution, how to call a scm:checkout from mavenEmbedder using maven2. thanks, Jacob Thomas -- View this message in context: http://www.nabble.com/SCM%3ACheckout-using-mavenEmbedder-tf2415942.html#a6734378 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Customizing Checkstyle Plugin for M2
Hi on the Treewalker class I found this method. my guess is that your configuration is not correct /** * Instantiates, configures and registers a Check that is specified * in the provided configuration. * [EMAIL PROTECTED] */ public void setupChild(Configuration aChildConf) throws CheckstyleException { // TODO: improve the error handing final String name = aChildConf.getName(); final Object module = mModuleFactory.createModule(name); if (!(module instanceof Check)) { throw new CheckstyleException( "TreeWalker is not allowed as a parent of " + name); } final Check c = (Check) module; c.contextualize(mChildContext); c.configure(aChildConf); c.init(); registerCheck(c); } On 10/10/06, Laetitia Juers <[EMAIL PROTECTED]> wrote: Oops sorry, you're right ... = I need to customize the Checkstyle plugin with some new rules. They are written in a package and defined in a configuration XML file. I have follow the M2 recommendations http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html. When i use the mvn checkstyle:checkstyle, i have this M2 error : [INFO] [ERROR] BUILD ERROR [INFO] [INFO] An error has occurred in Checkstyle report generation. Embedded error: Failed during checkstyle configuration TreeWalker is not allowed as a parent of CheckNJ2EE203 [INFO] Thanks for advices. Selon Rolf Strijdhorst <[EMAIL PROTECTED]>: > Sorry, > but what error this is just a link, > I think there went something wrong with your copy-past action > -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven 1.1 RC1 SNAPSHOT needs testers
You're quite correct - I had put an explicit dependency on scm-1.5 in my project.xml a while back when we were on 1.0.2 and I wanted to force people up to the later version of the plugin. Taking that out fixes things. thanks very much James -Original Message- From: Lukas Theussl [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 11:45 AM To: Maven Users List Subject: Re: Maven 1.1 RC1 SNAPSHOT needs testers This seems to be the cause indeed, the scm:status goal was only added in version 1.6 of the scm plugin. You don't have a dependency on 1.5 by any chance? Try to remove the .maven/cache/maven-scm-plugin-1.5/ directory and see what happens.. -Lukas Shute, James wrote: > Arnaud, > > I've succesfully been using 1.1b2 for a while so thought I'd give this > a spin. I'm having trouble with the scm:prepare-release goal. I've > included the output when running with -X below. > > I'm no expert but it looks a bit suspicious that the version of > maven-scm-plugin mentioned in the 2nd line below is 1.6, but in the > BUILD FAILED section is 1.5. > > Is this a known issue? I'm running on WinXP SP2 with the 1.5.0_05 JDK > if that helps in any way. I also cleaned out the cache before > starting so it's not that causing the problem. > > thanks > > James > > Output from maven -X scm:prepare-release: > > ... > Reinstalling: > source = C:\Temp\.maven\cache\maven-scm-plugin-1.6\plugin.jelly > project = null > script = null > Caching Taglib Uri --> scm:transform > Caching Taglib Uri --> changes:transform Caching Taglib Uri --> scm > Caching Taglib Uri --> scm:transform Caching Taglib Uri --> > changes:transform Caching Taglib Uri --> scm popping off > [EMAIL PROTECTED] for > [EMAIL PROTECTED] in > com.lehman.fid:Jdialtone > > > BUILD FAILED > File.. > file:/C:/Temp/.maven/cache/maven-scm-plugin-1.5/plugin.jelly > Element... scm:status > Line.. 192 > Column 158 > org.apache.maven.scm.manager.ScmManager.status(Lorg/apache/maven/scm/r > ep > ository/ScmRepository;Lorg/apache/maven/scm/ScmFileSet;)Lorg/apache/ > maven/scm/command/status/StatusScmResult; > org.apache.maven.werkz.UnattainableGoalException: Unable to obtain > goal [scm:prepare-release] -- > file:/C:/Temp/.maven/cache/maven-scm-plugin > -1.5/plugin.jelly:192:158: > org.apache.maven.scm.manager.ScmManager.status(Lorg/apache/maven/scm/r > ep > ository/ScmRepository;Lorg/a > pache/maven/scm/ScmFileSet;)Lorg/apache/maven/scm/command/status/Statu > sS > cmResult; > at org.apache.maven.werkz.Goal.fire(Goal.java:654) > at org.apache.maven.werkz.Goal.attain(Goal.java:582) > at > org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:7 > 11 > ) > at > org.apache.maven.MavenSession.attainGoals(MavenSession.java:264) > at org.apache.maven.cli.App.doMain(App.java:556) > at org.apache.maven.cli.App.main(App.java:1411) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > av > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > or > Impl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at com.werken.forehead.Forehead.run(Forehead.java:551) > at com.werken.forehead.Forehead.main(Forehead.java:581) > Caused by: org.apache.commons.jelly.JellyTagException: > file:/C:/Temp/.maven/cache/maven-scm-plugin-1.5/plugin.jelly:192:158: > or > g.apache.maven.scm.manager.ScmManager.status(Lorg/apache/maven/scm/rep > os > itory/ScmRepository;Lorg/apache/maven/scm/ScmFileSet;)Lorg/apache/ma > ven/scm/command/status/StatusScmResult; > at > org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java > :1 > 93) > at > org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java > :1 > 02) > at > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) > at > org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag > .j > ava:82) > at > org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perform > Ac > tion(MavenGoalTag.java:115) > at org.apache.maven.werkz.Goal.fire(Goal.java:647) > ... 11 more > Caused by: java.lang.NoSuchMethodError: > org.apache.maven.scm.manager.ScmManager.status(Lorg/apache/maven/scm/r > ep > ository/ScmRepository;Lorg/a > pache/maven/scm/ScmFileSet;)Lorg/apache/maven/scm/command/status/Statu > sS > cmResult; > at > org.apache.maven.plugins.scm.ScmStatusBean.status(ScmStatusBean.java:47) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > av > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > or > Impl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apa
Re: Maven 1.1 RC1 SNAPSHOT needs testers
This seems to be the cause indeed, the scm:status goal was only added in version 1.6 of the scm plugin. You don't have a dependency on 1.5 by any chance? Try to remove the .maven/cache/maven-scm-plugin-1.5/ directory and see what happens.. -Lukas Shute, James wrote: Arnaud, I've succesfully been using 1.1b2 for a while so thought I'd give this a spin. I'm having trouble with the scm:prepare-release goal. I've included the output when running with -X below. I'm no expert but it looks a bit suspicious that the version of maven-scm-plugin mentioned in the 2nd line below is 1.6, but in the BUILD FAILED section is 1.5. Is this a known issue? I'm running on WinXP SP2 with the 1.5.0_05 JDK if that helps in any way. I also cleaned out the cache before starting so it's not that causing the problem. thanks James Output from maven -X scm:prepare-release: ... Reinstalling: source = C:\Temp\.maven\cache\maven-scm-plugin-1.6\plugin.jelly project = null script = null Caching Taglib Uri --> scm:transform Caching Taglib Uri --> changes:transform Caching Taglib Uri --> scm Caching Taglib Uri --> scm:transform Caching Taglib Uri --> changes:transform Caching Taglib Uri --> scm popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in com.lehman.fid:Jdialtone BUILD FAILED File.. file:/C:/Temp/.maven/cache/maven-scm-plugin-1.5/plugin.jelly Element... scm:status Line.. 192 Column 158 org.apache.maven.scm.manager.ScmManager.status(Lorg/apache/maven/scm/rep ository/ScmRepository;Lorg/apache/maven/scm/ScmFileSet;)Lorg/apache/ maven/scm/command/status/StatusScmResult; org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [scm:prepare-release] -- file:/C:/Temp/.maven/cache/maven-scm-plugin -1.5/plugin.jelly:192:158: org.apache.maven.scm.manager.ScmManager.status(Lorg/apache/maven/scm/rep ository/ScmRepository;Lorg/a pache/maven/scm/ScmFileSet;)Lorg/apache/maven/scm/command/status/StatusS cmResult; at org.apache.maven.werkz.Goal.fire(Goal.java:654) at org.apache.maven.werkz.Goal.attain(Goal.java:582) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:711 ) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:264) at org.apache.maven.cli.App.doMain(App.java:556) at org.apache.maven.cli.App.main(App.java:1411) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Caused by: org.apache.commons.jelly.JellyTagException: file:/C:/Temp/.maven/cache/maven-scm-plugin-1.5/plugin.jelly:192:158: or g.apache.maven.scm.manager.ScmManager.status(Lorg/apache/maven/scm/repos itory/ScmRepository;Lorg/apache/maven/scm/ScmFileSet;)Lorg/apache/ma ven/scm/command/status/StatusScmResult; at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:1 93) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:1 02) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.j ava:82) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAc tion(MavenGoalTag.java:115) at org.apache.maven.werkz.Goal.fire(Goal.java:647) ... 11 more Caused by: java.lang.NoSuchMethodError: org.apache.maven.scm.manager.ScmManager.status(Lorg/apache/maven/scm/rep ository/ScmRepository;Lorg/a pache/maven/scm/ScmFileSet;)Lorg/apache/maven/scm/command/status/StatusS cmResult; at org.apache.maven.plugins.scm.ScmStatusBean.status(ScmStatusBean.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:1 80) ... 16 more Final Memory : 3M/7M -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 11:20 PM To: Maven Users List Subject: Maven 1.1 RC1 SNAPSHOT needs testers Hi everybody, We just deployed a new SNAPSHOT of maven 1.1 RC1 [1]. This version incorporates 2 important changes and we would like to have your feedback : - MAVEN-1755 : We fixed the last main backward incompability with maven 1.0.x, this new version supports XML entities in the POM. - MAVEN-1789 : The default repository is now http://repo1.maven.org/maven/ ( These two issues a
Re: "mvn eclipse:eclipse"
The resource dirs are probably marked as source in Eclipse so that Eclipse can copy their contents to the "output" directory (when the files are changed), which means that they will be available in the classpath if you execute a program or test within Eclipse. -Max Sybren Stüvel wrote: I had this: ... ... . project.xml Removing this resource fixed the issue. Of course, project.xml is no longer used, so it's no big deal. I find it strange however, that a resource directory entry in the POM inserts a in the .classpath file. Thanks, Sybren Max Cooper wrote: 'mvn eclipse:eclipse' goal works for me, and it does NOT create an entry like this: Is there a setting in your pom.xml file that would lead Maven to believe that "." is a Java source directory? Or perhaps there is a bug in the plugin that only occurs when you don't follow the Maven directory structure conventions (my project does follow the conventions). I don't know if such a bug exists. If such a bug exists, perhaps you could reorganize your directory structure to avoid it. -Max Sybren Stüvel wrote: Hi folks, When I perform a "mvn eclipse:eclipse" command in our "argus-core" project, Eclipse bugs on the generated .classpath file. This is what's generated: [ snipped a lot more .jar files] The error that Eclipse gives me is: "Cannot nest 'argus-core/resources/configuration/syst' inside 'argus-core'. To enable the nesting exclude 'resources/' from 'argus-core'" If I remove this line: from the .classpath file, Eclipse accepts it and everything works fine. Is there any way to get M2 to create the proper .classpath in the first place? Greetings, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: docbook plugin
Hi. Ok, I fixed my problem with the pre-site phase. It was because I was invoking "mvn site:site" instead of "mvn site", so I was invoking the plug-in instead of the phase. Aleksei asked for the plugin configuration: El 10/10/2006 10:37, Aleksei Valikov escribió: Wilfred, I've searched for about half an hour but could not find any "installation instructuons" for your plugin. Yes I saw some pom fragments - but how do I install/download your plugin? Which pluginRepository should I use? I'd really appreciate a "ready-to-use" sample project. This is my particular POM (notice it contains my own directories configuration): com.agilejava.docbkx docbkx-maven-plugin 1.69.1.7 generate-html generate-pdf pre-site org.docbook docbook-xml 4.4 runtime true true ${basedir}/src/main/site/docbook ${basedir}/target/site/docs agilejava http://www.agilejava.com/maven/ true Thanks a lot folks, this helps. In any case what I think would be nice is some kind of a ZIP assembly which represents a complete and independent project. You know, just unpack and run mvn site and see the magic. I'll also report when I've integrated the plugin. Bye. /lexi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven 1.1 RC1 SNAPSHOT needs testers
Arnaud, I've succesfully been using 1.1b2 for a while so thought I'd give this a spin. I'm having trouble with the scm:prepare-release goal. I've included the output when running with -X below. I'm no expert but it looks a bit suspicious that the version of maven-scm-plugin mentioned in the 2nd line below is 1.6, but in the BUILD FAILED section is 1.5. Is this a known issue? I'm running on WinXP SP2 with the 1.5.0_05 JDK if that helps in any way. I also cleaned out the cache before starting so it's not that causing the problem. thanks James Output from maven -X scm:prepare-release: ... Reinstalling: source = C:\Temp\.maven\cache\maven-scm-plugin-1.6\plugin.jelly project = null script = null Caching Taglib Uri --> scm:transform Caching Taglib Uri --> changes:transform Caching Taglib Uri --> scm Caching Taglib Uri --> scm:transform Caching Taglib Uri --> changes:transform Caching Taglib Uri --> scm popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in com.lehman.fid:Jdialtone BUILD FAILED File.. file:/C:/Temp/.maven/cache/maven-scm-plugin-1.5/plugin.jelly Element... scm:status Line.. 192 Column 158 org.apache.maven.scm.manager.ScmManager.status(Lorg/apache/maven/scm/rep ository/ScmRepository;Lorg/apache/maven/scm/ScmFileSet;)Lorg/apache/ maven/scm/command/status/StatusScmResult; org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [scm:prepare-release] -- file:/C:/Temp/.maven/cache/maven-scm-plugin -1.5/plugin.jelly:192:158: org.apache.maven.scm.manager.ScmManager.status(Lorg/apache/maven/scm/rep ository/ScmRepository;Lorg/a pache/maven/scm/ScmFileSet;)Lorg/apache/maven/scm/command/status/StatusS cmResult; at org.apache.maven.werkz.Goal.fire(Goal.java:654) at org.apache.maven.werkz.Goal.attain(Goal.java:582) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:711 ) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:264) at org.apache.maven.cli.App.doMain(App.java:556) at org.apache.maven.cli.App.main(App.java:1411) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Caused by: org.apache.commons.jelly.JellyTagException: file:/C:/Temp/.maven/cache/maven-scm-plugin-1.5/plugin.jelly:192:158: or g.apache.maven.scm.manager.ScmManager.status(Lorg/apache/maven/scm/repos itory/ScmRepository;Lorg/apache/maven/scm/ScmFileSet;)Lorg/apache/ma ven/scm/command/status/StatusScmResult; at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:1 93) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:1 02) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.j ava:82) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAc tion(MavenGoalTag.java:115) at org.apache.maven.werkz.Goal.fire(Goal.java:647) ... 11 more Caused by: java.lang.NoSuchMethodError: org.apache.maven.scm.manager.ScmManager.status(Lorg/apache/maven/scm/rep ository/ScmRepository;Lorg/a pache/maven/scm/ScmFileSet;)Lorg/apache/maven/scm/command/status/StatusS cmResult; at org.apache.maven.plugins.scm.ScmStatusBean.status(ScmStatusBean.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:1 80) ... 16 more Final Memory : 3M/7M -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 11:20 PM To: Maven Users List Subject: Maven 1.1 RC1 SNAPSHOT needs testers Hi everybody, We just deployed a new SNAPSHOT of maven 1.1 RC1 [1]. This version incorporates 2 important changes and we would like to have your feedback : - MAVEN-1755 : We fixed the last main backward incompability with maven 1.0.x, this new version supports XML entities in the POM. - MAVEN-1789 : The default repository is now http://repo1.maven.org/maven/ ( These two issues aren't yet closed because we have to update the documentation and we are waiting for your feedback ;-) ) Be careful, that to use this snapshot version, you'll certainly have to define the following set of remote repositories to download dependencies. maven.repo.remote = http
Re: freehep-nar: status & documentation?
Mark Donszelmann wrote: > Hi > > updating the docs this week. Please mail me in a week if I have not put > them yet. That's excellent news! Thank you very much, -- Max Bowsher <[EMAIL PROTECTED]> http://www.mxtelecom.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: creating different packages for different customers
Marek Chowaniok wrote on Tuesday, October 10, 2006 11:22 AM: > Thanks Jorg, > if I understand it corectly than > product-web-customer will have in pom.xml pom > and the 3 others will have in pom.xml war > and those 3 will have dependecy on the parent ? No, all are wars. Keep the common stuff in one and make the others depednend on it. - Jörg > > thanks > > > > > > Jörg Schaible wrote: >> >> Marek Chowaniok wrote on Tuesday, October 10, 2006 7:36 AM: >> >>> We have separate projects (i.e.product-web-customer, >>> product-web-customer1 and product-web-customer2) with just the >>> different files. i.e. we have 20 jsp pages but just the 2 are >>> defferent and are in separate projects. >>> >>> Right now (not using maven in this project yet) we have to do deploy >>> for product-web-customer and replace files in this deploy with >>> concrete jsp files from different project. >>> >>> I am just starting using maven, so I don't know what the proper way >>> how to do it. And how maven usually handle this situation. >>> >>> So is there something that I would do deploy for >>> product-web-customer and >>> tell maven to add/replace some JSP from different customer project ? >> >> Generate a war artifact for the common stuff and 3 ones for the >> different customers. Let those be dependend on the common war, it >> will merged into the customer's ones. >> >> - Jörg >> >> > - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: docbook plugin
Ok, I fixed my problem with the pre-site phase. It was because I was invoking "mvn site:site" instead of "mvn site", so I was invoking the plug-in instead of the phase. Aleksei asked for the plugin configuration: El 10/10/2006 10:37, Aleksei Valikov escribió: Wilfred, I've searched for about half an hour but could not find any "installation instructuons" for your plugin. Yes I saw some pom fragments - but how do I install/download your plugin? Which pluginRepository should I use? I'd really appreciate a "ready-to-use" sample project. This is my particular POM (notice it contains my own directories configuration): com.agilejava.docbkx docbkx-maven-plugin 1.69.1.7 generate-html generate-pdf pre-site org.docbook docbook-xml 4.4 runtime true true ${basedir}/src/main/site/docbook ${basedir}/target/site/docs agilejava http://www.agilejava.com/maven/ true Hope it helps you, Andrés Viedma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: docbook plugin
Hi Aleksei, I'll add to the manual that - at this stage - you need to add my personal repository (http://agilejava.com/maven/) to your list of repositories. I have been trying to get the plugin uploaded to the central repository, but for some reason you can only upload plugins if you set up an rsync synchronisation process, and I haven't been able to do that yet. In the meanwhile, simply hook up to my own repository. There is in fact a samples project with a sample POM here: http://86.85.236.224/svn/docbkx/trunk/docbkx-samples/pom.xml (However, it's missing the required repository section I'll make sure that's getting added.) Hope it helps. Wilfred -Original Message- From: Aleksei Valikov [mailto:[EMAIL PROTECTED] Sent: Tue 10/10/2006 10:37 AM To: Maven Users List Subject: Re: docbook plugin Wilfred, I've searched for about half an hour but could not find any "installation instructuons" for your plugin. Yes I saw some pom fragments - but how do I install/download your plugin? Which pluginRepository should I use? I'd really appreciate a "ready-to-use" sample project. Bye. /lexi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: creating different packages for different customers
Thanks Jorg, if I understand it corectly than product-web-customer will have in pom.xml pom and the 3 others will have in pom.xml war and those 3 will have dependecy on the parent ? thanks Jörg Schaible wrote: > > Marek Chowaniok wrote on Tuesday, October 10, 2006 7:36 AM: > >> We have separate projects (i.e.product-web-customer, >> product-web-customer1 and product-web-customer2) with just the >> different files. >> i.e. we have 20 jsp pages but just the 2 are defferent and >> are in separate >> projects. >> >> Right now (not using maven in this project yet) we have to do deploy >> for product-web-customer and replace files in this deploy with >> concrete jsp >> files from different project. >> >> I am just starting using maven, so I don't know what the >> proper way how to >> do it. And how maven usually handle this situation. >> >> So is there something that I would do deploy for >> product-web-customer and >> tell maven to add/replace some JSP from different customer project ? > > Generate a war artifact for the common stuff and 3 ones for the different > customers. Let those be dependend on the common war, it will merged into > the customer's ones. > > - Jörg > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/creating-different-packages-for-different-customers-tf2394347.html#a6732925 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Customizing Checkstyle Plugin for M2
Oops sorry, you're right ... = I need to customize the Checkstyle plugin with some new rules. They are written in a package and defined in a configuration XML file. I have follow the M2 recommendations http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html. When i use the mvn checkstyle:checkstyle, i have this M2 error : [INFO] [ERROR] BUILD ERROR [INFO] [INFO] An error has occurred in Checkstyle report generation. Embedded error: Failed during checkstyle configuration TreeWalker is not allowed as a parent of CheckNJ2EE203 [INFO] Thanks for advices. Selon Rolf Strijdhorst <[EMAIL PROTECTED]>: > Sorry, > but what error this is just a link, > I think there went something wrong with your copy-past action > -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Customizing Checkstyle Plugin for M2
Sorry, but what error this is just a link, I think there went something wrong with your copy-past action On 10/10/06, Laetitia Juers <[EMAIL PROTECTED]> wrote: I need to customize the Checkstyle plugin with some new rules. They are written in a package and defined in a configuration XML file. I have follow the M2 recommendations http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html. When i use the mvn checkstyle:checkstyle, i have this M2 error : http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html Thanks for advices. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Does it make sense?
Hey, using Maven 1.0.2 with multiproject, have about 8 sub projects. At the moment each of the sub projects have their own unit tests and are totally independent. My question, does it make sense to break these unit tests out and into a 9th project, a project only for unit tests and testing. I see some pros and cons of this approach and looking for other peoples thoughts/ideas. Pros. - All unit tests in one place, making it perhaps easier to find and add new tests - Can share resources (DB connections, XML files etc...) Cons, - Against convention (?) - Possible cause problems for maven or eclipse if each project has no unit tests - Refactoring / time needed to set this up. A big problem is the amount of copying and pasting in the unit tests and I want to reduce this some way. Cheers, Rob -- View this message in context: http://www.nabble.com/Does-it-make-sense--tf2415263.html#a6732529 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: docbook plugin
Wilfred, I've searched for about half an hour but could not find any "installation instructuons" for your plugin. Yes I saw some pom fragments - but how do I install/download your plugin? Which pluginRepository should I use? I'd really appreciate a "ready-to-use" sample project. Bye. /lexi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Customizing Checkstyle Plugin for M2
I need to customize the Checkstyle plugin with some new rules. They are written in a package and defined in a configuration XML file. I have follow the M2 recommendations http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html. When i use the mvn checkstyle:checkstyle, i have this M2 error : http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html Thanks for advices. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using ant to do the packaging
I think I fixed one problem which was to do with a case issue. I do have ant separately, but I think maven pulls it down automatically. Now the only problem I have remaining is when I have an assembly item with an ID (so the jar becomes -myid.jar), it doesn't appear in the continuum repository (but does in the local user repo..) :( On 09/10/06, r maclean <[EMAIL PROTECTED]> wrote: Hi Nigel: I'm struggling with my Jar packaging...though I cannot offer you a solution, I am just curious to know if you had to install ANT separately and declare it either in the classpath or put the ant jars in the lib as suggested in the Maven2 doc (Better Builds with Maven)...this on top of the ant-plugins? thanks. Nigel Magnay <[EMAIL PROTECTED]> wrote: Hello listers I am binding things like ant tasks into the lifecycle by using the maven-antrun-plugin bound to the package phase. The ant script usually overwrites the target/blah.jar file with something new. This works well, and I get what I expect in the target directory of my build. However, in the continuum repository, I don't get that - I get the jar file that I would have had if I hadn't done the ANT step. I'm assuming this is because the jar file is assembled in some other way - is there a way for me to get it to deploy the right thing ?
Re: docbook plugin
Hi. It depends. You can use mine if you're looking for: * Configuration of the stylesheets using the plugin configuration mechanism; * A solution that has everything included in the actual plugin; (No manual downloading of stylesheets or the DTD) * Entity resolution using entities defined in your POM; * PDF generation; * Man pages generation; * A non-codehaus implementation. http://www.agilejava.com/docbkx/docbkx-maven-plugin/ http://www.agilejava.com/docbkx/docbkx-samples/html/manual.html However, if you want to use Simplified DocBook, then you first need to create a dedicated jar containing the DTD, similar to the DocBook 4.4 version found here: http://www.agilejava.com/maven/org/docbook/docbook-xml/4.4/ (Note that is actually nothing but the DocBook DTD distribution unzipped, jarred and uploaded together with a POM.) The plugin will pick up the catalog file in the jar and use that to dynamically resolve the DTD and all other relevant entities. Thanks, I'll be trying that out. Bye. /lexi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AS400
Maven is 100% pure Java. So if you have Java on your AS400 (which is available from IBM AFAIK) why not just giving it a try and let us all know? ;-) Have Fun Markus Johan Vogelzang schrieb: Does Maven run on AS400 machine's? Thanx begin:vcard fn:Markus KARG n:KARG;Markus org:QUIPSY QUALITY GmbH;Entwicklung / R & D adr:;;Stuttgarter Strasse 23;Pforzheim;Baden-Wuerttemberg;75179;Bundesrepublik Deutschland email;internet:[EMAIL PROTECTED] title:Staatl. gepr. Inf. tel;work:+49-7231-9189-52 tel;fax:+49-7231-9189-59 note:QUIPSY(R) Entwicklung / R & D x-mozilla-html:TRUE url:http://www.quipsy.de version:2.1 end:vcard smime.p7s Description: S/MIME Cryptographic Signature
Re: What is the difference between resources and config?
Hi Manuel, As you, I am really interesting to understand how to use the src/main/config directory. It would be nice to have an example that explains the differences between src/main/resources and src/main/config and how to use them in the maven build. Any help would be great, Thanks, Rémy 2006/10/10, Manuel Ledesma <[EMAIL PROTECTED]>: According to Betters Builds with Maven book * src/main/resource : standard location for application resources (images, etc, and properties files, which can be used for configuration too). * src/main/config : standard location for application configuration files. Src/main/config does look to involve in any of the lifecycle of maven, Can someone explain me the difference? I can see a use in my case, But I don't see how to apply the concept in maven worlds. For example we could use resource to hold configurations, which values do not change from environment-environment (eg: testing, User Acceptance, Staging and Production) and use config to hold configuration for values that change from environment-environment like a database name, etc. The problem I'm having is how I can produce such a jar or a procedure to get all configuration files coming from config directories, apply some filters. I can see probably various solutions for it: 1. Create a plugin, which will produce a jar following some standard, like ${artifactId}-config-${version}, but the problem with this is that maven only outputs and deploys a single file. 2. Create another plugin to push all configuration files under some project directory and use a simple jar for it. I like option 1, but I will need help or hints on how to produce additional jars and deploying too.
RE: Getting started with archiva ... still
Hi Dirk > -Original Message- > From: Dirk Olmes [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 10, 2006 2:02 AM > To: archiva-users@maven.apache.org > Subject: Re: Getting started with archiva ... still > > Dirk Olmes wrote: > > Hi, > > [... first part deleted to focus on my main stumbling point ...] > > > Now I'm trying to start archiva as per "Getting Started" from the > > generated site. I have unpacked the plexus package, started the > > bin/plexus.sh and get the following error when I access the > front page: > > > > WARNUNG: /: > > Unable to find a javac compiler; > > com.sun.tools.javac.Main is not on the classpath. > > Perhaps JAVA_HOME does not point to the JDK > > > > I have taken a brief look at the plexus.sh and verified that the > > variable TOOLS_JAR is setup correctly. Now I'm stuck. > > How would I proceed from here? What do I have to to in order to make > plexus/archiva find my tools.jar? > > -dirk > looking at the plexus.sh I found a source of problem... if [ -z "$JAVA_HOME" ] ; then if [ -e /etc/gentoo-release ] ; then JAVA_HOME=`java-config --jre-home` fi fi as I only have a windows machine I can not check that part but you defenitly need JAVA_HOME to be set to the JDK and not the JRE. The JRE doesn't have the tools.jar in windows... if [ -z "$JAVACMD" ] ; then if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then # IBM's JDK on AIX uses strange locations for the executables JAVACMD="$JAVA_HOME/jre/sh/java" else JAVACMD="$JAVA_HOME/bin/java" fi else JAVACMD=java fi fi this may also be a problem depending on the java.sh used -> maybe '$JAVA_HOME/jre/sh/java' is setting another classpath as '$JAVA_HOME/jre/sh/java' HtH Daniel
AS400
Does Maven run on AS400 machine's? Thanx -- Johan Vogelzang
Re: mvn2: build release
Make a pom which has a list of modules of those projects: ggg-war ggg-ear ... It will find out the order in which to build them etc. This pom is best to be in a directory above the others: ggg/ pom.xml ggg-war/ pom.xml ggg-ear pom.xml and most likely you 'll want to let the modules inherit that pom, making it a parent pom See the free m2 book (see site), there is a chapter about it. Attila Mezei-Horvati wrote, On 2006-10-10 12:39 AM: I am about to finish the port from ant to maven of our project. As a result, I have now a structure of projects, with each one of them having their own pom file. I was wondering how can I do a mvn clean compile/package/install/release from the project main pom so that all dependent projects get a clean recompile. It seems to me that I would need to go to each pom and have them re-compiled. Is there a way to tell maven to recompile all dependent snapshot projects? thanks, Attila __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: Continuum abruptly stopped
You or someone in your team probably sent a kill on continuum: - Executor thread got shutdown signal. 2006-09-25 10:56:33,152 [Thread-0] INFO Continuum - Continuum stopped. Emmanuel Anoop kumar V a écrit : Alright - here is a copy paste... EHLO amp 250-amp.twoliter.com Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg "" DEBUG SMTP: Found extension "PIPELINING", arg "" DEBUG SMTP: Found extension "EXPN", arg "" DEBUG SMTP: Found extension "VERB", arg "" DEBUG SMTP: Found extension "8BITMIME", arg "" DEBUG SMTP: Found extension "SIZE", arg "" DEBUG SMTP: Found extension "DSN", arg "" DEBUG SMTP: Found extension "ETRN", arg "" DEBUG SMTP: Found extension "DELIVERBY", arg "" DEBUG SMTP: Found extension "HELP", arg "" DEBUG SMTP: use8bit false MAIL FROM:<[EMAIL PROTECTED]> 250 2.1.0 <[EMAIL PROTECTED]>... Sender ok RCPT TO:<[EMAIL PROTECTED]> 250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok DEBUG SMTP: Verified Addresses DEBUG SMTP: [EMAIL PROTECTED] DATA 354 Enter mail, end with "." on a line by itself Message-ID: <[EMAIL PROTECTED]> Date: Tue, 19 Sep 06 16:02:28 -0400 From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [continuum] BUILD SUCCESSFUL: CapOne AutoProv (TEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Online report : http://amp.twoliter.com:8080/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/7/buildId/116 Build statistics: State: Ok Previous State: Ok Started at: Tue, 19 Sep 2006 15:57:59 -0400 Finished at: Tue, 19 Sep 2006 16:02:28 -0400 Total time: 4m 28s Build Trigger: Forced Exit code: 0 Building machine hostname: amp Operating system : SunOS(unknown) Java version : 1.4.2_06(Sun Microsystems Inc.) Changes 102.log.txt 103.log.txt 104.log.txt 105.log.txt 106.log.txt 111.log.txt 96.log.txt build image custom/WEB-INF/classes/com/waveset/msgcat/help/user/main- help.html custom/WEB-INF/classes/com/waveset/msgcat/help/user/processLaunch-help.html custom/WEB-INF/classes/com/waveset/msgcat/help/user/processStatus-help.html custom/WEB-INF/classes/com/waveset/msgcat/help/user/processStatusList- help.html custom/WEB-INF/classes/com/waveset/msgcat/help/user/staticUserLogout- help.html custom/WEB-INF/classes/com/waveset/msgcat/help/user/userMaintenance- help.html custom/WEB-INF/classes/com/waveset/msgcat/help/user/workItemEdit-help.html custom/WEB-INF/classes/com/waveset/msgcat/help/user/workItemList-help.html Output: Buildfile: tools/misc/continuum/aptest_build.xml build: -set-properties: [echo] Using Idm staging directory: /usr/opt/idm/cap3test clean: [delete] Deleting directory /tmp/continuum/7/build [delete] Deleting directory /tmp/continuum/7/image -init: [mkdir] Created dir: /tmp/continuum/7/build [mkdir] Created dir: /tmp/continuum/7/build/classes [mkdir] Created dir: /tmp/continuum/7/build/generated_jsp [mkdir] Created dir: /tmp/continuum/7/image compile: [copy] Copying 20 files to /tmp/continuum/7/build/src [copy] Copied 1 empty directory to /tmp/continuum/7/build/src [javac] Compiling 17 source files to /tmp/continuum/7/build/classes [javac] Note: /tmp/continuum/7/build/src/com/capitalone/sara/AuthorizationUtils.java uses or overrides a deprecated API. [javac] Note: Recompile with -deprecation for details. build: dist-delta: [mkdir] Created dir: /tmp/continuum/7/build/emptydir [mkdir] Created dir: /tmp/continuum/7/build/emptydir/META-INF buildTargetIfDefined1: prepare-image: [mkdir] Created dir: /tmp/continuum/7/build/custom-temp [copy] Copying 814 files to /tmp/continuum/7/build/custom-temp [copy] Copied 8 empty directories to /tmp/continuum/7/build/custom-temp fix-eol: build-image: unjarCapone: [copy] Copying 17 files to /tmp/continuum/7/build/custom-temp/WEB-INF/classes [echo] Replacement successful. Creating jar. [copy] Copying 1 file to /tmp/continuum/7/build/custom-temp/WEB-INF/classes [jar] Building jar: /tmp/continuum/7/image/idm-capone.jar [unjar] Expanding: /tmp/continuum/7/image/idm-capone.jar into /usr/opt/idm/cap3test [echo] Copied over the changed files to /usr/opt/idm/cap3test import-customizations: [echo] Importing /usr/opt/idm/cap3test//config/CapOne- Customizations-Maintenance.xml -set-properties: [echo] Using Idm staging directory: /usr/opt/idm/cap3test redeploy: [wldeploy] weblogic.Deployer -noexit -name idm -targets myserver -adminurl http://localhost:7010/console -user weblogi
checkstyle plugin check goal fails with ugly exception instead of nice build failed
Hi when running the checkstyle plugin and some code styles are violated the build fails with an exception. It does not fail nicely like the pmd plugin. Is this supposed to happen like this? thanx Rolf
Resource in-/exclude patterns
Hi folks, This resource in my POM: src/java **/* **/*.java Gives me the following warnings when I do "mvn eclipse:eclipse": [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory. [WARNING] This plugin currently doesn't support exclude patterns for resources. Adding the entire directory. The eclipse plugin of M1 supported this just fine, though. Is there any way we can still get the desired behaviour? Greetings, -- Sybren Stüvel <[EMAIL PROTECTED]> Software Engineer CHESS iBusiness Nieuwe Gracht 13, Haarlem Postbus 5021, 2000 CA Haarlem - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: "mvn eclipse:eclipse"
I had this: ... ... . project.xml Removing this resource fixed the issue. Of course, project.xml is no longer used, so it's no big deal. I find it strange however, that a resource directory entry in the POM inserts a in the .classpath file. Thanks, Sybren Max Cooper wrote: > 'mvn eclipse:eclipse' goal works for me, and it does NOT create an entry > like this: > > > > Is there a setting in your pom.xml file that would lead Maven to believe > that "." is a Java source directory? > > Or perhaps there is a bug in the plugin that only occurs when you don't > follow the Maven directory structure conventions (my project does follow > the conventions). I don't know if such a bug exists. If such a bug > exists, perhaps you could reorganize your directory structure to avoid it. > > -Max > > Sybren Stüvel wrote: >> Hi folks, >> >> When I perform a "mvn eclipse:eclipse" command in our "argus-core" >> project, Eclipse bugs on the generated .classpath file. This is what's >> generated: >> >> >> >> > path="resources/configuration/syst" >> output="target/test-classes"/> >> >> > path="src/test" >> output="target/test-classes"/> >> >> > path="org.eclipse.jdt.launching.JRE_CONTAINER"/> >> > path="M2_REPO/commons-beanutils/commons-beanutils/1.6.1/commons-beanutils-1.6.1.jar"/> >> >> > path="M2_REPO/concurrent/backport-util-concurrent/2.0_01/backport-util-concurrent-2.0_01.jar"/> >> >> [ snipped a lot more .jar files] >> >> >> The error that Eclipse gives me is: >> >> "Cannot nest 'argus-core/resources/configuration/syst' inside >> 'argus-core'. To enable the nesting exclude 'resources/' from >> 'argus-core'" >> >> If I remove this line: >> >> from the .classpath file, Eclipse accepts it and everything works fine. >> >> Is there any way to get M2 to create the proper .classpath in the first >> place? >> >> Greetings, > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Sybren Stüvel <[EMAIL PROTECTED]> Software Engineer CHESS iBusiness Nieuwe Gracht 13, Haarlem Postbus 5021, 2000 CA Haarlem - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: freehep-nar: status & documentation?
Hi updating the docs this week. Please mail me in a week if I have not put them yet. Regards Mark On Oct 9, 2006, at 11:36 AM, Max Bowsher wrote: What is the status of freehep-nar for Maven 2? I've found tantalizing mentions of it in various places, but the freehep-nar site's usage docs are non-existent. Us there any documentation and/or sample code? If necessary, I can dive into the code itself, but I'd much rather get at least *some* sort of overview of its philosophy and feature set before I attempt that. Thanks, -- Max Bowsher <[EMAIL PROTECTED]> http://www.mxtelecom.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Weblogic plugin
Do the other goals work for you? It looks like you might have a snapshot from the old repository. I am headed to Apachecon but will try to look at the code Tuesday after I arrive at the conference. You could also try the 2.9.0 snapshot and just override the weblogic jars to use 8.1 as they should both work with an 8.1 installation providing maven will let you do the override. I have not been in that part of the code for a while so am not sure exactly what the issues is but it is clear that the mojo did not get packaged in to the plugin. Also make sure that your version matches the one in http://snapshots.repository.codehaus.org/org/codehaus/mojo/weblogic-maven-pl ugin/2.8.0-SNAPSHOT/ I have been trying to push up the latest code but am having issues with permissions. If that does not work I can send you a local copy tomorrow. Scott Ryan Chief Technology Officer Soaring Eagle L.L.C. [EMAIL PROTECTED] www.soaringeagleco.com (303) 263-3044 -Original Message- From: Morgovsky, Alexander (US - Glen Mills) [mailto:[EMAIL PROTECTED] Sent: Saturday, October 07, 2006 12:27 AM To: users@maven.apache.org Subject: Weblogic plugin Hi, I am having a problem with using the stop goal of the Weblogic plugin. Here is my error. [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal 'org.codehaus.mojo:weblogic-maven-plugin:2.8.0-SNAPSHOT:stop': Unable to find the mojo 'org.codehaus.mojo:weblogic-maven-plugin:2.8.0-SNAPSHOT:stop' in the plugin 'org.codehaus.mojo:weblogic-maven-plugin' weblogic/utils/compiler/Tool [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'org.codehaus.mojo:weblogic-maven-plugin:2.8.0-SNAPSHOT:stop': Unable to find the mojo 'org.codehaus.mojo:weblogic-maven-plugin:2.8.0-SNAPSHOT:stop' in the plugin 'org.codehaus.mojo:weblogic-m aven-plugin' Here is my pom.xml. org.codehaus.mojo weblogic-maven-plugin 2.8.0-SNAPSHOT stop x x http x x false true true true x I've been trying to solve this for more than 7 hours, I am stuck here. Please help. 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 intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Getting started with archiva ... still
Dirk Olmes a écrit : Dirk Olmes wrote: Hi, [... first part deleted to focus on my main stumbling point ...] Now I'm trying to start archiva as per "Getting Started" from the generated site. I have unpacked the plexus package, started the bin/plexus.sh and get the following error when I access the front page: WARNUNG: /: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK I have taken a brief look at the plexus.sh and verified that the variable TOOLS_JAR is setup correctly. Now I'm stuck. How would I proceed from here? What do I have to to in order to make plexus/archiva find my tools.jar? You need to add tools.jar in the classpath in plexus.sh. File an issue about it and we'll add it later in plexus.sh generation Emmanuel