일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- API
- high level client
- Mac
- sort
- Kafka
- 900gle
- aggs
- aggregation
- Python
- token filter test
- licence delete curl
- docker
- matplotlib
- zip 파일 암호화
- plugin
- query
- TensorFlow
- Java
- MySQL
- Test
- license delete
- Elasticsearch
- springboot
- flask
- ELASTIC
- 차트
- zip 암호화
- License
- analyzer test
- 파이썬
Archives
- Today
- Total
개발잡부
Nexus 본문
반응형
https://help.sonatype.com/repomanager3/product-information/download
다운로드
-rw-r--r--@ 1 doo staff 242M 2 10 21:21 nexus-3.37.3-02-mac.tgz
From the command line use tar xvzf nexus-<version>.<tar file extension>
(base) ➜ nexus tar xvzf nexus-3.37.3-02-mac.tgz
nexus-<version>/bin/
- ./nexus run, for *Unix operating systems like Linux
./nexus run
/Users/doo/project/nexus/sonatype-work/nexus3
sonatype-work/nexus3 로 이동
초기패스워드 확인
초기패스워드로 접속해서 패스워드 변경 완료 하랏
admin / 변경된 계정비번 로그인
One-step deploy runs tests, installation, and deploy in a single command:
$ mvn clean deploy
-- 로그 확인
$ mvn clean deploy -e
Multi-steps deploy runs different commands in different steps. Firstly, run install command (which implies comile, test, and install). Once done sucessfully, deploy the results:
$ mvn clean install
$ mvn deploy -DskipTests -Dmaven.install.skip=true
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.elasticsearch.plugin</groupId>
<artifactId>kr-danalyzer</artifactId>
<version>1.0</version>
<packaging>jar</packaging>
<properties>
<elasticsearch.version>7.15.1</elasticsearch.version>
<lucene.version>8.0.0</lucene.version>
</properties>
<dependencies>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>${elasticsearch.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-core</artifactId>
<version>${lucene.version}</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>${lucene.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.5</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.9.1</version>
<scope>provided</scope>
</dependency>
<!-- 추후 scope를 test로 변경 -->
<dependency>
<groupId>org.elasticsearch.test</groupId>
<artifactId>framework</artifactId>
<version>${elasticsearch.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- 추후 scope를 test로 변경 -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<finalName>kr-danalyzer-${elasticsearch.version}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>*.properties</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.1</version>
<configuration>
<argLine>-Dtests.security.manager=false</argLine>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<outputDirectory>${project.build.directory}/releases</outputDirectory>
<descriptors>
<descriptor>release.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>zip-with-dependencies</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<distributionManagement>
<repository>
<id>nexus-releases</id>
<url>http://localhost:8081/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>nexus-snapshots</id>
<url>http://localhost:8081/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>
settings.xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository/>
<interactiveMode/>
<offline/>
<pluginGroups/>
<servers>
<server>
<id>nexus-releases</id>
<username>admin</username>
<password>2Engussla^^</password>
</server>
<server>
<id>nexus-snapshots</id>
<username>admin</username>
<password>2Engussla^^</password>
</server>
</servers>
<mirrors/>
<!-- <proxies>-->
<!-- <proxy>-->
<!-- <id>myproxy</id>-->
<!-- <active>true</active>-->
<!-- <protocol>http</protocol>-->
<!-- <host>localhost</host>-->
<!-- <port>8081</port>-->
<!-- <username>admin</username>-->
<!-- <password>2Engussla^^</password>-->
<!-- <nonProxyHosts>*.google.com|ibiblio.org</nonProxyHosts>-->
<!-- </proxy>-->
<!-- </proxies>-->
<profiles/>
<activeProfiles/>
</settings>
401 에러인데 ..
curl 테스트
curl -u admin:2Engussla^^ http://localhost:8081/repository/maven-releases/kr-danalyzer-7.15.1.zip --request PUT --data./kr-danalyzer-7.15.1.zip
로그 확인
아 뭐여 된거야 안된거여
반응형
'JAVA > etc.' 카테고리의 다른 글
sql (0) | 2022.04.16 |
---|---|
Maven 설치 - Mac OS (old version) (0) | 2022.02.28 |
[Pentaho] Transformation 1 (0) | 2021.12.02 |
이미지 업로드 jquery, axios (0) | 2020.11.11 |
Elasticsearch health check failed (0) | 2020.03.05 |
Comments