How do you exclude the generated java files when running appc?
I am using the weblogic-maven-plugin's appc goal to precompile my JSP's inside my .war file. How do you exclude the generated _*.java files from the WEB-INF/classes/jsp_servlet folder? I am trying to keep the size down. Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. 843-849-7476 ext. 6394 843-849-9485 (Fax) ~~ BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 05/02/2007)
Need a quick response concerning the M2 war-plugin (Code cut-off is today)
I have some common JSPs which I need to include in my war, however, they seem to overwrite app specific JSPs of the same name. How can I turn overwrite off so that it will not do this? Example: War -src -main -webapp Common -src -main -webapp War pom.xml: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0.2/version configuration warNamemember/warName outputDirectory${basedir}/../../jar/outputDirectory primaryArtifactfalse/primaryArtifact webResources resource !-- this is relative to the pom.xml directory -- directory${basedir}/../common/src/main/webapp/directory /resource resource !-- Copy in App specific jsps. -- directory${basedir}/src/main/webapp/directory /resource /webResources /configuration /plugin Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. ~~ BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 05/02/2007)
RE: How to run ant tasks in maven 2?
You do not need the target tags. Just use: tasks echo message=testing/ /tasks Doug Tanner -Original Message- From: Baz [mailto:[EMAIL PROTECTED] Sent: Monday, April 30, 2007 8:49 PM To: Maven Users List Subject: SPAM:How to run ant tasks in maven 2? All, I read the page in http://maven.apache.org/plugins/maven-antrun-plugin/usage.html but i still cannot make a simple ant task work in maven 2. Please help. Here is my code: plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasedeploy/phase configuration tasks target name=aaa echo message=Testing/ /target /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: All builds failing suddenly
Thanks for the quick response. One question though, why would it suddenly stop working?? Thanks, Doug Tanner -Original Message- From: Morgovsky, Alexander (US - Glen Mills) [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 10:19 AM To: continuum-users@maven.apache.org Subject: RE: All builds failing suddenly This may help, thanks. -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 10:12 AM To: continuum-users@maven.apache.org Subject: All builds failing suddenly All of our builds running on Continuum are suddenly failing due to the following error: Provider message: The svn command failed. Command output: --- svn: PROPFIND request failed on '/svn/enrollment/trunk/4X/cbm' svn: PROPFIND of '/svn/enrollment/trunk/4X/cbm': authorization failed (http://bfvcs1 http://bfvcs1/ ) The instances have been running as windows services for some time using the Apache server. Has anyone else seen this problem. It started about an hour ago. Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** 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] BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ***
All builds failing suddenly
All of our builds running on Continuum are suddenly failing due to the following error: Provider message: The svn command failed. Command output: --- svn: PROPFIND request failed on '/svn/enrollment/trunk/4X/cbm' svn: PROPFIND of '/svn/enrollment/trunk/4X/cbm': authorization failed (http://bfvcs1 http://bfvcs1/ ) The instances have been running as windows services for some time using the Apache server. Has anyone else seen this problem. It started about an hour ago. Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ***
RE: Tasks aren't run for the maven-antrun-plugin
Can anyone provide me with any help on this? Thanks, Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 1:55 PM To: Maven Users List Subject: Tasks aren't run for the maven-antrun-plugin When I run 'mvn antrun:run', I see the following output in the console: [INFO] [antrun:run] [INFO] Executing tasks [INFO] Executed tasks [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Thu Apr 19 13:50:28 EDT 2007 [INFO] Final Memory: 24M/64M [INFO] Why are my tasks not being run? Here is the plugin in my pom.xml. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.1/version executions execution configuration phasedeploy/phase goals goalrun/goal /goals tasks echo message=Entering build.xml/ ant antfile=build.xml target=svn.commit inheritAll=false/ /tasks /configuration /execution /executions /plugin Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. ** ** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ** * BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tasks aren't run for the maven-antrun-plugin
Answer, apparently configuration needs to be outside the execution tags: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.1/version configuration phasedeploy/phase goals goalrun/goal /goals tasks echo message=Entering build.xml/ ant antfile=build.xml target=svn.commit inheritAll=false/ /tasks /configuration executions execution phasedeploy/phase goals goalrun/goal /goals /execution /executions /plugin Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 7:07 AM To: Maven Users List Subject: RE: Tasks aren't run for the maven-antrun-plugin Can anyone provide me with any help on this? Thanks, Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 1:55 PM To: Maven Users List Subject: Tasks aren't run for the maven-antrun-plugin When I run 'mvn antrun:run', I see the following output in the console: [INFO] [antrun:run] [INFO] Executing tasks [INFO] Executed tasks [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Thu Apr 19 13:50:28 EDT 2007 [INFO] Final Memory: 24M/64M [INFO] Why are my tasks not being run? Here is the plugin in my pom.xml. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.1/version executions execution configuration phasedeploy/phase goals goalrun/goal /goals tasks echo message=Entering build.xml/ ant antfile=build.xml target=svn.commit inheritAll=false/ /tasks /configuration /execution /executions /plugin Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. ** ** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ** * ** ** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ** * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote
Tasks aren't run for the maven-antrun-plugin
When I run 'mvn antrun:run', I see the following output in the console: [INFO] [antrun:run] [INFO] Executing tasks [INFO] Executed tasks [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Thu Apr 19 13:50:28 EDT 2007 [INFO] Final Memory: 24M/64M [INFO] Why are my tasks not being run? Here is the plugin in my pom.xml. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.1/version executions execution configuration phasedeploy/phase goals goalrun/goal /goals tasks echo message=Entering build.xml/ ant antfile=build.xml target=svn.commit inheritAll=false/ /tasks /configuration /execution /executions /plugin Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ***
Problem compiling JSPs
I am using the appc goal of the weblogic-maven-plugin on a .war file, however, I am seeing the following error for every jsp I try to compile: *.jsp:#:#: Package javelin.jsp contains no member type of this name. ... *.jsp:#:#: The qualifier of this name is a package, which cannot contain methods. ... I believe the problem can be fixed if the *.tld files in the *.war/WEB-INF folder are available on the classpath, but I am not sure why they are not seen. Do I need to add anything to the plugin configuration? Here is the plugin, including all the jars that I have found it needs: plugin groupIdorg.codehaus.mojo/groupId artifactIdweblogic-maven-plugin/artifactId version2.9.0-SNAPSHOT/version configuration inputArtifactPath${basedir}/../../jar/broker.war/inputArtifactPath verbosetrue/verbose /configuration executions execution phasepackage/phase goals goalappc/goal /goals /execution /executions dependencies dependency groupIdweblogic/groupId artifactIdxbean/artifactId version9.2.0/version /dependency dependency groupIdweblogic/groupId artifactIdwlxbean/artifactId version9.2/version /dependency dependency groupIdweblogic/groupId artifactIdweblogic-container-binding/artifactId version9.2/version /dependency dependency groupIdweblogic/groupId artifactIdwlw-util/artifactId version9.2/version /dependency dependency groupIdweblogic/groupId artifactIdwlw-langx/artifactId version9.2/version /dependency dependency groupIdweblogic/groupId artifactIdweblogic/artifactId version9.2/version /dependency dependency groupIdcom.sun/groupId artifactIdtools/artifactId version1.5.0/version /dependency dependency groupIdweblogic/groupId artifactIdjavelin/artifactId version9.2/version /dependency dependency groupIdweblogic/groupId artifactIdrt/artifactId version9.2/version /dependency dependency groupIdweblogic/groupId artifactIdbcel/artifactId version5.1/version /dependency dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.1/version /dependency dependency groupIdweblogic/groupId artifactIdweblogic/artifactId version9.2/version /dependency dependency groupIdbf.cbm/groupId artifactIdcbm-support/artifactId versionSNAPSHOT/version /dependency dependency groupIdbf.webapps/groupId artifactIdcommon/artifactId versionSNAPSHOT/version /dependency /dependencies /plugin Has anyone else seen this problem and found a fix? How can I make sure that appc knows where to find the .tld files? Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. 843-849-7476 ext. 6394 843-849-9485 (Fax) BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended
RE: relase plugin, multimodule-project and internal depenencies
You have to change the dependency in Module 2 from version 1.12-Snapshot to 1.12. Doug Tanner -Original Message- From: Bleier Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 7:46 AM To: [EMAIL PROTECTED] Subject: relase plugin, multimodule-project and internal depenencies Hi everyone, It seems that I've got some missunderstanding of the maven2 mechanisms, and I would be thankfull if someone could help me... We have a maven project that consists of several modules. Some of them depend on others. To clarify that, I'll try to sketch our project structure: root |--- pom.xml*1 |--- module1 | |--- pom.xml *2 |--- module2 | |--- pom.xml - depends on module1 ... *1 - packaging: pom, lists submodules in modules, version1.12-SNAPSHOT/version, dependencyManagement entries for the submodules using version${project.version}/version *2 - packaging jar or whatever, parent references the above pom, no version tag for project itself (inherited), dependencies listed without version tags (- dependencyManagement) When building the project during development I executed mvn install in the root folder, and due to the ordering of the modules in the parent pom maven builds one module after the other, installs it in the local repository, and uses it to build the other modules. Everything's fine until here. Now when I use the maven-release plugin and execute release:prepare, the plugin changes the version numbers from say 1.12-SNAPSHOT to 1.12 and then executes the build, but only up to the integration-test lifecycle phase. module1 in my example builds successfully, but the build of module2 fails since module1-1.12.jar is obviously not available in the local repository. What is wrong with my setup? Best regards, __ /homas Bleier -- Thomas Bleier, DI Information Management Austrian Research Centers GmbH - ARC 2444 Seibersdorf, Austria Mobile: +43 (664) 8251279 E-Mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Build error with weblogic-maven-plugin
Answer, you may need more dependencies than me...: plugin groupIdorg.codehaus.mojo/groupId artifactIdweblogic-maven-plugin/artifactId version2.9.0-SNAPSHOT/version configuration inputArtifactPath${basedir}/../../jar/broker.war/inputArtifactPath verbosetrue/verbose /configuration executions execution phasepackage/phase goals goalappc/goal /goals /execution /executions dependencies dependency groupIdweblogic/groupId artifactIdxbean/artifactId version9.2.0/version /dependency dependency groupIdweblogic/groupId artifactIdwlxbean/artifactId version9.2/version /dependency dependency groupIdweblogic/groupId artifactIdweblogic-container-binding/artifactId version9.2/version /dependency dependency groupIdcom.sun/groupId artifactIdtools/artifactId version1.5.0/version /dependency /dependencies /plugin Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 7:09 AM To: Maven Users List Subject: RE: Build error with weblogic-maven-plugin I found this issue, http://jira.codehaus.org/browse/MOJO-585?page=com.atlassian.jira.plugin. system.issuetabpanels:all-tabpanel, while researching my problem. I have tried placing a dependency on the ${WL_HOME}/server/lib/xbean.jar in my pom, scoped as both system and provided (yes it is in my local repo), but I am still receiving the same error. I even see it in my output classpath during compilation, so how can it still be throwing a NoClassDefFoundError? Has anyone had success implementing the weblogic-maven-plugin, specifically version 2.9.0-SNAPSHOT? Thanks, Doug Tanner -Original Message- From: Scott Ryan [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ryan Sent: Thursday, April 12, 2007 10:03 AM To: Maven Users List Subject: Re: Build error with weblogic-maven-plugin Yes that is a bug I am working on. I have some free days over then next week or so and hope to have a solution. There are many jars that need to be included in the APPC and I am trying to find a good way to include them all without forcing you to load all the jars to your repository. I am also testing with 10 as well. I hope to have some good news later this week. Let me know if there is anything else you need. Scott On Apr 12, 2007, at 7:36 AM, Doug Tanner wrote: I am using the 2.9.0-SNAPSHOT. After building my war, I wish to precompile all my JSPs for faster response times. As I understand it, the weblogic-maven-plugin goal weblogic:appc is what I need to use to do this. However, I am getting a no class def found error. From the output of my build I get the following lines, edited to remove non-essential information: [INFO] Weblogic APPC processing beginning for artifact c:\projects\trunk\4x\webapps\broker/../../jar/broker.war [INFO] Detailed Appc settings information AppcMojo[ basicClientJar = false forceGeneration = true keepGenerated = true lineNumbers = false inputArtifactPath = c:\projects\trunk\4x\webapps\broker/../../jar/broker.war outputArtifactPath = null artifacts = [..., bf.webapps:common:jar:SNAPSHOT:compile,...] project Packaging = war verbose = true] [INFO] Using Classpath ...;\maven\localRepository\bf\webapps\common\SNAPSHOT\common- SNAPSHOT.ja r;... Created working directory: c:\DOCUME~1\dtanner\LOCALS~1\Temp\appcgen_broker.war [ERROR] Exception encountered during APPC processing weblogic.utils.compiler.ToolFailureException: com/bea/xml/XmlException This error does not show which file is causing the problem, so I ran java weblogic.appc broker.war from the command line and received this error: There are 1 nested errors: weblogic.servlet.internal.dd.compliance.ComplianceException: The class bf.web.c ommon.ApplicationContextListener referred by the descriptor element listener is not found. Please ensure that it is present
Build error with weblogic-maven-plugin
I am using the 2.9.0-SNAPSHOT. After building my war, I wish to precompile all my JSPs for faster response times. As I understand it, the weblogic-maven-plugin goal weblogic:appc is what I need to use to do this. However, I am getting a no class def found error. From the output of my build I get the following lines, edited to remove non-essential information: [INFO] Weblogic APPC processing beginning for artifact c:\projects\trunk\4x\webapps\broker/../../jar/broker.war [INFO] Detailed Appc settings information AppcMojo[ basicClientJar = false forceGeneration = true keepGenerated = true lineNumbers = false inputArtifactPath = c:\projects\trunk\4x\webapps\broker/../../jar/broker.war outputArtifactPath = null artifacts = [..., bf.webapps:common:jar:SNAPSHOT:compile,...] project Packaging = war verbose = true] [INFO] Using Classpath ...;\maven\localRepository\bf\webapps\common\SNAPSHOT\common-SNAPSHOT.ja r;... Created working directory: c:\DOCUME~1\dtanner\LOCALS~1\Temp\appcgen_broker.war [ERROR] Exception encountered during APPC processing weblogic.utils.compiler.ToolFailureException: com/bea/xml/XmlException This error does not show which file is causing the problem, so I ran java weblogic.appc broker.war from the command line and received this error: There are 1 nested errors: weblogic.servlet.internal.dd.compliance.ComplianceException: The class bf.web.c ommon.ApplicationContextListener referred by the descriptor element listener is not found. Please ensure that it is present in the classpath. However this class is in the common-SNAPSHOT.jar which is inside the Broker.war in WEB-INF/lib. Am I seeing 2 different errors due to the 2 different commands? How can I know from the mvn error which file is causing the problem? Thanks, Doug Tanner BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ***
RE: Build error with weblogic-maven-plugin
Do you have a list of these jars? I'm looking forward to a fix for this, but in the mean time I need to continue working. Thanks, Doug Tanner -Original Message- From: Scott Ryan [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ryan Sent: Thursday, April 12, 2007 10:03 AM To: Maven Users List Subject: Re: Build error with weblogic-maven-plugin Yes that is a bug I am working on. I have some free days over then next week or so and hope to have a solution. There are many jars that need to be included in the APPC and I am trying to find a good way to include them all without forcing you to load all the jars to your repository. I am also testing with 10 as well. I hope to have some good news later this week. Let me know if there is anything else you need. Scott On Apr 12, 2007, at 7:36 AM, Doug Tanner wrote: I am using the 2.9.0-SNAPSHOT. After building my war, I wish to precompile all my JSPs for faster response times. As I understand it, the weblogic-maven-plugin goal weblogic:appc is what I need to use to do this. However, I am getting a no class def found error. From the output of my build I get the following lines, edited to remove non-essential information: [INFO] Weblogic APPC processing beginning for artifact c:\projects\trunk\4x\webapps\broker/../../jar/broker.war [INFO] Detailed Appc settings information AppcMojo[ basicClientJar = false forceGeneration = true keepGenerated = true lineNumbers = false inputArtifactPath = c:\projects\trunk\4x\webapps\broker/../../jar/broker.war outputArtifactPath = null artifacts = [..., bf.webapps:common:jar:SNAPSHOT:compile,...] project Packaging = war verbose = true] [INFO] Using Classpath ...;\maven\localRepository\bf\webapps\common\SNAPSHOT\common- SNAPSHOT.ja r;... Created working directory: c:\DOCUME~1\dtanner\LOCALS~1\Temp\appcgen_broker.war [ERROR] Exception encountered during APPC processing weblogic.utils.compiler.ToolFailureException: com/bea/xml/XmlException This error does not show which file is causing the problem, so I ran java weblogic.appc broker.war from the command line and received this error: There are 1 nested errors: weblogic.servlet.internal.dd.compliance.ComplianceException: The class bf.web.c ommon.ApplicationContextListener referred by the descriptor element listener is not found. Please ensure that it is present in the classpath. However this class is in the common-SNAPSHOT.jar which is inside the Broker.war in WEB-INF/lib. Am I seeing 2 different errors due to the 2 different commands? How can I know from the mvn error which file is causing the problem? Thanks, Doug Tanner ** ** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ** * Scott Ryan CTO Soaring Eagle L.L.C. Denver, Co. 80129 www.soaringeagleco.com www.theryansplace.com (303) 263-3044 [EMAIL PROTECTED] BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Include Common JSPs in multiple wars
How do you include commons JSPs in multiple wars? We have a common module that produces a jar instead of a war, but I need to include all the JSPs in this module in all my other webapps. I tried using the resource tag, but that places the files in WEB-INF/classes. Is there another tag that I am missing from the documentation? Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ***
RE: Include Common JSPs in multiple wars
Directory Structure: Webapps -common -src -main -webapp -[Bunch of JSPs] -pom.xml -module1 -src -main -java -webapp -[Bunch of JSPs] -pom.xml -module2 -src -main -java -webapp -[Bunch of JSPs] -pom.xml How do I include the JSPs from the common module in module1.war and module2.war? Doug Tanner -Original Message- From: Tomasz Pik [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 12:24 PM To: Maven Users List Subject: Re: Include Common JSPs in multiple wars On 4/3/07, Doug Tanner [EMAIL PROTECTED] wrote: How do you include commons JSPs in multiple wars? We have a common module that produces a jar instead of a war, but I need to include all the JSPs in this module in all my other webapps. I tried using the resource tag, but that places the files in WEB-INF/classes. Is there another tag that I am missing from the documentation? There's no way to 'pass' those jsp to your 'war' projects from within 'jar' project (at least I do not know such a way). But you may change packaging of your 'shared' project from 'jar' to 'war'. Then this 'shared' war will contain all required jsp files and compiled classes, under WEB-INF/classes. Then, for your 'war' projects maven will include all of this (both classes and jsp files) in created war and that will be, what are you looking for, HTH, Tomek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Include Common JSPs in multiple wars
Problem solved. Solution: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0/version configuration webResources resource !-- this is relative to the pom.xml directory -- directory../common/src/main/webapp/directory /resource /webResources /configuration /plugin Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 1:00 PM To: Maven Users List Subject: RE: Include Common JSPs in multiple wars Directory Structure: Webapps -common -src -main -webapp -[Bunch of JSPs] -pom.xml -module1 -src -main -java -webapp -[Bunch of JSPs] -pom.xml -module2 -src -main -java -webapp -[Bunch of JSPs] -pom.xml How do I include the JSPs from the common module in module1.war and module2.war? Doug Tanner -Original Message- From: Tomasz Pik [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 12:24 PM To: Maven Users List Subject: Re: Include Common JSPs in multiple wars On 4/3/07, Doug Tanner [EMAIL PROTECTED] wrote: How do you include commons JSPs in multiple wars? We have a common module that produces a jar instead of a war, but I need to include all the JSPs in this module in all my other webapps. I tried using the resource tag, but that places the files in WEB-INF/classes. Is there another tag that I am missing from the documentation? There's no way to 'pass' those jsp to your 'war' projects from within 'jar' project (at least I do not know such a way). But you may change packaging of your 'shared' project from 'jar' to 'war'. Then this 'shared' war will contain all required jsp files and compiled classes, under WEB-INF/classes. Then, for your 'war' projects maven will include all of this (both classes and jsp files) in created war and that will be, what are you looking for, HTH, Tomek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** ** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ** * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to build multiple webapps that share resources
I am currently in the process of refactoring our code in order to switch from building with ant to maven. How can I share resources, such as property files, between multiple webapps? Current directory structure: Webapps -src -java -webapp1 -webapp2 -x.properties -y.properties This is how I am envisioning the maven structure: Webapps -parent.pom.xml -webapp1 -src -main -java -resources -x.properties -y.properties -webapp -jsps -pom.xml -webapp2 -src -main -java -resources -x.properties -y.properties -webapp -jsps -pom.xml Should I be able to have these properties files in a central location such that any number of webapps can include them? Each webapp will be a distinct war file after assembly. Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ***
RE: unlock account
I would imagine that a restart of the service would do it. Doug Tanner -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 7:53 AM To: continuum-users@maven.apache.org Subject: unlock account One of our developers has tried 3 times to enter the continuum webapp with a wrong password, now the admin account is locked. How can I unlock it? BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ***
RE: Show the user who modified a file
I am using SVN... Doug Tanner -Original Message- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:31 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file +1 The scm-cvs provider needs to handle those cases. it's not easy however. if you can, switch to SVN (no kidding, I heard this a couple of times already). Stéphane On 3/1/07, Doug Tanner [EMAIL PROTECTED] wrote: Is there anyway to fix this problem? I really need to know who is checking in files and when they are checking them in. Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:27 AM To: continuum-users@maven.apache.org Subject: RE: Show the user who modified a file Thanks for the response. I am using Subversion-1.3 as my version software. Doug Tanner Operations Engineer Benefitfocus.com, Inc. 843-849-7476 ext. 6394 843-849-9485 (Fax) -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 4:18 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file It's by default, but with some cvs versions, it doesn't work. Doug Tanner a écrit : I know that Continuum will show you who modified files in the build output log when it builds. Is there a setting that needs to be set to make this happen or does it do it by default? I have a couple of projects that do not show who checked in the modified files. Another business unit said they had to download the source and build it locally to get it to work, but I would rather not have to do this. I am using continuum-1.0.3. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended
RE: Show the user who modified a file
Could the problem be that when we upgraded from continuum 1.0.2, we just copied the database folder into the new continuum instance as described in the upgrade guide? Doug Tanner -Original Message- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:45 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file Oh well, it's very weird then. On 3/1/07, Doug Tanner [EMAIL PROTECTED] wrote: I am using SVN... Doug Tanner -Original Message- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:31 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file +1 The scm-cvs provider needs to handle those cases. it's not easy however. if you can, switch to SVN (no kidding, I heard this a couple of times already). Stéphane On 3/1/07, Doug Tanner [EMAIL PROTECTED] wrote: Is there anyway to fix this problem? I really need to know who is checking in files and when they are checking them in. Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:27 AM To: continuum-users@maven.apache.org Subject: RE: Show the user who modified a file Thanks for the response. I am using Subversion-1.3 as my version software. Doug Tanner Operations Engineer Benefitfocus.com, Inc. 843-849-7476 ext. 6394 843-849-9485 (Fax) -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 4:18 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file It's by default, but with some cvs versions, it doesn't work. Doug Tanner a écrit : I know that Continuum will show you who modified files in the build output log when it builds. Is there a setting that needs to be set to make this happen or does it do it by default? I have a couple of projects that do not show who checked in the modified files. Another business unit said they had to download the source and build it locally to get it to work, but I would rather not have to do this. I am using continuum-1.0.3. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you
RE: Show the user who modified a file
Send a message to this list then [EMAIL PROTECTED] Doug Tanner -Original Message- From: murali tharan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 10:03 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file Pls dont send further messages to me On 3/1/07, Stephane Nicoll [EMAIL PROTECTED] wrote: I don't think so. This is related to the SCM API as Emmanuel said. you can debug it by updating your logging config (org.apache.maven.scm in debug output). I did it for CVS and it shows that the command it uses to get the diff does not work on my CVS system. Stéphane On 3/1/07, Doug Tanner [EMAIL PROTECTED] wrote: Could the problem be that when we upgraded from continuum 1.0.2, we just copied the database folder into the new continuum instance as described in the upgrade guide? Doug Tanner -Original Message- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:45 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file Oh well, it's very weird then. On 3/1/07, Doug Tanner [EMAIL PROTECTED] wrote: I am using SVN... Doug Tanner -Original Message- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:31 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file +1 The scm-cvs provider needs to handle those cases. it's not easy however. if you can, switch to SVN (no kidding, I heard this a couple of times already). Stéphane On 3/1/07, Doug Tanner [EMAIL PROTECTED] wrote: Is there anyway to fix this problem? I really need to know who is checking in files and when they are checking them in. Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:27 AM To: continuum-users@maven.apache.org Subject: RE: Show the user who modified a file Thanks for the response. I am using Subversion-1.3 as my version software. Doug Tanner Operations Engineer Benefitfocus.com, Inc. 843-849-7476 ext. 6394 843-849-9485 (Fax) -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 4:18 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file It's by default, but with some cvs versions, it doesn't work. Doug Tanner a écrit : I know that Continuum will show you who modified files in the build output log when it builds. Is there a setting that needs to be set to make this happen or does it do it by default? I have a couple of projects that do not show who checked in the modified files. Another business unit said they had to download the source and build it locally to get it to work, but I would rather not have to do this. I am using continuum-1.0.3. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies
RE: Show the user who modified a file
I am pretty new to continuum, but I am assuming this is the logger manager section in the application.xml? Doug Tanner -Original Message- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:54 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file I don't think so. This is related to the SCM API as Emmanuel said. you can debug it by updating your logging config (org.apache.maven.scm in debug output). I did it for CVS and it shows that the command it uses to get the diff does not work on my CVS system. Stéphane On 3/1/07, Doug Tanner [EMAIL PROTECTED] wrote: Could the problem be that when we upgraded from continuum 1.0.2, we just copied the database folder into the new continuum instance as described in the upgrade guide? Doug Tanner -Original Message- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:45 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file Oh well, it's very weird then. On 3/1/07, Doug Tanner [EMAIL PROTECTED] wrote: I am using SVN... Doug Tanner -Original Message- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:31 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file +1 The scm-cvs provider needs to handle those cases. it's not easy however. if you can, switch to SVN (no kidding, I heard this a couple of times already). Stéphane On 3/1/07, Doug Tanner [EMAIL PROTECTED] wrote: Is there anyway to fix this problem? I really need to know who is checking in files and when they are checking them in. Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:27 AM To: continuum-users@maven.apache.org Subject: RE: Show the user who modified a file Thanks for the response. I am using Subversion-1.3 as my version software. Doug Tanner Operations Engineer Benefitfocus.com, Inc. 843-849-7476 ext. 6394 843-849-9485 (Fax) -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 4:18 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file It's by default, but with some cvs versions, it doesn't work. Doug Tanner a écrit : I know that Continuum will show you who modified files in the build output log when it builds. Is there a setting that needs to be set to make this happen or does it do it by default? I have a couple of projects that do not show who checked in the modified files. Another business unit said they had to download the source and build it locally to get it to work, but I would rather not have to do this. I am using continuum-1.0.3. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005
RE: Show the user who modified a file
I found this thread in the archives, http://www.mail-archive.com/continuum-users@maven.apache.org/msg01291.html. I would have to disagree to it showing the user when there is only a single commit. I have had several builds with only 1 commit that did not show the information I am want in the build email/results. Has no one else had this problem?? Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 2:36 PM To: continuum-users@maven.apache.org Subject: RE: Show the user who modified a file I am pretty new to continuum, but I am assuming this is the logger manager section in the application.xml? Doug Tanner -Original Message- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:54 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file I don't think so. This is related to the SCM API as Emmanuel said. you can debug it by updating your logging config (org.apache.maven.scm in debug output). I did it for CVS and it shows that the command it uses to get the diff does not work on my CVS system. Stéphane On 3/1/07, Doug Tanner [EMAIL PROTECTED] wrote: Could the problem be that when we upgraded from continuum 1.0.2, we just copied the database folder into the new continuum instance as described in the upgrade guide? Doug Tanner -Original Message- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:45 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file Oh well, it's very weird then. On 3/1/07, Doug Tanner [EMAIL PROTECTED] wrote: I am using SVN... Doug Tanner -Original Message- From: Stephane Nicoll [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 9:31 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file +1 The scm-cvs provider needs to handle those cases. it's not easy however. if you can, switch to SVN (no kidding, I heard this a couple of times already). Stéphane On 3/1/07, Doug Tanner [EMAIL PROTECTED] wrote: Is there anyway to fix this problem? I really need to know who is checking in files and when they are checking them in. Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:27 AM To: continuum-users@maven.apache.org Subject: RE: Show the user who modified a file Thanks for the response. I am using Subversion-1.3 as my version software. Doug Tanner Operations Engineer Benefitfocus.com, Inc. 843-849-7476 ext. 6394 843-849-9485 (Fax) -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 4:18 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file It's by default, but with some cvs versions, it doesn't work. Doug Tanner a écrit : I know that Continuum will show you who modified files in the build output log when it builds. Is there a setting that needs to be set to make this happen or does it do it by default? I have a couple of projects that do not show who checked in the modified files. Another business unit said they had to download the source and build it locally to get it to work, but I would rather not have to do this. I am using continuum-1.0.3. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its
RE: Show the user who modified a file
Is there anyway to fix this problem? I really need to know who is checking in files and when they are checking them in. Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:27 AM To: continuum-users@maven.apache.org Subject: RE: Show the user who modified a file Thanks for the response. I am using Subversion-1.3 as my version software. Doug Tanner Operations Engineer Benefitfocus.com, Inc. 843-849-7476 ext. 6394 843-849-9485 (Fax) -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 4:18 AM To: continuum-users@maven.apache.org Subject: Re: Show the user who modified a file It's by default, but with some cvs versions, it doesn't work. Doug Tanner a écrit : I know that Continuum will show you who modified files in the build output log when it builds. Is there a setting that needs to be set to make this happen or does it do it by default? I have a couple of projects that do not show who checked in the modified files. Another business unit said they had to download the source and build it locally to get it to work, but I would rather not have to do this. I am using continuum-1.0.3. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ***
Problem building an ear with the assembly-plugin
I am receiving the following error while trying to package my project into an ear using the assembly-plugin. Error creating assembly: appxml attribute is required I am unable to find any information on how to incorporate an application.xml using this plugin. We have one in source code that we currently use while building with Ant, however, I am experimenting with maven as we would like to eventually move to building with maven. Any help would be greatly appreciated. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ***
RE: Problem building with Continuum
I can successfully build from the command line on the box where my repositories and continuum instances live, however, I cannot build from the command line from any other machine due to the same error. This would lead me to believe that there is a corruption in my maven install since it has been working fine for months. Any help would be greatly appreciated. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 1:53 PM To: continuum-users@maven.apache.org Subject: Problem building with Continuum Today, I began experiencing build problems with Continuum due to the following error. The pom in question is in the repository. I have tried deleting the file from the repo and adding it back in to no avail. Below the error message is my m2 settings.xml file. org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping metadata. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:117) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectory ContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction .java:64) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( DefaultBuildController.java:273) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec uteTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut orRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run()V(Unknown Source) Caused by: org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelperExceptio n: Cannot build maven project from D:\continuum\security\continuum-1.0.3\apps\continuum\working-directory\1 27\pom.xml (Cannot find parent: bf.platform:bf.platform.parent for project: bf.enrollmentweb.portal:portal:war:SNAPSHOT). at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. getMavenProject(DefaultMavenBuilderHelper.java:339) at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. mapMetadataToProject(DefaultMavenBuilderHelper.java:112) at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:113) ... 5 more Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: bf.platform:bf.platform.parent for project: bf.enrollmentweb.portal:portal:war:SNAPSHOT at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa ultMavenProjectBuilder.java:1161) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Defaul tMavenProjectBuilder.java:674) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileI nternal(DefaultMavenProjectBuilder.java:416) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenPr ojectBuilder.java:201) at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. getMavenProject(DefaultMavenBuilderHelper.java:306) ... 7 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'bf.platform:bf.platform.parent' not found in repository: Unable to download the artifact from any repository bf.platform:bf.platform.parent:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit ory(DefaultMavenProjectBuilder.java:513) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa ultMavenProjectBuilder.java:1157) ... 11 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository bf.platform:bf.platform.parent:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:136) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit ory(DefaultMavenProjectBuilder.java:467) ... 12 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Defaul tWagonManager.java:260) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:124) ... 14 more settings.xml settings localRepository/maven/localRepository/localRepository mirrors mirror idBf proxy/id mirrorOfcentral/mirrorOf nameBF proxy repository/name
RE: Problem building with Continuum
I was able to build from my local machine. I had forgotten to change my settings.xml for maven. After copying the settings.xml from my continuum build box, I can successfully build via the command line. So this brings me back to a missing or corrupt setting in Continuum that is not looking at the right repo. Doug Tanner Operations Engineer Benefitfocus.com, Inc. -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:26 AM To: continuum-users@maven.apache.org Subject: RE: Problem building with Continuum I can successfully build from the command line on the box where my repositories and continuum instances live, however, I cannot build from the command line from any other machine due to the same error. This would lead me to believe that there is a corruption in my maven install since it has been working fine for months. Any help would be greatly appreciated. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 1:53 PM To: continuum-users@maven.apache.org Subject: Problem building with Continuum Today, I began experiencing build problems with Continuum due to the following error. The pom in question is in the repository. I have tried deleting the file from the repo and adding it back in to no avail. Below the error message is my m2 settings.xml file. org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping metadata. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:117) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectory ContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction .java:64) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( DefaultBuildController.java:273) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec uteTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut orRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run()V(Unknown Source) Caused by: org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelperExceptio n: Cannot build maven project from D:\continuum\security\continuum-1.0.3\apps\continuum\working-directory\1 27\pom.xml (Cannot find parent: bf.platform:bf.platform.parent for project: bf.enrollmentweb.portal:portal:war:SNAPSHOT). at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. getMavenProject(DefaultMavenBuilderHelper.java:339) at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. mapMetadataToProject(DefaultMavenBuilderHelper.java:112) at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:113) ... 5 more Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: bf.platform:bf.platform.parent for project: bf.enrollmentweb.portal:portal:war:SNAPSHOT at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa ultMavenProjectBuilder.java:1161) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Defaul tMavenProjectBuilder.java:674) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileI nternal(DefaultMavenProjectBuilder.java:416) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenPr ojectBuilder.java:201) at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. getMavenProject(DefaultMavenBuilderHelper.java:306) ... 7 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'bf.platform:bf.platform.parent' not found in repository: Unable to download the artifact from any repository bf.platform:bf.platform.parent:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit ory(DefaultMavenProjectBuilder.java:513) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa ultMavenProjectBuilder.java:1157) ... 11 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository bf.platform:bf.platform.parent:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:136) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit ory(DefaultMavenProjectBuilder.java:467
RE: Problem building with Continuum
Problem resolved. The local system user on my build box was missing the repository folder under C:/Documents and Settings/Default User/.m2. The only file in this folder is the parent pom.xml. Does anyone know why this file must be in here instead of the 'regular' repositories? Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. 843-849-7476 ext. 6394 843-849-9485 (Fax) -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:45 AM To: continuum-users@maven.apache.org; users@maven.apache.org Subject: RE: Problem building with Continuum I was able to build from my local machine. I had forgotten to change my settings.xml for maven. After copying the settings.xml from my continuum build box, I can successfully build via the command line. So this brings me back to a missing or corrupt setting in Continuum that is not looking at the right repo. Doug Tanner Operations Engineer Benefitfocus.com, Inc. -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:26 AM To: continuum-users@maven.apache.org Subject: RE: Problem building with Continuum I can successfully build from the command line on the box where my repositories and continuum instances live, however, I cannot build from the command line from any other machine due to the same error. This would lead me to believe that there is a corruption in my maven install since it has been working fine for months. Any help would be greatly appreciated. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 1:53 PM To: continuum-users@maven.apache.org Subject: Problem building with Continuum Today, I began experiencing build problems with Continuum due to the following error. The pom in question is in the repository. I have tried deleting the file from the repo and adding it back in to no avail. Below the error message is my m2 settings.xml file. org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping metadata. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:117) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectory ContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction .java:64) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( DefaultBuildController.java:273) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec uteTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut orRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run()V(Unknown Source) Caused by: org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelperExceptio n: Cannot build maven project from D:\continuum\security\continuum-1.0.3\apps\continuum\working-directory\1 27\pom.xml (Cannot find parent: bf.platform:bf.platform.parent for project: bf.enrollmentweb.portal:portal:war:SNAPSHOT). at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. getMavenProject(DefaultMavenBuilderHelper.java:339) at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. mapMetadataToProject(DefaultMavenBuilderHelper.java:112) at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:113) ... 5 more Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: bf.platform:bf.platform.parent for project: bf.enrollmentweb.portal:portal:war:SNAPSHOT at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa ultMavenProjectBuilder.java:1161) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Defaul tMavenProjectBuilder.java:674) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileI nternal(DefaultMavenProjectBuilder.java:416) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenPr ojectBuilder.java:201) at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. getMavenProject(DefaultMavenBuilderHelper.java:306) ... 7 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'bf.platform:bf.platform.parent' not found in repository: Unable to download the artifact from any repository bf.platform:bf.platform.parent:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit ory(DefaultMavenProjectBuilder.java:513) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa ultMavenProjectBuilder.java:1157
FW: Problem building with Continuum
Below are emails I have sent to the Continuum mailing list, but since it seems that there is a problem with my maven repositories, at least one of them anyways, I thought I would forward these emails to this user-list as well. If anyone can provide any help I would greatly appreciate it. I am kind of in a bind due to several builds failing because of the error described below. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:26 AM To: continuum-users@maven.apache.org Subject: RE: Problem building with Continuum I can successfully build from the command line on the box where my repositories and continuum instances live, however, I cannot build from the command line from any other machine due to the same error. This would lead me to believe that there is a corruption in my maven install since it has been working fine for months. Any help would be greatly appreciated. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 1:53 PM To: continuum-users@maven.apache.org Subject: Problem building with Continuum Today, I began experiencing build problems with Continuum due to the following error. The pom in question is in the repository. I have tried deleting the file from the repo and adding it back in to no avail. Below the error message is my m2 settings.xml file. org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping metadata. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:117) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectory ContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction .java:64) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( DefaultBuildController.java:273) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec uteTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut orRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run()V(Unknown Source) Caused by: org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelperExceptio n: Cannot build maven project from D:\continuum\security\continuum-1.0.3\apps\continuum\working-directory\1 27\pom.xml (Cannot find parent: bf.platform:bf.platform.parent for project: bf.enrollmentweb.portal:portal:war:SNAPSHOT). at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. getMavenProject(DefaultMavenBuilderHelper.java:339) at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. mapMetadataToProject(DefaultMavenBuilderHelper.java:112) at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:113) ... 5 more Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: bf.platform:bf.platform.parent for project: bf.enrollmentweb.portal:portal:war:SNAPSHOT at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa ultMavenProjectBuilder.java:1161) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Defaul tMavenProjectBuilder.java:674) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileI nternal(DefaultMavenProjectBuilder.java:416) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenPr ojectBuilder.java:201) at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. getMavenProject(DefaultMavenBuilderHelper.java:306) ... 7 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'bf.platform:bf.platform.parent' not found in repository: Unable to download the artifact from any repository bf.platform:bf.platform.parent:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit ory(DefaultMavenProjectBuilder.java:513) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa ultMavenProjectBuilder.java:1157) ... 11 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository bf.platform:bf.platform.parent:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:136) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:63
RE: Problem building with Continuum
I was able to build from my local machine. I had forgotten to change my settings.xml for maven. After copying the settings.xml from my continuum build box, I can successfully build via the command line. So this brings me back to a missing or corrupt setting in Continuum that is not looking at the right repo. Doug Tanner Operations Engineer Benefitfocus.com, Inc. -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:26 AM To: continuum-users@maven.apache.org Subject: RE: Problem building with Continuum I can successfully build from the command line on the box where my repositories and continuum instances live, however, I cannot build from the command line from any other machine due to the same error. This would lead me to believe that there is a corruption in my maven install since it has been working fine for months. Any help would be greatly appreciated. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 1:53 PM To: continuum-users@maven.apache.org Subject: Problem building with Continuum Today, I began experiencing build problems with Continuum due to the following error. The pom in question is in the repository. I have tried deleting the file from the repo and adding it back in to no avail. Below the error message is my m2 settings.xml file. org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping metadata. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:117) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectory ContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction .java:64) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( DefaultBuildController.java:273) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec uteTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut orRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run()V(Unknown Source) Caused by: org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelperExceptio n: Cannot build maven project from D:\continuum\security\continuum-1.0.3\apps\continuum\working-directory\1 27\pom.xml (Cannot find parent: bf.platform:bf.platform.parent for project: bf.enrollmentweb.portal:portal:war:SNAPSHOT). at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. getMavenProject(DefaultMavenBuilderHelper.java:339) at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. mapMetadataToProject(DefaultMavenBuilderHelper.java:112) at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:113) ... 5 more Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: bf.platform:bf.platform.parent for project: bf.enrollmentweb.portal:portal:war:SNAPSHOT at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa ultMavenProjectBuilder.java:1161) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Defaul tMavenProjectBuilder.java:674) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileI nternal(DefaultMavenProjectBuilder.java:416) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenPr ojectBuilder.java:201) at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. getMavenProject(DefaultMavenBuilderHelper.java:306) ... 7 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'bf.platform:bf.platform.parent' not found in repository: Unable to download the artifact from any repository bf.platform:bf.platform.parent:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit ory(DefaultMavenProjectBuilder.java:513) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa ultMavenProjectBuilder.java:1157) ... 11 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository bf.platform:bf.platform.parent:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:136) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defau ltArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit ory(DefaultMavenProjectBuilder.java:467
RE: Problem building with Continuum
Problem resolved. The local system user on my build box was missing the repository folder under C:/Documents and Settings/Default User/.m2. The only file in this folder is the parent pom.xml. Does anyone know why this file must be in here instead of the 'regular' repositories? Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. 843-849-7476 ext. 6394 843-849-9485 (Fax) -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:45 AM To: continuum-users@maven.apache.org; users@maven.apache.org Subject: RE: Problem building with Continuum I was able to build from my local machine. I had forgotten to change my settings.xml for maven. After copying the settings.xml from my continuum build box, I can successfully build via the command line. So this brings me back to a missing or corrupt setting in Continuum that is not looking at the right repo. Doug Tanner Operations Engineer Benefitfocus.com, Inc. -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 7:26 AM To: continuum-users@maven.apache.org Subject: RE: Problem building with Continuum I can successfully build from the command line on the box where my repositories and continuum instances live, however, I cannot build from the command line from any other machine due to the same error. This would lead me to believe that there is a corruption in my maven install since it has been working fine for months. Any help would be greatly appreciated. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 1:53 PM To: continuum-users@maven.apache.org Subject: Problem building with Continuum Today, I began experiencing build problems with Continuum due to the following error. The pom in question is in the repository. I have tried deleting the file from the repo and adding it back in to no avail. Below the error message is my m2 settings.xml file. org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Error while mapping metadata. at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:117) at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectory ContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction .java:64) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( DefaultBuildController.java:273) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec uteTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut orRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run()V(Unknown Source) Caused by: org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelperExceptio n: Cannot build maven project from D:\continuum\security\continuum-1.0.3\apps\continuum\working-directory\1 27\pom.xml (Cannot find parent: bf.platform:bf.platform.parent for project: bf.enrollmentweb.portal:portal:war:SNAPSHOT). at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. getMavenProject(DefaultMavenBuilderHelper.java:339) at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. mapMetadataToProject(DefaultMavenBuilderHelper.java:112) at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda teProjectFromCheckOut(MavenTwoBuildExecutor.java:113) ... 5 more Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: bf.platform:bf.platform.parent for project: bf.enrollmentweb.portal:portal:war:SNAPSHOT at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa ultMavenProjectBuilder.java:1161) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Defaul tMavenProjectBuilder.java:674) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileI nternal(DefaultMavenProjectBuilder.java:416) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenPr ojectBuilder.java:201) at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelper. getMavenProject(DefaultMavenBuilderHelper.java:306) ... 7 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'bf.platform:bf.platform.parent' not found in repository: Unable to download the artifact from any repository bf.platform:bf.platform.parent:pom:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit ory(DefaultMavenProjectBuilder.java:513) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(Defa ultMavenProjectBuilder.java:1157
Show the user who modified a file
I know that Continuum will show you who modified files in the build output log when it builds. Is there a setting that needs to be set to make this happen or does it do it by default? I have a couple of projects that do not show who checked in the modified files. Another business unit said they had to download the source and build it locally to get it to work, but I would rather not have to do this. I am using continuum-1.0.3. Thanks, Doug Tanner Operations Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ***
Problem building with Continuum
/repository /repositories pluginRepositories pluginRepository idBf proxy/id nameBF proxy repository/name urlhttp://bfvcs1:/repository/url layoutdefault/layout snapshots enabledtrue/enabled updatePolicyalways/updatePolicy /snapshots /pluginRepository /pluginRepositories /profile /profiles /settings Doug Tanner Operations Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ***