|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Maven 2.0 POM ProjectI have tried to find info on the site for this, but most of the
documentation links just say "to write." I know this is extreme newbie, but I am very confused about how to get a maven 2.0 project into the build server. Continuum wants the URL of a POM.xml file - is this the actual project POM, or is it a POM I construct just to create the project in the server? If it is the project POM, I feel very uncomfortable putting all of the SCM information in the project file itself. What happens when the project moves to a tag or branch? Does that mean that the POM (and every module POM) has to change to indicate that it is on a branch or tag? I tried to create some build configurations for some common projects (richfaces, and some internal projects that have used maven for a while) and none of them had all the SCM info continuum wanted. Is there any way to create a maven project just using an SVN url, rather than having to go through all the POM files? I almost considering creating ant or shell build scripts that call mvn so I can use the url-based build instead. Brad |
|
|
Re: Maven 2.0 POM ProjectOn Wed, Feb 20, 2008 at 11:11 AM, Brad Smith
<brad.smith@...> wrote: > I know this is extreme newbie, but I am very confused about how to get a > maven 2.0 project into the build server. Continuum wants the URL of a > POM.xml file - is this the actual project POM, or is it a POM I > construct just to create the project in the server? It is the path to the pom of the actual project you are trying to add, which must contain the scm url so that Continuum can check out the code. > If it is the > project POM, I feel very uncomfortable putting all of the SCM > information in the project file itself. What happens when the project > moves to a tag or branch? Does that mean that the POM (and every module > POM) has to change to indicate that it is on a branch or tag? Yes, but the release plugin takes care of updating it to match the tag when you release. I believe one of the plugins has support for branching also. And you only need to put it in the top-level pom as long as the directory names match the artifact ids. -- Wendy |
|
|
Continuum report incorrect build results?When Continuum runs my maven 2 project, it send an email: [continuum] BUILD SUCCESSFUL:, but when I checked the build results I found out the build failed when it was building the last component, so why is Continuum is reporting success when the build failed? Does anyone know how to make Continuum detect this failure and correctly report back this result? The following is the build failed error messages: [javac] 33. ERROR in C:\Auto_Builds\working-directory\12\ csvimport\job\DelimImportJob.java (at line 128) [javac] ls.setCharacterSet(DelimitedLayoutImpl.CHARACTER_SET_EBCIDIC); [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] DelimitedLayoutImpl.CHARACTER_SET_EBCIDIC cannot be resolved BUILD FAILED C:\Auto_Builds\working-directory\12\mabc\build.xml:32: The following error occurred while executing this line: C:\Auto_Builds\working-directory\12\mabc\build.xml:16: The following error occurred while executing this line: C:\Auto_Builds\working-directory\12\mabc\build.xml:291: The following error occurred while executing this line: C:\Auto_Builds\working-directory\12\mabc\build.xml:258: Compile failed; see the compiler error output for details. Total time: 13 seconds [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing command line. Exit code:13 [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 25 minutes 14 seconds [INFO] Finished at: Wed Feb 20 15:23:17 PST 2008 [INFO] Final Memory: 23M/63M [INFO] ------------------------------------------------------------------------ This email and any files transmitted with it are confidential, proprietary and intended solely for the individual or entity to whom they are addressed. If you have received this email in error please delete it immediately. |
|
|
RE: Continuum report incorrect build results?I'm using the following parameters when I run a build: "-Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true install" So is that is why Continuum is reporting success instead of failure? Do I need to set any flags or settings to Continuum? Sameh -----Original Message----- From: Tawfik, Sameh E [mailto:SamehTawfik@...] Sent: Wednesday, February 20, 2008 3:42 PM To: continuum-users@... Subject: Continuum report incorrect build results? When Continuum runs my maven 2 project, it send an email: [continuum] BUILD SUCCESSFUL:, but when I checked the build results I found out the build failed when it was building the last component, so why is Continuum is reporting success when the build failed? Does anyone know how to make Continuum detect this failure and correctly report back this result? The following is the build failed error messages: [javac] 33. ERROR in C:\Auto_Builds\working-directory\12\ csvimport\job\DelimImportJob.java (at line 128) [javac] ls.setCharacterSet(DelimitedLayoutImpl.CHARACTER_SET_EBCIDIC); [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] DelimitedLayoutImpl.CHARACTER_SET_EBCIDIC cannot be resolved BUILD FAILED C:\Auto_Builds\working-directory\12\mabc\build.xml:32: The following error occurred while executing this line: C:\Auto_Builds\working-directory\12\mabc\build.xml:16: The following error occurred while executing this line: C:\Auto_Builds\working-directory\12\mabc\build.xml:291: The following error occurred while executing this line: C:\Auto_Builds\working-directory\12\mabc\build.xml:258: Compile failed; see the compiler error output for details. Total time: 13 seconds [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing command line. Exit code:13 [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 25 minutes 14 seconds [INFO] Finished at: Wed Feb 20 15:23:17 PST 2008 [INFO] Final Memory: 23M/63M [INFO] ------------------------------------------------------------------------ This email and any files transmitted with it are confidential, proprietary and intended solely for the individual or entity to whom they are addressed. If you have received this email in error please delete it immediately. This email and any files transmitted with it are confidential, proprietary and intended solely for the individual or entity to whom they are addressed. If you have received this email in error please delete it immediately. |
|
|
Re: Continuum report incorrect build results?If you use maven 2.0.7, you must patch mvn.bat. It is explains in continuum
FAQs Emmanuel On Thu, Feb 21, 2008 at 12:41 AM, Tawfik, Sameh E <SamehTawfik@...> wrote: > > > When Continuum runs my maven 2 project, it send an email: [continuum] > BUILD SUCCESSFUL:, but when I checked the build results I found out the > build failed when it was building the last component, so why is > Continuum is reporting success when the build failed? > > Does anyone know how to make Continuum detect this failure and correctly > report back this result? > > The following is the build failed error messages: > > [javac] 33. ERROR in C:\Auto_Builds\working-directory\12\ > csvimport\job\DelimImportJob.java (at line 128) > [javac] > ls.setCharacterSet(DelimitedLayoutImpl.CHARACTER_SET_EBCIDIC); > [javac] > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > [javac] DelimitedLayoutImpl.CHARACTER_SET_EBCIDIC cannot be resolved > > > BUILD FAILED > C:\Auto_Builds\working-directory\12\mabc\build.xml:32: The following > error occurred while executing this line: > C:\Auto_Builds\working-directory\12\mabc\build.xml:16: The following > error occurred while executing this line: > C:\Auto_Builds\working-directory\12\mabc\build.xml:291: The following > error occurred while executing this line: > C:\Auto_Builds\working-directory\12\mabc\build.xml:258: Compile failed; > see the compiler error output for details. > > Total time: 13 seconds > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error executing command line. Exit code:13 > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 25 minutes 14 seconds > [INFO] Finished at: Wed Feb 20 15:23:17 PST 2008 > [INFO] Final Memory: 23M/63M > [INFO] > ------------------------------------------------------------------------ > This email and any files transmitted with it are confidential, proprietary > and intended solely for the individual or entity to whom they are > addressed. > If you have received this email in error please delete it immediately. > > |
|
|
Continuum does not launch a build as scheduled?I've two maven 2.0.8 projects that relate to the same product, one is set to retrieve and build from a branch, and the other one is set to retrieve and build from the trunk in Subversion. When I set the schedule to launch the build for each project, Continuum runs the build for the branch project, but when it attempts to launch the build as scheduled for the trunk project nothing happens, the build does not run? Instead of running the build, Continuum displays a message indicating that the project is duplicated in the reactor? But interestingly, I can force the build to run by clicking on the "Build Now" icon! Does anyone knows what is wrong? Here is the message that gets displayed in Apache Continuum command line screen: jvm 1 | 2008-02-22 13:32:58,246 [SocketListener0-1] INFO org.apache.maven.continuum.build.settings.SchedulesActivator:default - Activating schedule MBCD 1.0 trunk Schedule jvm 1 | 2008-02-22 13:32:58,261 [SocketListener0-1] INFO org.apache.maven.continuum.build.settings.SchedulesActivator:default - MBCD 1.0 trunk Schedule: next fire time ->Fri Feb 22 13:34:00 PST 2008 jvm 1 | There was no such logger 'com.opensymphony.xwork.Action:schedule' 6666040. jvm 1 | 2008-02-22 13:34:00,014 [defaultScheduler_Worker-0] INFO org.apache.maven.continuum.build.settings.SchedulesActivator:default - >>>>>>>>>>>>>>>>>>> >> Executing build job (MBCD 1.0 trunk Schedule)... jvm 1 | 2008-02-22 13:34:00,029 [defaultScheduler_Worker-0] WARN org.apache.maven.continuum.Continuum:default - Project 'com.fairisaac.MBCD:MBCD:4.0' is duplicated in the reactor I Also, I'm using the following maven version: C:\Auto_Builds>mvn -v Maven version: 2.0.8 Java version: 1.6.0_01 OS name: "windows 2003" version: "5.2" arch: "x86" Family: "windows" Sameh This email and any files transmitted with it are confidential, proprietary and intended solely for the individual or entity to whom they are addressed. If you have received this email in error please delete it immediately. |
|
|
Re: Continuum does not launch a build as scheduled?Your project in trunk and branch must be different. I mean that the couple
groupId/artifactId/version must be different and scm definition too of course. Emmanuel On Fri, Feb 22, 2008 at 11:37 PM, Tawfik, Sameh E <SamehTawfik@...> wrote: > > I've two maven 2.0.8 projects that relate to the same product, one is > set to retrieve and build from a branch, and the other one is set to > retrieve and build from the trunk in Subversion. > > When I set the schedule to launch the build for each project, Continuum > runs the build for the branch project, but when it attempts to launch > the build as scheduled for the trunk project nothing happens, the build > does not run? > > Instead of running the build, Continuum displays a message indicating > that the project is duplicated in the reactor? But interestingly, I can > force the build to run by clicking on the "Build Now" icon! > > Does anyone knows what is wrong? > > Here is the message that gets displayed in Apache Continuum command line > screen: > > jvm 1 | 2008-02-22 13:32:58,246 [SocketListener0-1] INFO > org.apache.maven.continuum.build.settings.SchedulesActivator:default - > Activating schedule MBCD 1.0 trunk Schedule > jvm 1 | 2008-02-22 13:32:58,261 [SocketListener0-1] INFO > org.apache.maven.continuum.build.settings.SchedulesActivator:default - > MBCD 1.0 trunk Schedule: next fire time ->Fri Feb 22 13:34:00 PST 2008 > jvm 1 | There was no such logger > 'com.opensymphony.xwork.Action:schedule' 6666040. > jvm 1 | 2008-02-22 13:34:00,014 [defaultScheduler_Worker-0] INFO > org.apache.maven.continuum.build.settings.SchedulesActivator:default - > >>>>>>>>>>>>>>>>>>> > >> Executing build job (MBCD 1.0 trunk Schedule)... > jvm 1 | 2008-02-22 13:34:00,029 [defaultScheduler_Worker-0] WARN > org.apache.maven.continuum.Continuum:default - Project > 'com.fairisaac.MBCD:MBCD:4.0' is duplicated in the reactor > > I Also, I'm using the following maven version: > > C:\Auto_Builds>mvn -v > Maven version: 2.0.8 > Java version: 1.6.0_01 > OS name: "windows 2003" version: "5.2" arch: "x86" Family: "windows" > > Sameh > This email and any files transmitted with it are confidential, proprietary > and intended solely for the individual or entity to whom they are > addressed. > If you have received this email in error please delete it immediately. > > |
| Free embeddable forum powered by Nabble | Forum Help |