portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Javier padrón <jpad...@nartexsoft.com>
Subject Questions about JetExpress Portal Tutorial
Date Mon, 29 Jan 2007 13:41:26 GMT
Hello to all, 
 
I am trying to create my first custom Portal folowing the steps on 'JetExpress Portal Tutorial',
I see that she is a complete guide.  
But I have some doubts, and these are the following ones: 
 
1) tomcat-express refers to tomcat with the previous installation of JetSpeed 2 (default build),
or is new empty tomcat, without nothing installed?
 
2) jetspeed-2-resources.zip, where is to unzip this file, is correct in c:\JetspeedTraining\resources?
 
3) Generating a Jetspeed Portal
# Windows
cd \JetspeedTraining\workspace
mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2 
                     -DarchetypeArtifactId=portal-archetype 
                     -DarchetypeVersion=2.1-dev 
                     -DgroupId=org.apache.portals.tutorials
                     -DartifactId=jetexpress
                     -Dversion=1.0

The folder \JetspeedTraining\workspace is empty, this is correct, buid throws errors :( ?
 

I have the sensation that is no complete config...
 
Thanks !
 

My configuration:
 
:: Folder Tree ::
c:\JetspeedTraining
c:\JetspeedTraining\maven
c:\JetspeedTraining\maven\repository
c:\JetspeedTraining\resources   (In this folder I have unziped 'http://portals.apache.org/tutorials/resources/jetspeed-2-resources.zip')
c:\JetspeedTraining\resources\applications
c:\JetspeedTraining\resources\decorations
c:\JetspeedTraining\resources\...
c:\JetspeedTraining\tomcat-express
c:\JetspeedTraining\workspace
 
:: settings.xml ::
%USERPROFILE%\.m2\settings.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/POM/4.0.0">
    <localRepository>c:/JetspeedTraining/maven/repository</localRepository>
    <profiles>
     <profile>
            <id>settings</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <!-- Jetspeed-2 deployment properties -->
                <org.apache.jetspeed.server.home>c:/JetspeedTraining/tomcat-express</org.apache.jetspeed.server.home>
                <org.apache.jetspeed.catalina.version.major>5.5</org.apache.jetspeed.catalina.version.major>
                <org.apache.jetspeed.services.autodeployment.server>localhost</org.apache.jetspeed.services.autodeployment.server>
                <org.apache.jetspeed.services.autodeployment.port>8080</org.apache.jetspeed.services.autodeployment.port>
                <org.apache.jetspeed.services.autodeployment.user>j2deployer</org.apache.jetspeed.services.autodeployment.user>
                <org.apache.jetspeed.services.autodeployment.password>j2deployer</org.apache.jetspeed.services.autodeployment.password>
                <!-- DB properties -->
                <!--
        ... Oracle 9i config...
        -->
            </properties>
        </profile>
    </profiles>
    <activeProfiles>
   <activeProfile>jetspeed-db-drivers-path</activeProfile>
    </activeProfiles>
</settings>
 
:: Buid Error ::
[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 -DartifactI
d=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)
  
 
 
 
Thanks !!
 
Javier Padrón
Nartex Software

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


Mime
View raw message