Problem with build a portlet component

View: New views
4 Messages — Rating Filter:   Alert me  

Problem with build a portlet component

by red :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have a problem to build a portlet component.
I have a portlet A with the pom-packaging exo-portlet. I can build it.
I have a portlet B which has a dependence to Portlet A. I see by building this component, that maven lookup for a package of Portlet A as jar file instead of exo-portlet or war file. I have a work-around, I copy the package war file of Portlet A  to a jar file in the maven repository.
How can I resolve this problem ?

Thanks
Abdel

Re: Problem with build a portlet component

by Alexey Zavizionov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, Abdel

Did you try within pom.xml your's Portlet B project describe
dependency portlet A with type "war", like as:
      <dependency>
         <groupId>com.example.projects</groupId>
         <artifactId>documentedprojectdependency</artifactId>
         <version>1.0-SNAPSHOT</version>
         <type>war</type>
         <scope>runtime</scope>
      </dependency>
?

Regards,
Alexey

On 5/23/07, red <a_red@...> wrote:

>
> Hi,
>
> I have a problem to build a portlet component.
> I have a portlet A with the pom-packaging exo-portlet. I can build it.
> I have a portlet B which has a dependence to Portlet A. I see by building
> this component, that maven lookup for a package of Portlet A as jar file
> instead of exo-portlet or war file. I have a work-around, I copy the package
> war file of Portlet A  to a jar file in the maven repository.
> How can I resolve this problem ?
>
> Thanks
> Abdel
>
> --
> View this message in context: http://www.nabble.com/Problem-with-build-a-portlet-component-tf3802994.html#a10760704
> Sent from the eXo Platform mailing list archive at Nabble.com.
>
>
>
>
> --
> You receive this message as a subscriber of the exoplatform@... mailing list.
> To unsubscribe: mailto:exoplatform-unsubscribe@...
> For general help: mailto:sympa@...?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>


--
You receive this message as a subscriber of the exoplatform@... mailing list.
To unsubscribe: mailto:exoplatform-unsubscribe@...
For general help: mailto:sympa@...?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

Parent Message unknown Fwd: Problem with build a portlet component

by Alexey Zavizionov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

---------- Forwarded message ----------
From: Abdeldjebar Redouane <a_red@...>
Date: May 23, 2007 1:37 PM
Subject: Re: [exoplatform] Problem with build a portlet component
To: Alexey Zavizionov <alexey.zavizionov@...>


Hello Alexey,

Now it functions.
I add
      <type>exo-portlet</type>

Thank you
Abdel

-------- Original-Nachricht --------
Datum: Wed, 23 May 2007 13:07:01 +0300
Von: "Alexey Zavizionov" <alexey.zavizionov@...>
An: red <a_red@...>
CC: exoplatform@...
Betreff: Re: [exoplatform] Problem with build a portlet component

> Hello, Abdel
>
> Did you try within pom.xml your's Portlet B project describe
> dependency portlet A with type "war", like as:
>       <dependency>
>          <groupId>com.example.projects</groupId>
>          <artifactId>documentedprojectdependency</artifactId>
>          <version>1.0-SNAPSHOT</version>
>          <type>war</type>
>          <scope>runtime</scope>
>       </dependency>
> ?
>
> Regards,
> Alexey
>
> On 5/23/07, red <a_red@...> wrote:
> >
> > Hi,
> >
> > I have a problem to build a portlet component.
> > I have a portlet A with the pom-packaging exo-portlet. I can build it.
> > I have a portlet B which has a dependence to Portlet A. I see by
> building
> > this component, that maven lookup for a package of Portlet A as jar file
> > instead of exo-portlet or war file. I have a work-around, I copy the
> package
> > war file of Portlet A  to a jar file in the maven repository.
> > How can I resolve this problem ?
> >
> > Thanks
> > Abdel
> >
> > --
> > View this message in context:
> http://www.nabble.com/Problem-with-build-a-portlet-component-tf3802994.html#a10760704
> > Sent from the eXo Platform mailing list archive at Nabble.com.
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the
> exoplatform@... mailing list.
> > To unsubscribe: mailto:exoplatform-unsubscribe@...
> > For general help: mailto:sympa@...?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail



--
You receive this message as a subscriber of the exoplatform@... mailing list.
To unsubscribe: mailto:exoplatform-unsubscribe@...
For general help: mailto:sympa@...?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

Re: Problem with build a portlet component

by FLORENT.TROLAT :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Can you give us your *.xml files (pom & packaging) ?

--
 ___________________________________
/                                   \
| #####                             |
| #####@@@              @@  @@      |
| #####   @             @@  @@      |
|   @@    @             @@  @@      |
|   @@   @              @@  @@      |
|   @@@@@@    @@   @@   @@  @@      |
|   @@    @   @@   @@   @@  @@@@@@@ |
|   @@    @   @@   @@   @@          |
|   @@@@@@    @@@@@@@   @@@@@@@@@@@ |
|                                   |
|           www.bull.com            |
\___________________________________/




--
You receive this message as a subscriber of the exoplatform@... mailing list.
To unsubscribe: mailto:exoplatform-unsubscribe@...
For general help: mailto:sympa@...?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws