java-ebpf

Форк
0
/
pom.xml 
143 строки · 4.4 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2

3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
  <modelVersion>4.0.0</modelVersion>
6

7
  <artifactId>bpf</artifactId>
8
  <packaging>jar</packaging>
9

10
  <name>bpf</name>
11
  <url>https://github.com/parttimenerd/hello-ebpf</url>
12
  <version>0.1.0-SNAPSHOT</version>
13

14
  <licenses>
15
    <license>
16
      <name>Apache License, Version 2.0</name>
17
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
18
    </license>
19
  </licenses>
20

21
  <developers>
22
    <developer>
23
      <id>parttimenerd</id>
24
      <name>Johannes Bechberger</name>
25
      <email>me@mostlynerdless.de</email>
26
    </developer>
27
  </developers>
28

29
  <scm>
30
    <connection>scm:git:https://github.com/parttimenerd/hello-ebpf.git</connection>
31
    <developerConnection>scm:git:https://github.com/parttimenerd/hello-ebpf.git</developerConnection>
32
    <url>https://github.com/parttimenerd/hello-ebpf</url>
33
  </scm>
34
  <inceptionYear>2023</inceptionYear>
35
  <description>Java bindings for libbpf.</description>
36

37

38
  <properties>
39
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40
    <maven.compiler.source>22</maven.compiler.source>
41
    <maven.compiler.target>22</maven.compiler.target>
42
  </properties>
43

44
  <build>
45
    <finalName>${project.artifactId}</finalName>
46
    <plugins>
47
      <plugin>
48
        <groupId>org.apache.maven.plugins</groupId>
49
        <artifactId>maven-compiler-plugin</artifactId>
50
        <version>3.8.0</version>
51
        <configuration>
52
          <annotationProcessors>
53
            <annotationProcessor>me.bechberger.ebpf.bpf.processor.Processor</annotationProcessor>
54
          </annotationProcessors>
55
          <!-- fork=true is necessary to pass compilerArgs,
56
          see https://github.com/projectlombok/lombok/issues/2681#issuecomment-748616687
57
          <fork>false</fork>
58
          <compilerArgs>
59
            <arg>-J- -add-opens=...</arg>
60
          </compilerArgs>
61
          but we can omit it by just using the .mvn/jvm.config file-->
62
        </configuration>
63
      </plugin>
64
      <plugin>
65
        <artifactId>maven-assembly-plugin</artifactId>
66
        <version>3.6.0</version>
67
        <configuration>
68
          <descriptorRefs>
69
            <descriptorRef>jar-with-dependencies</descriptorRef>
70
          </descriptorRefs>
71
          <finalName>${project.artifactId}</finalName>
72
          <appendAssemblyId>false</appendAssemblyId>
73
        </configuration>
74
        <executions>
75
          <execution>
76
            <id>all-assembly</id>
77
            <phase>package</phase>
78
            <goals>
79
              <goal>single</goal>
80
            </goals>
81
          </execution>
82
        </executions>
83
      </plugin>
84
      <plugin>
85
        <groupId>org.apache.maven.plugins</groupId>
86
        <artifactId>maven-surefire-plugin</artifactId>
87
        <version>3.0.0-M7</version>
88
        <dependencies>
89
          <dependency>
90
            <groupId>org.junit.jupiter</groupId>
91
            <artifactId>junit-jupiter-engine</artifactId>
92
            <version>5.4.0</version>
93
          </dependency>
94
        </dependencies>
95
      </plugin>
96
    </plugins>
97
  </build>
98

99
  <dependencies>
100
    <dependency>
101
      <groupId>org.jetbrains</groupId>
102
      <artifactId>annotations</artifactId>
103
      <version>24.0.1</version>
104
    </dependency>
105
    <dependency>
106
      <groupId>me.bechberger</groupId>
107
      <artifactId>ebpf-annotations</artifactId>
108
      <version>${project.version}</version>
109
    </dependency>
110
    <dependency>
111
        <groupId>me.bechberger</groupId>
112
        <artifactId>bpf-processor</artifactId>
113
        <version>${project.version}</version>
114
    </dependency>
115
    <dependency>
116
      <groupId>me.bechberger</groupId>
117
      <artifactId>rawbpf</artifactId>
118
      <version>0.1.3</version>
119
    </dependency>
120
    <dependency>
121
      <groupId>me.bechberger</groupId>
122
      <artifactId>ebpf-shared</artifactId>
123
      <version>${project.version}</version>
124
    </dependency>
125
    <dependency>
126
      <groupId>org.junit.jupiter</groupId>
127
      <artifactId>junit-jupiter</artifactId>
128
      <version>5.10.2</version>
129
      <scope>test</scope>
130
    </dependency>
131
    <dependency>
132
      <groupId>info.picocli</groupId>
133
      <artifactId>picocli</artifactId>
134
      <version>4.7.5</version>
135
    </dependency>
136
  </dependencies>
137

138
  <parent>
139
    <groupId>me.bechberger</groupId>
140
    <artifactId>hello-ebpf</artifactId>
141
    <version>0.1.0-SNAPSHOT</version>
142
  </parent>
143
</project>

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.