Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

82
LINES

< > BotCompany Repo | #1034383 // pom.xml for ffpmeg-java-samples

Document

1  
<?xml version="1.0" encoding="UTF-8"?>
2  
<project xmlns="http://maven.apache.org/POM/4.0.0"
3  
         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  
    <groupId>me.vzhilin</groupId>
8  
    <artifactId>h264-decoder</artifactId>
9  
    <version>0.0.1-SNAPSHOT</version>
10  
11  
    <properties>
12  
        <ffmpeg-preset>4.1-1.4.4</ffmpeg-preset>
13  
        <maven.compiler.source>9</maven.compiler.source>
14  
        <maven.compiler.target>9</maven.compiler.target>
15  
    </properties>
16  
17  
    <dependencies>
18  
        <dependency>
19  
            <groupId>commons-cli</groupId>
20  
            <artifactId>commons-cli</artifactId>
21  
            <version>1.4</version>
22  
        </dependency>
23  
24  
        <dependency>
25  
            <groupId>org.bytedeco.javacpp-presets</groupId>
26  
            <artifactId>ffmpeg</artifactId>
27  
            <version>${ffmpeg-preset}</version>
28  
        </dependency>
29  
    </dependencies>
30  
31  
    <build>
32  
        <plugins>
33  
 <plugin>
34  
            <groupId>org.apache.maven.plugins</groupId>
35  
            <artifactId>maven-assembly-plugin</artifactId>
36  
            <version>3.3.0</version>
37  
            <configuration>
38  
                <descriptorRefs>
39  
                    <descriptorRef>jar-with-dependencies</descriptorRef>
40  
                </descriptorRefs>
41  
            </configuration>
42  
            <executions>
43  
                <execution>
44  
                    <id>assemble-all</id>
45  
                    <phase>package</phase>
46  
                    <goals>
47  
                        <goal>single</goal>
48  
                    </goals>
49  
                </execution>
50  
            </executions>
51  
        </plugin>
52  
            <plugin>
53  
                <groupId>org.apache.maven.plugins</groupId>
54  
                <artifactId>maven-compiler-plugin</artifactId>
55  
                <version>3.5.1</version>
56  
                <configuration>
57  
                    <source>${maven.compiler.source}</source>
58  
                    <target>${maven.compiler.target}</target>
59  
                </configuration>
60  
            </plugin>
61  
        </plugins>
62  
    </build>
63  
64  
    <profiles>
65  
        <profile>
66  
            <id>linux-x86_64</id>
67  
            <activation>
68  
                <os>
69  
                    <family>unix</family>
70  
                </os>
71  
            </activation>
72  
            <dependencies>
73  
                <dependency>
74  
                    <groupId>org.bytedeco.javacpp-presets</groupId>
75  
                    <artifactId>ffmpeg</artifactId>
76  
                    <version>${ffmpeg-preset}</version>
77  
                    <classifier>linux-x86_64</classifier>
78  
                </dependency>
79  
            </dependencies>
80  
        </profile>
81  
    </profiles>
82  
</project>

download  show line numbers   

Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034383
Snippet name: pom.xml for ffpmeg-java-samples
Eternal ID of this version: #1034383/1
Text MD5: cb15844d6cea96ce65e8421703700afd
Author: stefan
Category: javax / video
Type: Document
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-04 21:34:30
Source code size: 2829 bytes / 82 lines
Pitched / IR pitched: No / No
Views / Downloads: 134 / 59
Referenced in: [show references]