[
https://issues.apache.org/jira/browse/JS2-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736971#action_12736971
]
hongkunan commented on JS2-1047:
--------------------------------
Hi Woonsan
$ svn checkout http://svn.apache.org/repos/asf/portals/jetspeed-2/portal/trunk
jetspeed-2
$ cd jetspeed-2
$ mvn -P init clean install (To build the jetspeed maven plugin first.)
$ mvn clean install (To build all the jetspeed components.)
$ cd jetspeed-installer
$ mvn org.apache.portals.jetspeed-2:jetspeed-mvn-maven-plugin:mvn
-Dtarget=installer-demo
(To build the installer. Please see jetspeed-installer/BUILD.txt for
detail.)
I execute up command,display error messge:
[INFO] [clean:clean]
[INFO] Deleting file set:
E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-mvn-maven-plugin
(included: [*.log], excluded:
[])
[INFO] ------------------------------------------------------------------------
[INFO] Building Jetspeed 2 Unpack Maven Plugin
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set:
E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-unpack-maven-plugin
(included: [*.log], exclude
d: [])
[INFO] ------------------------------------------------------------------------
[INFO] Building Jetspeed 2 Deploy Maven Plugin
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set:
E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-deploy-maven-plugin
(included: [*.log], exclude
d: [])
[INFO] ------------------------------------------------------------------------
[INFO] Building Jetspeed 2 Database Maven Plugin
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set:
E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-db-maven-plugin
(included: [*.log], excluded: [
])
[INFO] ------------------------------------------------------------------------
[INFO] Building jetspeed-archetype
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set:
E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-archetype (included:
[*.log], excluded: [])
[INFO] ------------------------------------------------------------------------
[INFO] Building Jetspeed 2 File-Utils Maven Plugin
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set:
E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-fileutils-maven-plugin
(included: [*.log], excl
uded: [])
[INFO] ------------------------------------------------------------------------
[INFO] Building Jetspeed Maven Skin
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set:
E:\project\eclipse\workspace\jetspeed-2.2\maven\jetspeed-maven-skin (included:
[*.log], excluded: [])
[INFO] ------------------------------------------------------------------------
[INFO] Building Jetspeed-2 Portal Resources
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that
the goal name is correct: Unable to download the ar
tifact 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=jetspeed-db-maven-plugin -Dversion=2.2.1-SNAPSHO
T -Dpackaging=maven-plugin -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.portals.jetspeed-2
-DartifactId=jetspeed-db-maven-plugin -Dversion=2.2.1-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:maven-plugin:2.2.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
org.apache.portals.jetspeed-2:jetspeed-db-maven-plugin:maven-plugin:2.2.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 minutes 21 seconds
[INFO] Finished at: Thu Jul 30 11:05:53 CST 2009
[INFO] Final Memory: 19M/41M
[INFO] ------------------------------------------------------------------------
> install jetspeed-installer-demo-2.2.0.jar database user oracle9i is error!
> why?
> --------------------------------------------------------------------------------
>
> Key: JS2-1047
> URL: https://issues.apache.org/jira/browse/JS2-1047
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Other
> Affects Versions: 2.2.0
> Environment: os:windows xp
> jdk:1.5
> database:oracle9i
> install jetspeed-installer-demo-2.2.0.jar
> Reporter: hongkunan
> Assignee: Woonsan Ko
> Fix For: 2.2.1
>
>
> when i install install jetspeed-installer-demo-2.2.0.jar use up env is
> error(database use oracle9i),
> but i install it database use derby is success!
> why?
> Error Message:
> Install failed
> Error running the install,The following error occurred while executing this
> line:
> e:\Apache\Jetspeed-2.2\database\bulid.xml:126;Source file does not exist!
> the 126 line in build.xml content is:
> <sql driver="${_jdbc.driver.class}" url="${_jdbc.url}"
> userid="${_db.username}" password="${_db.password}"
> src="${basedir}/${db.type}/drop-schema.sql" autocommit="true"
> onerror="continue" print="no" output="setup.log">
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]