You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Martin Dulisch <md...@gmail.com> on 2006/05/02 09:05:56 UTC

Maven 2 Build: Comments/Questions

Hi,

I have tried to build and deploy jetspeed from source. Mostly everything
works fine. Thanks to all contributors of the maven 2 build. Great work.
Have tried the build on linux and mac os.

Some points are open for me:

- had to install 'ant-tasks' first, a mvn install in the root folder
reported an error that 'ant-tasks' was missing

- it looks like the deployment types full and min are not evaluated. All
example applications are allways deployed. Is it implemented?

- where are the sources for the jpetstore example?

Martin

Maven 2.0.4 Build Update

Posted by Randy Watler <wa...@wispertel.net>.
All,

The J2/M2 build now requires Maven 2.0.4. The M2 wiki page is:

http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport

Randy


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Re: Maven 2 Build: Comments/Questions

Posted by Martin Dulisch <md...@gmail.com>.
Tried it: looks like the value in settings.xml overrides the command line
setting.

Called "mvn -P tomcat,min". One time with deploy.type=full in settings.xml.
In this case all examples have been deployed. When I deleted the property in
settings.xml only the admin application has been deployed.



2006/5/5, Randy Watler <wa...@wispertel.net>:
>
> Martin,
>
> Yes... settings overrides AFAIK. Try removing the override in settings.
>
> Let me know!
>
> Randy
>
> On Fri, 2006-05-05 at 09:44 +0200, Martin Dulisch wrote:
> > I tested with a clean tomcat install and set the profile in the command
> line
> > (-P min,tomcat).
> >
> > In my settings I have set the deploy-type to 'full'. Does this override
> the
> > command line setting?
> >
> > I will try it again with maven 2.0.4 and the svn head sources.
> >
> >
> >
> > 2006/5/4, Randy Watler <wa...@wispertel.net>:
> > >
> > > Martin,
> > >
> > > > yes, I have tried both profiles: full and min. With min all example
> > > > portles have been installed.
> > > >
> > >
> > > I just tried this here... I used 'mvn -P tomcat,min' and only the
> > > j2-admin.war file was deployed, (jetspeed-layouts.war is deployed
> > > internally).
> > >
> > > Did you test this with a clean tomcat install, (the M2 build does not
> > > remove existing webapps on deploy)?
> > >
> > > Are you forcing the 'full' configuration in your settings.xml like
> this:
> > >
> > > <org.apache.jetspeed.env.deploy.type
> > > >full</org.apache.jetspeed.env.deploy.type>
> > >
> > > ?
> > >
> > > The min configuration should be working, so I am curious about what is
> > > going on in your area.
> > >
> > > Note: if you pull the svn head, you will have to upgrade M2 to 2.0.4.
> > >
> > > Randy
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> > > For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> > >
> > >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>

Re: Maven 2 Build: Comments/Questions

Posted by Randy Watler <wa...@wispertel.net>.
Martin,

Yes... settings overrides AFAIK. Try removing the override in settings.

Let me know!

Randy

On Fri, 2006-05-05 at 09:44 +0200, Martin Dulisch wrote:
> I tested with a clean tomcat install and set the profile in the command line
> (-P min,tomcat).
> 
> In my settings I have set the deploy-type to 'full'. Does this override the
> command line setting?
> 
> I will try it again with maven 2.0.4 and the svn head sources.
> 
> 
> 
> 2006/5/4, Randy Watler <wa...@wispertel.net>:
> >
> > Martin,
> >
> > > yes, I have tried both profiles: full and min. With min all example
> > > portles have been installed.
> > >
> >
> > I just tried this here... I used 'mvn -P tomcat,min' and only the
> > j2-admin.war file was deployed, (jetspeed-layouts.war is deployed
> > internally).
> >
> > Did you test this with a clean tomcat install, (the M2 build does not
> > remove existing webapps on deploy)?
> >
> > Are you forcing the 'full' configuration in your settings.xml like this:
> >
> > <org.apache.jetspeed.env.deploy.type
> > >full</org.apache.jetspeed.env.deploy.type>
> >
> > ?
> >
> > The min configuration should be working, so I am curious about what is
> > going on in your area.
> >
> > Note: if you pull the svn head, you will have to upgrade M2 to 2.0.4.
> >
> > Randy
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> >
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Re: Maven 2 Build: Comments/Questions

Posted by Martin Dulisch <md...@gmail.com>.
I tested with a clean tomcat install and set the profile in the command line
(-P min,tomcat).

In my settings I have set the deploy-type to 'full'. Does this override the
command line setting?

I will try it again with maven 2.0.4 and the svn head sources.



2006/5/4, Randy Watler <wa...@wispertel.net>:
>
> Martin,
>
> > yes, I have tried both profiles: full and min. With min all example
> > portles have been installed.
> >
>
> I just tried this here... I used 'mvn -P tomcat,min' and only the
> j2-admin.war file was deployed, (jetspeed-layouts.war is deployed
> internally).
>
> Did you test this with a clean tomcat install, (the M2 build does not
> remove existing webapps on deploy)?
>
> Are you forcing the 'full' configuration in your settings.xml like this:
>
> <org.apache.jetspeed.env.deploy.type
> >full</org.apache.jetspeed.env.deploy.type>
>
> ?
>
> The min configuration should be working, so I am curious about what is
> going on in your area.
>
> Note: if you pull the svn head, you will have to upgrade M2 to 2.0.4.
>
> Randy
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>

Re: Maven 2 Build: Comments/Questions

Posted by Randy Watler <wa...@wispertel.net>.
Martin,

> yes, I have tried both profiles: full and min. With min all example
> portles have been installed.
> 

I just tried this here... I used 'mvn -P tomcat,min' and only the
j2-admin.war file was deployed, (jetspeed-layouts.war is deployed
internally).

Did you test this with a clean tomcat install, (the M2 build does not
remove existing webapps on deploy)?

Are you forcing the 'full' configuration in your settings.xml like this:

<org.apache.jetspeed.env.deploy.type>full</org.apache.jetspeed.env.deploy.type>

?

The min configuration should be working, so I am curious about what is
going on in your area.

Note: if you pull the svn head, you will have to upgrade M2 to 2.0.4.

Randy



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Re: Maven 2 Build: Comments/Questions

Posted by Martin Dulisch <md...@gmail.com>.
>
> > - it looks like the deployment types full and min are not evaluated. All
> > example applications are allways deployed. Is it implemented?
>
> Are you specifying the appropriate profiles? See:
>
> http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport
>

yes, I have tried both profiles: full and min. With min all example
portles have been installed.

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Re: Maven 2 Build: Comments/Questions

Posted by Randy Watler <wa...@wispertel.net>.
Martin,

Thanks for the feedback. See comments inline below.

Randy

On Tue, 2006-05-02 at 09:05 +0200, Martin Dulisch wrote:
> Hi,
> 
> I have tried to build and deploy jetspeed from source. Mostly everything
> works fine. Thanks to all contributors of the maven 2 build. Great work.
> Have tried the build on linux and mac os.
> 
> Some points are open for me:
> 
> - had to install 'ant-tasks' first, a mvn install in the root folder
> reported an error that 'ant-tasks' was missing

I see. I am currently moving up to 2.0.4, so I'll take a look at this
and see if I can address it.

> - it looks like the deployment types full and min are not evaluated. All
> example applications are allways deployed. Is it implemented?

Are you specifying the appropriate profiles? See:

http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport


> - where are the sources for the jpetstore example?

These are in portals-bridges. Check that subproject in Apache Portals
for a svn link. Note that bridges are still M1 based.





---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org