This tutorial aims to configure eclipse luna with local maven repository.This configuration assumes no proxy setup for internet connection.
Window -> Preferences -> Maven -> Archetypes -> Add Local Catalog
Locate your local catalog file
Friday, March 27, 2015
how to restore artifactory
Three directories, extract backups
C:\Users\jupiter\.artifactory
C:\Users\jupiter\.eclipse
(local repository)
C:\Users\jupiter\.m2
Login artifactory
Admin -> Import & Export -> Repositories ->Import Repository from Path
run artifactory
check on the numbers of artifacts
C:\Users\jupiter\.artifactory
C:\Users\jupiter\.eclipse
(local repository)
C:\Users\jupiter\.m2
Login artifactory
Admin -> Import & Export -> Repositories ->Import Repository from Path
run artifactory
check on the numbers of artifacts
how to install artifactory
PLATFORM (previous)
windows 7 family edition 64-bit
jdk 1.7.0
tomcat 7.0.26 (64-bit edition)
I want to install new version of tomcat, jdk and artifactory.My aim is to put artifactory backups back on this new platform.This tutorial is about running artifactory war file on tomcat.
PLATFORM (new)
windows 7 family edition 64-bit
jdk1.8.0_31
apache-tomcat-8.0.20-windows-x86
C:\Users\jupiter>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode)
extract apache-tomcat-8.0.20-windows-x86.zip
tomcat folder should look like this
C:\Downloads\apache-tomcat
"Server Status" and "Manager App" interfaces require manager-gui role and "Host Manager" requires admin-gui role.
add these lines and restart tomcat if it works.
C:\Downloads\apache-tomcat\conf \tomcat-users.xml
<role rolename="manager-gui,admin-gui"/>
<user username="tomcat" password="tomcat" roles="manager-gui,admin-gui"/>
configure tomcat port.
C:\Downloads\apache-tomcat\conf\server.xml
<Connector port="5555" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
This file sets java_home manually and runs tomcat on the folder mentioned.
contents of "tomcat start.cmd" file.
@echo off
SET JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_31
SET CATALINA_HOME=C:\Downloads\apache-tomcat
C:\Downloads\apache-tomcat\bin\startup.bat
run "tomcat start.cmd" on folder
C:\Downloads\ciroot
test tomcat whether it runs
tomcat runs on http://localhost:8080/
extract artifactory-3.5.3.zip
copy C:\Downloads\artifactory-3.5.3\webapps\artifactory.war file
into C:\Downloads\apache-tomcat\webapps folder.
restart tomcat.
test if artifactory runs
http://localhost:5555artifactory
artifactory first time login.
user/password admin/admin
windows 7 family edition 64-bit
jdk 1.7.0
tomcat 7.0.26 (64-bit edition)
I want to install new version of tomcat, jdk and artifactory.My aim is to put artifactory backups back on this new platform.This tutorial is about running artifactory war file on tomcat.
PLATFORM (new)
windows 7 family edition 64-bit
jdk1.8.0_31
apache-tomcat-8.0.20-windows-x86
C:\Users\jupiter>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode)
extract apache-tomcat-8.0.20-windows-x86.zip
tomcat folder should look like this
C:\Downloads\apache-tomcat
"Server Status" and "Manager App" interfaces require manager-gui role and "Host Manager" requires admin-gui role.
add these lines and restart tomcat if it works.
C:\Downloads\apache-tomcat\conf \tomcat-users.xml
<role rolename="manager-gui,admin-gui"/>
<user username="tomcat" password="tomcat" roles="manager-gui,admin-gui"/>
configure tomcat port.
C:\Downloads\apache-tomcat\conf\server.xml
<Connector port="5555" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
This file sets java_home manually and runs tomcat on the folder mentioned.
contents of "tomcat start.cmd" file.
@echo off
SET JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_31
SET CATALINA_HOME=C:\Downloads\apache-tomcat
C:\Downloads\apache-tomcat\bin\startup.bat
run "tomcat start.cmd" on folder
C:\Downloads\ciroot
test tomcat whether it runs
tomcat runs on http://localhost:8080/
extract artifactory-3.5.3.zip
copy C:\Downloads\artifactory-3.5.3\webapps\artifactory.war file
into C:\Downloads\apache-tomcat\webapps folder.
restart tomcat.
test if artifactory runs
http://localhost:5555artifactory
artifactory first time login.
user/password admin/admin
Sunday, March 15, 2015
Monday, March 9, 2015
how to configure jdk (eclipse luna)
Window > Preferences > Java > Installed JREs > Standart VM > JRE home
choose
C:\Program Files (x86)\Java\jdk1.8.0_31
C:\Users\jupiter>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode)
choose
C:\Program Files (x86)\Java\jdk1.8.0_31
C:\Users\jupiter>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode)
Subscribe to:
Posts (Atom)