Skip to content

Commit 1c6a6f4

Browse files
committed
Update pom and docs
1 parent d13a0e9 commit 1c6a6f4

File tree

2 files changed

+15
-28
lines changed

2 files changed

+15
-28
lines changed

README.md

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
1-
# AliDip2BK
1+
# BKP-LHC-Client
22

3-
Initial Repository based on work from @iclegrand in repository: https://github.com/iclegrand/AliDip2BK
3+
Repository based on work from @iclegrand in repository: https://github.com/iclegrand/AliDip2BK
44

5-
Collect selected Info from the CERN DIP system (LHC & ALICE -DCS) and publish them into the Bookkeeping/InfoLogger systems
6-
7-
A detailed description for this project is provided by Roberto in this document:
5+
Projects consumes selected messages from the CERN DIP system (LHC & ALICE -DCS) and publishes them into the O2 systems. A detailed description for this project is provided by Roberto in this document:
86
https://codimd.web.cern.ch/G0TSXqA1R8iPqWw2w2wuew
97

8+
### Requirements
9+
- This program requires java 11 on a 64 bit system (this is a constrain from the DIP library)
10+
- maven
1011

11-
This program requires java 11 on a 64 bit system
12-
(this is a constrain from the DIP library)
13-
14-
To test the java version run
15-
java -version
16-
17-
The run configuration is defined in the AliDip2BK.properties file.
18-
19-
To run the program :
20-
21-
sh runAliDip2BK.sh
22-
23-
When the the program is stopped, it enters into the shutdown mode and it will
24-
unsubscribe to the DIP data providers will wait to process the DipData queue
25-
and saves the state of the fills and runs.
12+
### Maven Commands for dev,tst,deployments
13+
```bash
14+
mvn <clean> compile -Dos.version={os_version}
15+
mvn <clean> package -Dos.version={os_version}
16+
```
2617

18+
E.g. os_version `macosx-x86_64`

pom.xml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,13 @@
2020
<slf4j-simple.version>1.7.30</slf4j-simple.version>
2121
</properties>
2222

23-
<repositories>
24-
<repository>
25-
<id>cern-dip-repo</id>
26-
<url>https://nexus.web.cern.ch/nexus/content/repositories/public/</url>
27-
</repository>
28-
</repositories>
29-
3023
<dependencies>
3124
<dependency>
3225
<groupId>cern.dip</groupId>
3326
<artifactId>dip</artifactId>
3427
<version>${cern.dip.version}</version>
35-
<type>pom</type>
28+
<scope>system</scope>
29+
<systemPath>${project.basedir}/lib/cern_dip.jar</systemPath>
3630
</dependency>
3731
<dependency>
3832
<groupId>com.google.protobuf</groupId>
@@ -100,6 +94,7 @@
10094
</configuration>
10195
</plugin>
10296
<plugin>
97+
<!-- Maven JAR Plugin to generate UBER JAR file -->
10398
<groupId>org.apache.maven.plugins</groupId>
10499
<artifactId>maven-shade-plugin</artifactId>
105100
<version>3.6.0</version>

0 commit comments

Comments
 (0)