-
Notifications
You must be signed in to change notification settings - Fork 4
/
pom.xml
146 lines (142 loc) · 7.74 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.wildfly.prospero</groupId>
<artifactId>bom-builder</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<parent>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-parent</artifactId>
<version>28.0.0.Final</version>
</parent>
<dependencies>
<dependency>
<groupId>org.jboss.logmanager</groupId>
<artifactId>jboss-logmanager</artifactId>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-bom-builder-plugin</artifactId>
<version>2.0.6.Final-SNAPSHOT</version>
<executions>
<execution>
<id>build-bom</id>
<goals>
<goal>build-bom</goal>
</goals>
<configuration>
<channels>
<channel>
<manifest>
<groupId>org.wildfly.prospero.test</groupId>
<artifactId>test-manifest</artifactId>
</manifest>
</channel>
</channels>
<!-- Information about the parent to use. If not present no parent will be used -->
<parent>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-parent</artifactId>
</parent>
<!-- The groupId of the generated bom -->
<bomGroupId>org.wildfly</bomGroupId>
<!-- The artifactId of the generated bom -->
<bomArtifactId>wildfly-jaxws-client-bom</bomArtifactId>
<!-- The version of the generated bom, in this case we use the same version as the caller -->
<bomVersion>${project.version}</bomVersion>
<!-- The maven project name of the bom -->
<bomName>WildFly BOMs: JAXWS Client</bomName>
<!-- The maven project description of the bom -->
<bomDescription>This artifact provides a bill of materials (BOM) for JAXWS client usage.</bomDescription>
<!-- aftifacts in the bom's dependency management are also added in its dependencies, so users may just dependend on the bom to dependend on all artifacts -->
<bomWithDependencies>true</bomWithDependencies>
<!-- The builder's maven project licenses are added to the bom -->
<licenses>true</licenses>
<!-- All exclusions in the builder managed dependencies are inherited by the bom, other options are NONE and UNMANAGED -->
<inheritExclusions>ALL</inheritExclusions>
<!-- A list of profiles to include in the generated bom -->
<includeProfiles>
<profile>JDK9</profile>
</includeProfiles>
<!-- IDs from maven repositories from builder, to add to the bom -->
<includeRepositories>
<id>jboss-public-repository-group</id>
<id>jboss-enterprise-maven-repository</id>
</includeRepositories>
<!-- Managed dependencies to exclude and not add to the bom -->
<excludeDependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</dependency>
</excludeDependencies>
<!-- Managed dependencies to include and add to the bom -->
<includeDependencies>
<dependency>
<groupId>org.jboss.slf4j</groupId>
<artifactId>slf4j-jboss-logmanager</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.logmanager</groupId>
<artifactId>jboss-logmanager</artifactId>
</dependency>
</includeDependencies>
<!-- Unmanaged dependencies to add to the BOM, with a version obtained from an existing managed dependency -->
<!-- <versionRefDependencies>-->
<!-- <dependency>-->
<!-- <groupId>org.hibernate.validator</groupId>-->
<!-- <artifactId>hibernate-validator-annotation-processor</artifactId>-->
<!-- <version>org.hibernate.validator:hibernate-validator:jar</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.hibernate</groupId>-->
<!-- <artifactId>hibernate-jpamodelgen</artifactId>-->
<!-- <version>org.hibernate:hibernate-core:jar</version>-->
<!-- </dependency>-->
<!-- </versionRefDependencies>-->
<!-- Extra exclusions to add to specific dependencies in the bom -->
<addExclusions>
<exclusion>
<dependencyGroupId>org.hibernate</dependencyGroupId>
<dependencyArtifactId>hibernate-jpamodelgen</dependencyArtifactId>
<exclusionGroupId>javax.xml.bind</exclusionGroupId>
<exclusionArtifactId>jaxb-api</exclusionArtifactId>
</exclusion>
</addExclusions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>test-repo</id>
<url>file:test-repo</url>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</releases>
</repository>
</repositories>
</project>