Chris,
I am assuming you wish to build a portlet web-app using Maven2, from the
build and deployment structure that you have laid out.
We have created our own Jetspeed-portlet web app "archetypes", it is quite
easy with Maven-2. Before you build the portlet web-app "archetype", I would
recommend creating a working Jetspeed portlet web app and then "clone" it.
The way to do it would be:
1) Create a maven2 WAR project, (use the maven-war-archetype).
2) If using pure JSR168 portlet, just add the dependency to portlet-api and
the implementation jars (they are part of Jetspeed portal and are installed
in shareable way, so add the dependency as runtime).
3) build the war project and drop it in <j2-portal>/WEB-INF/deploy (I skip
this test by manually infusing the container servlet in portlet web-apps
web.xml)
4) if everything works well, then clone the project.

Cheers
Mohan K R


Chris Long-3 wrote:
> 
> Hello,
> 
> I'm not sure if this is a question more appropriate for the Maven mailing
> list or Jetspeed, but I'm posting here for now.
> 
> I'm fairly new to both Maven and Jetspeed, and I'm trying to get a stand
> alone application to deploy with Jetspeed when I use mvn -e -P tomcat to
> build.  Currently the Jetspeed folder structure looks like this:
> 
> 
> /{jetspeed_home}
> |
> --pom.xml
> |
> --/myapplication
> |
> --/portal
> 
> with the folder myapplication being on the same level as the pom.xml file
> under the jetspeed_home director.
> 
> And after I compile, I want the folder structure to look like this:
> 
> 
> /{tomcat_home}
> |
> --/webapps
>   |
>   --/jetspeed-portal
>   |
>   --/myapplication
> 
> 
> So that myapplication is deployed separately in the tomcat\webapps folder,
> but with only having to do a build within Jetspeed once.  I'm hoping to do
> this so that it will eliminate that extra step of downloading and
> installing
> myapplication separately.
> 
> Does anyone know exactly how I would go about this?
> 
> Thanks,
> 
> Chris
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Jetspeed-and-Maven-question---Modifying-the-Maven-build-tf4594227.html#a13118292
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to