You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ni...@hsbcib.com on 2010/08/26 16:16:21 UTC

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.

Re: Ear plugin issue

Posted by Stephane Nicoll <st...@gmail.com>.
On Thu, Aug 26, 2010 at 7:36 PM, <ni...@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 <st...@gmail.com>
> Aug 26 2010 18:35
>
> Mail Size: 10664
>
> Please respond to
> "Maven Users List" <us...@maven.apache.org>
>
>
> To
> Maven Users List <us...@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, <ni...@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">
> >  <modelVersion>4.0.0</modelVersion>
> >  <parent>
> >    <artifactId>ProjectX</artifactId>
> >    <groupId>root</groupId>
> >    <version>1.0</version>
> >  </parent>
> >  <groupId>root.ProjectX</groupId>
> >  <artifactId>EarAssembler</artifactId>
> >  <version>1.0</version>
> >  <name>EarAssembler</name>
> >  <packaging>ear</packaging>
> >  <build>
> >    <plugins>
> >      <plugin>
> >        <groupId>org.apache.maven.plugins</groupId>
> >        <artifactId>maven-ear-plugin</artifactId>
> >        <version>2.4.2</version>
> >        <configuration>
> >          <modules>
> >            <jarModule>
> >              <groupId>root.ProjectX</groupId>
> >              <artifactId>ClientModules</artifactId>
> >            </jarModule>
> >          </modules>
> >          <archive>
> >            <manifest>
> >              <addClasspath>true</addClasspath>
> >            </manifest>
> >          </archive>
> >        </configuration>
> >      </plugin>
> >    </plugins>
> >  </build>
> >  <dependencies>
> >    <dependency>
> >      <groupId>root.ProjectX</groupId>
> >      <artifactId>ClientModules</artifactId>
> >      <version>1.0</version>
> >    </dependency>
> >  </dependencies>
> > </project>
> >
> >
>
> ******************************************************************************************************************************************************************************************************************************************************************************************
> >
> >
> > Thanks
> >
> >
> >
> >
> > Nishant RAJ/HBEU/HSBC@HSBC
> > Aug 26 2010 15:17
> >
> > Mail Size: 8020
> >
> > Please respond to
> > "Maven Users List" <us...@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-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@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.
> >
>
>
>
> ************************************************************
> 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

Posted by EJ Ciramella <ec...@casenetinc.com>.
With -X -e, is it any clearer as to what it's looking for?  What the GAV is?



-----Original Message-----
From: nishant.raj@hsbcib.com [mailto:nishant.raj@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 <st...@gmail.com>
Aug 26 2010 18:35

Mail Size: 10664

Please respond to
"Maven Users List" <us...@maven.apache.org>


To
Maven Users List <us...@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, <ni...@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">
>  <modelVersion>4.0.0</modelVersion>
>  <parent>
>    <artifactId>ProjectX</artifactId>
>    <groupId>root</groupId>
>    <version>1.0</version>
>  </parent>
>  <groupId>root.ProjectX</groupId>
>  <artifactId>EarAssembler</artifactId>
>  <version>1.0</version>
>  <name>EarAssembler</name>
>  <packaging>ear</packaging>
>  <build>
>    <plugins>
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-ear-plugin</artifactId>
>        <version>2.4.2</version>
>        <configuration>
>          <modules>
>            <jarModule>
>              <groupId>root.ProjectX</groupId>
>              <artifactId>ClientModules</artifactId>
>            </jarModule>
>          </modules>
>          <archive>
>            <manifest>
>              <addClasspath>true</addClasspath>
>            </manifest>
>          </archive>
>        </configuration>
>      </plugin>
>    </plugins>
>  </build>
>  <dependencies>
>    <dependency>
>      <groupId>root.ProjectX</groupId>
>      <artifactId>ClientModules</artifactId>
>      <version>1.0</version>
>    </dependency>
>  </dependencies>
> </project>
>
>
******************************************************************************************************************************************************************************************************************************************************************************************
>
>
> Thanks
>
>
>
>
> Nishant RAJ/HBEU/HSBC@HSBC
> Aug 26 2010 15:17
>
> Mail Size: 8020
>
> Please respond to
> "Maven Users List" <us...@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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@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.
>



************************************************************
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.

CONFIDENTIALITY NOTICE:  This e-mail and the information transmitted within including any attachments is only for the recipient(s) to which it is intended and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of; or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please send the e-mail back by replying to the sender and permanently delete the entire message and its attachments from all computers and network systems involved in its receipt.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Ear plugin issue

Posted by ni...@hsbcib.com.
Just that unable to find clientModule






Stephane Nicoll <st...@gmail.com> 
Aug 26 2010 18:35

Mail Size: 10664

Please respond to
"Maven Users List" <us...@maven.apache.org>


To
Maven Users List <us...@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, <ni...@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">
>  <modelVersion>4.0.0</modelVersion>
>  <parent>
>    <artifactId>ProjectX</artifactId>
>    <groupId>root</groupId>
>    <version>1.0</version>
>  </parent>
>  <groupId>root.ProjectX</groupId>
>  <artifactId>EarAssembler</artifactId>
>  <version>1.0</version>
>  <name>EarAssembler</name>
>  <packaging>ear</packaging>
>  <build>
>    <plugins>
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-ear-plugin</artifactId>
>        <version>2.4.2</version>
>        <configuration>
>          <modules>
>            <jarModule>
>              <groupId>root.ProjectX</groupId>
>              <artifactId>ClientModules</artifactId>
>            </jarModule>
>          </modules>
>          <archive>
>            <manifest>
>              <addClasspath>true</addClasspath>
>            </manifest>
>          </archive>
>        </configuration>
>      </plugin>
>    </plugins>
>  </build>
>  <dependencies>
>    <dependency>
>      <groupId>root.ProjectX</groupId>
>      <artifactId>ClientModules</artifactId>
>      <version>1.0</version>
>    </dependency>
>  </dependencies>
> </project>
>
> 
******************************************************************************************************************************************************************************************************************************************************************************************
>
>
> Thanks
>
>
>
>
> Nishant RAJ/HBEU/HSBC@HSBC
> Aug 26 2010 15:17
>
> Mail Size: 8020
>
> Please respond to
> "Maven Users List" <us...@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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@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.
>



************************************************************
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

Posted by Stephane Nicoll <st...@gmail.com>.
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, <ni...@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">
>  <modelVersion>4.0.0</modelVersion>
>  <parent>
>    <artifactId>ProjectX</artifactId>
>    <groupId>root</groupId>
>    <version>1.0</version>
>  </parent>
>  <groupId>root.ProjectX</groupId>
>  <artifactId>EarAssembler</artifactId>
>  <version>1.0</version>
>  <name>EarAssembler</name>
>  <packaging>ear</packaging>
>  <build>
>    <plugins>
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-ear-plugin</artifactId>
>        <version>2.4.2</version>
>        <configuration>
>          <modules>
>            <jarModule>
>              <groupId>root.ProjectX</groupId>
>              <artifactId>ClientModules</artifactId>
>            </jarModule>
>          </modules>
>          <archive>
>            <manifest>
>              <addClasspath>true</addClasspath>
>            </manifest>
>          </archive>
>        </configuration>
>      </plugin>
>    </plugins>
>  </build>
>  <dependencies>
>    <dependency>
>      <groupId>root.ProjectX</groupId>
>      <artifactId>ClientModules</artifactId>
>      <version>1.0</version>
>    </dependency>
>  </dependencies>
> </project>
>
> ******************************************************************************************************************************************************************************************************************************************************************************************
>
>
> Thanks
>
>
>
>
> Nishant RAJ/HBEU/HSBC@HSBC
> Aug 26 2010 15:17
>
> Mail Size: 8020
>
> Please respond to
> "Maven Users List" <us...@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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@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: No inherited profiles in effective-pom

Posted by Anders Hammar <an...@hammar.net>.
But the config of profile in the parent is applied to the pom, right? I
believe that's how it should be.

/Anders
On Thu, Aug 26, 2010 at 16:41, Hoehmann, Andreas <
andreas.hoehmann.ext@siemens.com> wrote:

> Hello,
>
> I have parent artifact with a child artifact.
> The parent contains a profile "foo".
> The child contains a profile "bar".
>
> "mvn help:effective-pom" in child doesn't show the foo profile from parent
> but shows the "bar" profile.
>
> Is this a feature or a bug? ;)
>
> Regards
> Andreas
> -[http://www.ahoehma.de]-
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

No inherited profiles in effective-pom

Posted by "Hoehmann, Andreas" <an...@siemens.com>.
Hello,

I have parent artifact with a child artifact.
The parent contains a profile "foo". 
The child contains a profile "bar".

"mvn help:effective-pom" in child doesn't show the foo profile from parent but shows the "bar" profile.

Is this a feature or a bug? ;)

Regards
Andreas
-[http://www.ahoehma.de]-
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Ear plugin issue

Posted by Timothy Mcginnis <tm...@aessuccess.org>.
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.raj@hsbcib.com
To:
"Maven Users List" <us...@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">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>ProjectX</artifactId>
    <groupId>root</groupId>
    <version>1.0</version>
  </parent>
  <groupId>root.ProjectX</groupId>
  <artifactId>EarAssembler</artifactId>
  <version>1.0</version>
  <name>EarAssembler</name>
  <packaging>ear</packaging>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ear-plugin</artifactId>
        <version>2.4.2</version>
        <configuration>
          <modules>
            <jarModule>
              <groupId>root.ProjectX</groupId>
              <artifactId>ClientModules</artifactId>
            </jarModule>
          </modules>
          <archive>
            <manifest>
              <addClasspath>true</addClasspath>
            </manifest>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>root.ProjectX</groupId>
      <artifactId>ClientModules</artifactId>
      <version>1.0</version>
    </dependency>
  </dependencies>
</project>
******************************************************************************************************************************************************************************************************************************************************************************************


Thanks




Nishant RAJ/HBEU/HSBC@HSBC 
Aug 26 2010 15:17

Mail Size: 8020

Please respond to
"Maven Users List" <us...@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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@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.


==============================================================================
This message contains privileged and confidential information intended for the above addressees only.  If you
receive this message in error please delete or destroy this message and/or attachments.  

The sender of this message will fully cooperate in the civil and criminal prosecution of any individual engaging
in the unauthorized use of this message.
==============================================================================

Re: Ear plugin issue

Posted by ni...@hsbcib.com.
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">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>ProjectX</artifactId>
    <groupId>root</groupId>
    <version>1.0</version>
  </parent>
  <groupId>root.ProjectX</groupId>
  <artifactId>EarAssembler</artifactId>
  <version>1.0</version>
  <name>EarAssembler</name>
  <packaging>ear</packaging>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ear-plugin</artifactId>
        <version>2.4.2</version>
        <configuration>
          <modules>
            <jarModule>
              <groupId>root.ProjectX</groupId>
              <artifactId>ClientModules</artifactId>
            </jarModule>
          </modules>
          <archive>
            <manifest>
              <addClasspath>true</addClasspath>
            </manifest>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>root.ProjectX</groupId>
      <artifactId>ClientModules</artifactId>
      <version>1.0</version>
    </dependency>
  </dependencies>
</project>
******************************************************************************************************************************************************************************************************************************************************************************************


Thanks




Nishant RAJ/HBEU/HSBC@HSBC 
Aug 26 2010 15:17

Mail Size: 8020

Please respond to
"Maven Users List" <us...@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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@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.