On Mar 27, 2007, at 12:10 PM, Brice Lambi wrote:
Hello,
I have a few questions about the maven2 plugin for jetspeed. I
created
a new portlet app using the portal-application archetype. The
directory
structure created is not standard for maven2. I get src/java
instead of
src/main/java as the source directory. Why is this?
This is because we are trying to keep with the Maven-1 standard
With 2.1 we are stuck between two builds (Maven-1 and Maven-2)
2.2 will drop the Maven-1 build support, and move to a true Maven-2
build and directory structure
Anyway for a portlet-app I think many folks may prefer the directory
layout of an Eclipse web project
This makes it
difficult to use this project outside of the jetspeed build. If I
move
everything to src/main, it complains about not being a web app. It
does
the same with the component-archetype.
Understood.
We will consider this in the new build refactoring, thanks
Also, I added my new app to the app-server pom and the tomcat-
build.xml
so that it will be deployed with the portal. All I get is a failed to
retrieve portlet definition/access denied error(the only security
constraint I have is user). Looking at the logs, I never see the
"JetspeedContainerServlet: starting initialization of Portlet
Application" notification. Also manually deploying my app to
WEB-INF/deploy does nothing. If I remove my app from the app-
server pom
and tomcat-build.xml and then redeploy the portal and manually
deploy my
app, it works fine.
I don't remember ever having to modify the tomcat-build.xml
Just make sure the applications/pom.xml includes your new module:
<modules>
<module>myPA</module>
Also, after deploying my portal I try to log in as manager and I
all the
admin portlets I get access denied. The admin account works just
fine.
The plugin looks great, if I can get these things worked out it will
greatly simplify my deployment process.
Not sure what is going on... did you configure your Maven-2
settings.xml?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]