Skip to content

Commit

Permalink
Add support to publish artifacts to Epam Repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktarPatsiaichuk committed Jul 19, 2023
1 parent 1fd39aa commit 48a4106
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,10 @@
</snapshots>
</pluginRepository>
</pluginRepositories>
<distributionManagement>
<repository>
<id>epam-repository</id>
<url>https://jenkins.slon-srm.projects.epam.com/artifactory/SLON-SRM</url>
</repository>
</distributionManagement>
</project>
30 changes: 28 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,50 @@
SupplyOn RichFaces 3.2.1.GA Fork
================================

# Resources

| Name | Description |
|---------------------------|---------------------------------------------------|
| RichFaces Repository | https://repository.jboss.org/maven2/org/richfaces |
| RichFaces 3.3 Nuxeo Fork | https://github.com/nuxeo/richfaces-3.3 |
| SupplyOn RichFaces Fixes | https://doc.supplyon.de/x/woWZBg |


# Prerequisites

1. Download and Install maven: `apache-maven-3.9.3` from: [Apache Distribution Directory](https://dlcdn.apache.org/maven/maven-3/3.9.3/binaries/apache-maven-3.9.3-bin.zip)

2. Download and Install `jdk1.5.0_12` from: [Oracle Archive Download](https://www.oracle.com/java/technologies/java-archive-javase5-downloads.html)
2. Download and Install `jdk1.5.0_12` from: [Oracle Archive Download](https://www.oracle.com/java/technologies/java-archive-javase5-downloads.html)
Also archive could be found at: `Project Shared Directory`: `\\epam.com\Projects\Minsk\SLON-INIT\Software\java\jdk-1_5_0_12-windows-i586-p.exe`

3. Copy `toolchnains.xml` to `~/m2./toolchains.xml`
3. Copy `toolchnains.xml` to `~/m2./toolchains.xml`
```cmd
copy toolchnains.xml ~/m2/toolchains.xml
```

4. Copy `settings.xml` to `~/m2/settings.xml` and set `password` to correct value for `epam-repository`
```cmd
copy settings.xml ~/m2/settings.xml
```


# Build project

```cmd
mvn clean package
```

# Publish project

- Publish project to [epam-repository](https://jenkins.slon-srm.projects.epam.com/artifactory/SLON-SRM)
Note: check that username/password was defined for `epam-repository` in `~/m2/settings.xml`
```cmd
mvn deploy
```

- Copy generated artifacts to permanent storage according to [Adding new libraries to Artifactory](https://doc.supplyon.de/x/_YiZBg).
Path in Bit Bucket repository: [RichFaces artifacts](https://bitbucket.supplyon.de/projects/EXT_SRMPORTAL/repos/supplyon-gradle-utils/browse/upload-artifacts/supplyon-artifacts/repository/com/supplyon/richfaces/richfaces-impl)

# Notes
- Java `1.5.0_12` is used to build the project
`framework/impl/pom.xml`
Expand Down
9 changes: 9 additions & 0 deletions settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<settings>
<servers>
<server>
<id>epam-repository</id>
<username>admin</username>
<password>password</password>
</server>
</servers>
</settings>

0 comments on commit 48a4106

Please sign in to comment.