I agree that the builds are not being managed very well right now.  I cannot
build 2.1.2 (java.lang.UnsupportedClassVersionError) but I can build
2.1just fine.  I think some of your problem may be your lack of
understanding
of maven.  I told you to run 'mvn' to install to the local repository which
would have solved your dependency resolution errors in your earlier emails.
As a beginner don't bother trying to generate your own custom portal, the
jetspeed maven2 plugin is not reliable enough for someone who is new to
maven.

Try jetspeed-2.1 and simply run 'mvn' then 'mvn -P tomcat' with your
relevant info in ~/.m2/settings.xml and see if you can get it working.  Once
you have that figured out generating a custom portal might be easier.

This is an open source project, you get what you pay for.  If you need
better support I would suggest trying websphere or something that you can
buy commercial support for.



On 8/7/07, Mansour <[EMAIL PROTECTED]> wrote:
>
> here's the next greating I am getting:
>
>
> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> updates from com.bluesunrise.m2
> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> updates from central
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not
> exist or no valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Tue Aug 07 07:40:31 ADT 2007
> [INFO] Final Memory: 2M/4M
> [INFO]
> ------------------------------------------------------------------------
>
>
> If the tutorial is out of date, what are they waiting for in apache
> portals. Do we have to through all this to get a simple thing working.
>
>
> Sugarman, Duke wrote:
> > The tutorial is not working because it is out of date.  It would be nice
> > if someone at Apache portals could work on this because it is
> > frustrating many people.
> >
> > Put the following in your settings.xml file (e.g., before the <profiles>
> > tag) and try again:
> >
> >       <mirrors>
> >         <mirror>
> >           <id>central.mirror</id>
> >           <name>Mirror http://repo1.maven.org/maven2/</name>
> >           <url>http://www.bluesunrise.com/maven2</url>
> >           <mirrorOf>central</mirrorOf>
> >         </mirror>
> >       </mirrors>
> >
> > -----Original Message-----
> > From: Mansour [mailto:[EMAIL PROTECTED]
> > Sent: Monday, August 06, 2007 8:16 PM
> > To: Jetspeed Users List
> > Subject: Re: No learning progress
> >
> > That's what I am getting now:
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.portals.jetspeed-2
> > ArtifactId: portal-archetype
> > Version: 2.1-dev
> >
> > Reason: Unable to download the artifact from any repository
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> >     mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2
> > -DartifactId=portal-archetype \
> >         -Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file
> >
> >
> >   org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> >
> >
> >
> > A quick google gave me this:
> > http://www.mail-archive.com/[email protected]/msg05654.ht
> > ml
> > so I downloaded repository.zip and extracted it.
> >
> > The problem I faced is when doing:
> > mvn -P tomcat,min
> >
> > I get the following:
> > deploy-shared-components:
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error executing ant tasks
> >
> > Embedded error: The following error occurred while executing this line:
> > /home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:89:
> > The following error occurred while executing this line:
> > /home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:145:
> > The following error occurred while executing this line:
> > /home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-build.xml
> > :88:
> > The following error occurred while executing this line:
> > /home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-build.xml
> > :278:
> > /opt/tomcat/shared/lib not found.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 28 seconds
> > [INFO] Finished at: Mon Aug 06 20:09:08 ADT 2007
> > [INFO] Final Memory: 25M/46M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > What do I need to edit. I tried editing the path to the derby jar in
> > ~/.m2/settings.xml. Still did not help.
> >
> >
> >
> >
> > Brice Lambi wrote:
> >
> >> That file is at the maven project root of the source distribution.  it
> >>
> > looks
> >
> >> like they have 2.1.2-src packaged a little funny, there is a src dir
> >>
> > under
> >
> >> the root and that is the maven project root.
> >>
> >>
> >> On 8/6/07, Mansour <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>> Thank you for you reply. I couldn't manage to obtain
> >>> settings.xml.sample. Where Do I find it?
> >>>
> >>>
> >>> Brice Lambi wrote:
> >>>
> >>>
> >>>> I understand the transistion between maven 1 and 2 is confusing.  I
> >>>>
> >>>>
> >>> would
> >>>
> >>>
> >>>> suggest only using maven2 and the info you find here:
> >>>>
> >>>> http://portals.apache.org/tutorials/jetspeed-2/
> >>>>
> >>>> It is really simple, copy settings.xml.sample to ~/.m2/settings.xml
> >>>>
> > and
> >
> >>>>
> >>>>
> >>> edit
> >>>
> >>>
> >>>> the relevant values.  Then simply run 'mvn' to install to your local
> >>>> repository and 'mvn -P tomcat' to deploy to tomcat.  At first don't
> >>>>
> >>>>
> >>> bother
> >>>
> >>>
> >>>> with generating a custom portal, just deploy the default and you can
> >>>>
> >>>>
> >>> make
> >>>
> >>>
> >>>> changes from there.
> >>>>
> >>>> Good luck.
> >>>>
> >>>>
> >>>>
> >>>> On 8/6/07, Mansour <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>>
> >>>>
> >>>>> I have been already trying to learn jetspeed for more than 2 weeks.
> >>>>>
> > I
> >
> >>>>> give up, then I go back because it's the only framework that has
> >>>>>
> > what I
> >
> >>>>> need. The documentation sucks. Honestly, I regret the time I have
> >>>>> wasted, it would have been easier for me to write my own security
> >>>>>
> > layer
> >
> >>>>> for roles/groups management. The documents sometimes instruct you
> >>>>>
> > to
> >
> >>>>>
> >>>>>
> >>> use
> >>>
> >>>
> >>>>> maven-1 and then switches to maven-2. And worse, none of the
> >>>>>
> >>>>>
> >>> instruction
> >>>
> >>>
> >>>>> works.
> >>>>>
> >>>>> I tried the installer for jetspeed-2 and it works fine. But a lot
> >>>>>
> > of
> >
> >>>>> things that I don't need and frustrated about. What are all these
> >>>>> directories. I don't want an embeded tomcat. I need to understand
> >>>>>
> > how
> >
> >>>>>
> >>>>>
> >>> to
> >>>
> >>>
> >>>>> deploy jetspeed and customize it. Then I will dive into how to add
> >>>>>
> > my
> >
> >>>>> own portlets.
> >>>>>
> >>>>>
> >>>>> The last thing I was trying to do is following this page
> >>>>> http://portals.apache.org/jetspeed-2/getting-started-binary.html
> >>>>>
> >>>>> I created a directory ~/workspace/jetspeed. And put in that
> >>>>>
> > directory
> >
> >>>>> build.properties , which contains:
> >>>>>
> >>>>> basedir = ~/workspace/myportal
> >>>>> maven.repo.remote = http://www.bluesunrise.com/maven/,
> >>>>> http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
> >>>>> http://cvs.apache.org/repository
> >>>>>
> >>>>>
> >>>>>
> >>>>> then, when I ran: maven j2:portal.genapp , I get:
> >>>>>
> >>>>> BUILD FAILED
> >>>>> File......
> >>>>>
> >>>>>
> > /home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2/plugin.jelly
> >
> >>>>> Element... fail
> >>>>> Line...... 735
> >>>>> Column.... 42
> >>>>> Required property org.apache.jetspeed.server.home undefined. See
> >>>>> http://portals.apache.org/jetspeed-2/getting-started.html.
> >>>>> Total time: 2 seconds
> >>>>> Finished at: Mon Aug 06 12:44:02 ADT 2007
> >>>>>
> >>>>> Is there a clean place to learn about Jetspeed-2 other than the
> >>>>>
> > docs.
> >
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> > ---------------------------------------------------------------------
> >
> >>>>> To unsubscribe, e-mail:
> >>>>>
> > [EMAIL PROTECTED]
> >
> >>>>> For additional commands, e-mail:
> >>>>>
> > [EMAIL PROTECTED]
> >
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail:
> >>>
> > [EMAIL PROTECTED]
> >
> >>>
> >>>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to