Re: Ear plugin issue
On Thu, Aug 26, 2010 at 7:36 PM, nishant@hsbcib.com wrote: Just that unable to find clientModule That's just not enough. Provide the output of mvn dependency:list and the log of your build (mvn package output.log) Stephane Nicoll stephane.nic...@gmail.com Aug 26 2010 18:35 Mail Size: 10664 Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Ear plugin issue Entity HSBC Bank plc - HBEU What error message do you get exactly? ClientModules is not a dependency of the project or something else? S. On Thu, Aug 26, 2010 at 4:20 PM, nishant@hsbcib.com wrote: It seems the attachments are not allowed. I have included the ear pom below.. ** project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion parent artifactIdProjectX/artifactId groupIdroot/groupId version1.0/version /parent groupIdroot.ProjectX/groupId artifactIdEarAssembler/artifactId version1.0/version nameEarAssembler/name packagingear/packaging build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId version2.4.2/version configuration modules jarModule groupIdroot.ProjectX/groupId artifactIdClientModules/artifactId /jarModule /modules archive manifest addClasspathtrue/addClasspath /manifest /archive /configuration /plugin /plugins /build dependencies dependency groupIdroot.ProjectX/groupId artifactIdClientModules/artifactId version1.0/version /dependency /dependencies /project ** Thanks Nishant RAJ/HBEU/h...@hsbc Aug 26 2010 15:17 Mail Size: 8020 Please respond to Maven Users List users@maven.apache.org To users@maven.apache.org cc Subject Ear plugin issue Entity HSBC Bank plc - HBEU Hi All, I am trying to get the ear plugin working. Followed all the guidelines but could not get it working as its not able to find the module that I want to package within the ear It looks for the module in my nexus repository but does not find it. I have also got the Resolve workspace project dependencies enables in eclipse. Pom is attached. Please advice as I have been struggling with the same for few hrs now. Thanks Nishant HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information
Ear plugin issue
Hi All, I am trying to get the ear plugin working. Followed all the guidelines but could not get it working as its not able to find the module that I want to package within the ear It looks for the module in my nexus repository but does not find it. I have also got the Resolve workspace project dependencies enables in eclipse. Pom is attached. Please advice as I have been struggling with the same for few hrs now. Thanks Nishant HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Ear plugin issue
It seems the attachments are not allowed. I have included the ear pom below.. ** project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion parent artifactIdProjectX/artifactId groupIdroot/groupId version1.0/version /parent groupIdroot.ProjectX/groupId artifactIdEarAssembler/artifactId version1.0/version nameEarAssembler/name packagingear/packaging build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId version2.4.2/version configuration modules jarModule groupIdroot.ProjectX/groupId artifactIdClientModules/artifactId /jarModule /modules archive manifest addClasspathtrue/addClasspath /manifest /archive /configuration /plugin /plugins /build dependencies dependency groupIdroot.ProjectX/groupId artifactIdClientModules/artifactId version1.0/version /dependency /dependencies /project ** Thanks Nishant RAJ/HBEU/h...@hsbc Aug 26 2010 15:17 Mail Size: 8020 Please respond to Maven Users List users@maven.apache.org To users@maven.apache.org cc Subject Ear plugin issue Entity HSBC Bank plc - HBEU Hi All, I am trying to get the ear plugin working. Followed all the guidelines but could not get it working as its not able to find the module that I want to package within the ear It looks for the module in my nexus repository but does not find it. I have also got the Resolve workspace project dependencies enables in eclipse. Pom is attached. Please advice as I have been struggling with the same for few hrs now. Thanks Nishant HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy.
Re: Ear plugin issue
In jarModule add bundleFileName${project.artifactId}-${project.version}.jar/bundleFileName and make sure your project in Eclipse is named using the [artifactId]-[version] Name Template. Tim McGinnis 717 720-1962 Web Development AES/PHEAA From: nishant@hsbcib.com To: Maven Users List users@maven.apache.org Cc: users@maven.apache.org Date: 08/26/2010 10:21 AM Subject: Re: Ear plugin issue It seems the attachments are not allowed. I have included the ear pom below.. ** project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion parent artifactIdProjectX/artifactId groupIdroot/groupId version1.0/version /parent groupIdroot.ProjectX/groupId artifactIdEarAssembler/artifactId version1.0/version nameEarAssembler/name packagingear/packaging build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId version2.4.2/version configuration modules jarModule groupIdroot.ProjectX/groupId artifactIdClientModules/artifactId /jarModule /modules archive manifest addClasspathtrue/addClasspath /manifest /archive /configuration /plugin /plugins /build dependencies dependency groupIdroot.ProjectX/groupId artifactIdClientModules/artifactId version1.0/version /dependency /dependencies /project ** Thanks Nishant RAJ/HBEU/h...@hsbc Aug 26 2010 15:17 Mail Size: 8020 Please respond to Maven Users List users@maven.apache.org To users@maven.apache.org cc Subject Ear plugin issue Entity HSBC Bank plc - HBEU Hi All, I am trying to get the ear plugin working. Followed all the guidelines but could not get it working as its not able to find the module that I want to package within the ear It looks for the module in my nexus repository but does not find it. I have also got the Resolve workspace project dependencies enables in eclipse. Pom is attached. Please advice as I have been struggling with the same for few hrs now. Thanks Nishant HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts
Re: Ear plugin issue
What error message do you get exactly? ClientModules is not a dependency of the project or something else? S. On Thu, Aug 26, 2010 at 4:20 PM, nishant@hsbcib.com wrote: It seems the attachments are not allowed. I have included the ear pom below.. ** project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion parent artifactIdProjectX/artifactId groupIdroot/groupId version1.0/version /parent groupIdroot.ProjectX/groupId artifactIdEarAssembler/artifactId version1.0/version nameEarAssembler/name packagingear/packaging build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId version2.4.2/version configuration modules jarModule groupIdroot.ProjectX/groupId artifactIdClientModules/artifactId /jarModule /modules archive manifest addClasspathtrue/addClasspath /manifest /archive /configuration /plugin /plugins /build dependencies dependency groupIdroot.ProjectX/groupId artifactIdClientModules/artifactId version1.0/version /dependency /dependencies /project ** Thanks Nishant RAJ/HBEU/h...@hsbc Aug 26 2010 15:17 Mail Size: 8020 Please respond to Maven Users List users@maven.apache.org To users@maven.apache.org cc Subject Ear plugin issue Entity HSBC Bank plc - HBEU Hi All, I am trying to get the ear plugin working. Followed all the guidelines but could not get it working as its not able to find the module that I want to package within the ear It looks for the module in my nexus repository but does not find it. I have also got the Resolve workspace project dependencies enables in eclipse. Pom is attached. Please advice as I have been struggling with the same for few hrs now. Thanks Nishant HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy.
Re: Ear plugin issue
Just that unable to find clientModule Stephane Nicoll stephane.nic...@gmail.com Aug 26 2010 18:35 Mail Size: 10664 Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Ear plugin issue Entity HSBC Bank plc - HBEU What error message do you get exactly? ClientModules is not a dependency of the project or something else? S. On Thu, Aug 26, 2010 at 4:20 PM, nishant@hsbcib.com wrote: It seems the attachments are not allowed. I have included the ear pom below.. ** project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion parent artifactIdProjectX/artifactId groupIdroot/groupId version1.0/version /parent groupIdroot.ProjectX/groupId artifactIdEarAssembler/artifactId version1.0/version nameEarAssembler/name packagingear/packaging build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId version2.4.2/version configuration modules jarModule groupIdroot.ProjectX/groupId artifactIdClientModules/artifactId /jarModule /modules archive manifest addClasspathtrue/addClasspath /manifest /archive /configuration /plugin /plugins /build dependencies dependency groupIdroot.ProjectX/groupId artifactIdClientModules/artifactId version1.0/version /dependency /dependencies /project ** Thanks Nishant RAJ/HBEU/h...@hsbc Aug 26 2010 15:17 Mail Size: 8020 Please respond to Maven Users List users@maven.apache.org To users@maven.apache.org cc Subject Ear plugin issue Entity HSBC Bank plc - HBEU Hi All, I am trying to get the ear plugin working. Followed all the guidelines but could not get it working as its not able to find the module that I want to package within the ear It looks for the module in my nexus repository but does not find it. I have also got the Resolve workspace project dependencies enables in eclipse. Pom is attached. Please advice as I have been struggling with the same for few hrs now. Thanks Nishant HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents
RE: Ear plugin issue
With -X -e, is it any clearer as to what it's looking for? What the GAV is? -Original Message- From: nishant@hsbcib.com [mailto:nishant@hsbcib.com] Sent: Thursday, August 26, 2010 1:37 PM To: Maven Users List Cc: Maven Users List Subject: Re: Ear plugin issue Just that unable to find clientModule Stephane Nicoll stephane.nic...@gmail.com Aug 26 2010 18:35 Mail Size: 10664 Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Ear plugin issue Entity HSBC Bank plc - HBEU What error message do you get exactly? ClientModules is not a dependency of the project or something else? S. On Thu, Aug 26, 2010 at 4:20 PM, nishant@hsbcib.com wrote: It seems the attachments are not allowed. I have included the ear pom below.. ** project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion parent artifactIdProjectX/artifactId groupIdroot/groupId version1.0/version /parent groupIdroot.ProjectX/groupId artifactIdEarAssembler/artifactId version1.0/version nameEarAssembler/name packagingear/packaging build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId version2.4.2/version configuration modules jarModule groupIdroot.ProjectX/groupId artifactIdClientModules/artifactId /jarModule /modules archive manifest addClasspathtrue/addClasspath /manifest /archive /configuration /plugin /plugins /build dependencies dependency groupIdroot.ProjectX/groupId artifactIdClientModules/artifactId version1.0/version /dependency /dependencies /project ** Thanks Nishant RAJ/HBEU/h...@hsbc Aug 26 2010 15:17 Mail Size: 8020 Please respond to Maven Users List users@maven.apache.org To users@maven.apache.org cc Subject Ear plugin issue Entity HSBC Bank plc - HBEU Hi All, I am trying to get the ear plugin working. Followed all the guidelines but could not get it working as its not able to find the module that I want to package within the ear It looks for the module in my nexus repository but does not find it. I have also got the Resolve workspace project dependencies enables in eclipse. Pom is attached. Please advice as I have been struggling with the same for few hrs now. Thanks Nishant HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority - SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group HSBC for the information of the addressee only and should not be reproduced and/or distributed
Maven EAR plugin issue
Hello, Looking for some insight regarding the maven ear plugin. Project setup is: + App pom (contains sub-project module entries) - commons (creates jar with POJOs), let's say it's maven id is 'my.commons' - ejb jar, maven id is 'my.ejb' - service, creates an 'ear' -- ear plugin sits here For now I'm just trying to use the following to include the POJOs and the ejb jar plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId configuration modules ejbModule groupIdmyGroup/groupId artifactIdmy.ejb/artifactId /ejbModule jarmodule groupId myGroup /groupId artifactIdmy.commons/artifactId /jarmodule /modules /configuration /plugin While produces an error stating: [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven -ear-plugin:2.2 Cause: Class 'org.apache.maven.plugin.ear.EarModule' cannot be instantiated Using the maven -e switch shows that it has a problem with DOM, which I assume is a parsing error of the configuration: [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven -ear-plugin:2.2 Cause: Class 'org.apache.maven.plugin.ear.EarModule' cannot be instantiated [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: org.a pache.maven.plugins:maven-ear-plugin. Reason: Unable to parse the created DOM fo r plugin configuration Also, if I take out the the modules it runs, which is obviously because it doesn't have anything to do, i.e. this works fine: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId configuration modules /modules /configuration /plugin Knowing that, could this issue be I'm missing a field for the modules? I.e. ejbModule and jarModule? Any help is appreciated. Best regards, Randall NOTE: Top level pom has: packagingpom/packaging modules modulecommons/module -- my.commons moduleserver/module -- my.ejb moduleservice/module -- contains ear build /modules BEGIN:VCARD VERSION:2.1 N:Fidler;Randall FN:Randall Fidler EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20050926T075331Z END:VCARD smime.p7s Description: S/MIME cryptographic signature