Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modules #977

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
52 changes: 26 additions & 26 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
root: /
paths:
- home/circleci/.m2/repository
- home/circleci/project/target
- home/circleci/project
testsj21:
docker:
- image: cimg/openjdk:21.0
Expand All @@ -49,44 +49,44 @@ jobs:
mv -n /tmp/ws/home/circleci/project/.??* /home/circleci/project/
- run:
command: |
# If no symbolic name, it's a PR, will run sonar
if [ -n "$(git symbolic-ref HEAD 2>/dev/null )" ] ; then
SONAR="jacoco:report sonar:sonar -Psonar -Dsonar.projectKey=$SONARCLOUD_PROJECTKEY"
echo "Doing sonar"
else
SONAR=""
fi
mkdir -p /tmp/$CIRCLE_JOB
mvn -B test -Pskip -Darg.line="-Xmx2048m" -Djava.io.tmpdir="/tmp/$CIRCLE_JOB" -s .circleci/settings.xml
mvn -B test $SONAR -Pskip -Darg.line="-Xmx2048m" -Djava.io.tmpdir="/tmp/$CIRCLE_JOB" -s .circleci/settings.xml
environment:
MAVEN_OPTS: "-Xmx1024m"
- store_test_results:
path: target/surefire-reports
- persist_to_workspace:
root: /
paths:
- home/circleci/.m2/repository
- home/circleci/.sonar/cache
- home/circleci/project
testsj17:
docker:
- image: cimg/openjdk:17.0
steps:
- attach_workspace:
at: /tmp/ws
at: /tmp/ws
- run:
command: |
mv -n /tmp/ws/home/circleci/.m2 /home/circleci/
mv -n /tmp/ws/home/circleci/project/* /home/circleci/project/
mv -n /tmp/ws/home/circleci/project/.??* /home/circleci/project/
command: |
mv -n /tmp/ws/home/circleci/.m2 /home/circleci/
mv -n /tmp/ws/home/circleci/project/* /home/circleci/project/
mv -n /tmp/ws/home/circleci/project/.??* /home/circleci/project/
- run:
command: |
# If no symbolic name, it's a PR, will run sonar
if [ -n "$(git symbolic-ref HEAD 2>/dev/null )" ] ; then
SONAR="jacoco:report sonar:sonar -Psonar"
echo "Doing sonar"
else
SONAR=""
fi
mkdir -p /tmp/$CIRCLE_JOB
mvn -B test $SONAR -Pskip -Darg.line="-Xmx2048m" -Djava.io.tmpdir="/tmp/$CIRCLE_JOB" -s .circleci/settings.xml
environment:
MAVEN_OPTS: "-Xmx1024m"
command: |
mkdir -p /tmp/$CIRCLE_JOB
mvn -B test -Pskip -Darg.line="-Xmx2048m" -Djava.io.tmpdir="/tmp/$CIRCLE_JOB" -s .circleci/settings.xml
environment:
MAVEN_OPTS: "-Xmx1024m"
- store_test_results:
path: target/surefire-reports
- persist_to_workspace:
root: /
paths:
- home/circleci/.m2/repository
- home/circleci/.sonar/cache
- home/circleci/project
path: target/surefire-reports
testsj11:
docker:
- image: cimg/openjdk:11.0
Expand Down
1 change: 0 additions & 1 deletion .circleci/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<id>sonar</id>
<properties>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.projectKey>${env.SONARCLOUD_KEY}</sonar.projectKey>
<sonar.organization>${env.SONARCLOUD_ORG}</sonar.organization>
<sonar.login>${env.SONARCLOUD_LOGIN}</sonar.login>
</properties>
Expand Down
61 changes: 61 additions & 0 deletions jeromq-core/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.zeromq</groupId>
<artifactId>jeromq-pom</artifactId>
<version>0.7.0-SNAPSHOT</version>
</parent>
<artifactId>jeromq-core</artifactId>
<packaging>jar</packaging>
<name>JeroMQ :: Core</name>
<description>The core code of jeromq</description>
<url>https://github.com/zeromq/jeromq</url>
<properties>
<checkstyle.file>${project.basedir}/../src/checkstyle/checks.xml</checkstyle.file>
<maven.install.skip>true</maven.install.skip>
</properties>
<dependencies>
<dependency>
<groupId>eu.neilalexander</groupId>
<artifactId>jnacl</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
<rerunFailingTestsCount>5</rerunFailingTestsCount>
</configuration>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<id>default-jar</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<bnd>
Bundle-SymbolicName: $[project.groupId].$[project.artifactId]
Export-Package: \
zmq.*, \
org.zeromq.*
Import-Package: \
com.neilalexander.*;resolution:=optional, \
*
-jpms-module-info: $[Bundle-SymbolicName];access=0
</bnd>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading