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+     <parent >
6+         <artifactId >oci-java-sdk-addons</artifactId >
7+         <groupId >com.oracle.oci.sdk</groupId >
8+         <version >3.34.1</version >
9+         <relativePath >../pom.xml</relativePath >
10+     </parent >
11+     <modelVersion >4.0.0</modelVersion >
12+ 
13+     <artifactId >oci-java-sdk-addons-sse-support-jersey3</artifactId >
14+     <name >Oracle Cloud Infrastructure SDK - SSE Support</name >
15+     <description >This project support for Sever-Sent Events for Oracle Cloud Infrastructure</description >
16+     <url >https://docs.cloud.oracle.com/Content/API/SDKDocs/javasdk.htm</url >
17+ 
18+     <profiles >
19+         <profile >
20+             <id >sign</id >
21+             <properties >
22+                 <source .jar.for.zip>${project.build.directory} /${project.artifactId} -${project.version} -signed.jar</source .jar.for.zip>
23+             </properties >
24+             <build >
25+                 <plugins >
26+                     <!--  Explicitly generate the sources jar in the package phase so that it will be included in the bundle --> 
27+                     <plugin >
28+                         <groupId >org.apache.maven.plugins</groupId >
29+                         <artifactId >maven-source-plugin</artifactId >
30+                         <executions >
31+                             <execution >
32+                                 <id >attach-sources</id >
33+                                 <phase >package</phase >
34+                                 <goals >
35+                                     <goal >jar-no-fork</goal >
36+                                 </goals >
37+                             </execution >
38+                         </executions >
39+                     </plugin >
40+                     <plugin >
41+                         <artifactId >maven-antrun-plugin</artifactId >
42+                         <executions >
43+                             <!--  Copy jar for signing --> 
44+                             <execution >
45+                                 <id >copy-jar</id >
46+                                 <phase >package</phase >
47+                                 <goals >
48+                                     <goal >run</goal >
49+                                 </goals >
50+                                 <configuration >
51+                                     <target  name =" copy-jar"  >
52+                                         <copy  file =" ${project.build.directory}/${project.artifactId}-${project.version}.jar"   tofile =" ${source.jar.for.zip}"  />
53+                                     </target >
54+                                 </configuration >
55+                             </execution >
56+                         </executions >
57+                     </plugin >
58+                     <plugin >
59+                         <!--  https://ocss.oci.oraclecorp.com/webcodesign/ --> 
60+                         <groupId >com.oracle.ccss</groupId >
61+                         <artifactId >codesign-maven-plugin</artifactId >
62+                         <executions >
63+                             <execution >
64+                                 <!--  Run in pre-integration-test phase, which comes after the package phase. --> 
65+                                 <!--  That way, all jar files have been built already. --> 
66+                                 <phase >pre-integration-test</phase >
67+                                 <goals >
68+                                     <goal >sign</goal >
69+                                 </goals >
70+                             </execution >
71+                         </executions >
72+                         <configuration >
73+                             <user >dexsdk_grp</user >
74+                             <globalUID >joshunte</globalUID >
75+                             <fileToSign >${source.jar.for.zip} </fileToSign >
76+                             <signLocation >${project.build.directory} </signLocation >
77+                             <signMethod >java2</signMethod >
78+                         </configuration >
79+                     </plugin >
80+                     <!--  Assemble only during the 'sign' profile as we need to assemble the signed jar --> 
81+                     <!--  Assemble the single jar, dependencies, docs, examples into a zip archive --> 
82+                     <plugin >
83+                         <groupId >org.apache.maven.plugins</groupId >
84+                         <artifactId >maven-assembly-plugin</artifactId >
85+                         <configuration >
86+                             <appendAssemblyId >true</appendAssemblyId >
87+                             <attach >true</attach >
88+                             <descriptors >
89+                                 <descriptor >src/main/assembly/assembly.xml</descriptor >
90+                             </descriptors >
91+                         </configuration >
92+                         <executions >
93+                             <execution >
94+                                 <phase >pre-integration-test</phase >
95+                                 <goals >
96+                                     <goal >single</goal >
97+                                 </goals >
98+                             </execution >
99+                         </executions >
100+                     </plugin >
101+                 </plugins >
102+             </build >
103+         </profile >
104+ 
105+         <!-- Just do assembly, no signing -->
106+         <profile >
107+             <id >ziponly</id >
108+             <properties >
109+                 <source .jar.for.zip>${project.build.directory} /${project.artifactId} -${project.version} .jar</source .jar.for.zip>
110+             </properties >
111+             <build >
112+                 <plugins >
113+                     <!--  Explicitly generate the sources jar in the package phase so that it will be included in the bundle --> 
114+                     <plugin >
115+                         <groupId >org.apache.maven.plugins</groupId >
116+                         <artifactId >maven-source-plugin</artifactId >
117+                         <executions >
118+                             <execution >
119+                                 <id >attach-sources</id >
120+                                 <phase >package</phase >
121+                                 <goals >
122+                                     <goal >jar-no-fork</goal >
123+                                 </goals >
124+                             </execution >
125+                         </executions >
126+                     </plugin >
127+                     <plugin >
128+                         <artifactId >maven-assembly-plugin</artifactId >
129+                         <configuration >
130+                             <appendAssemblyId >true</appendAssemblyId >
131+                             <attach >true</attach >
132+                             <descriptors >
133+                                 <descriptor >src/main/assembly/assembly.xml</descriptor >
134+                             </descriptors >
135+                         </configuration >
136+                         <executions >
137+                             <execution >
138+                                 <phase >package</phase >
139+                                 <goals >
140+                                     <goal >single</goal >
141+                                 </goals >
142+                             </execution >
143+                         </executions >
144+                     </plugin >
145+                 </plugins >
146+             </build >
147+         </profile >
148+     </profiles >
149+     <dependencies >
150+         <dependency >
151+             <groupId >com.oracle.oci.sdk</groupId >
152+             <artifactId >oci-java-sdk-common</artifactId >
153+             <version >3.34.1</version >
154+         </dependency >
155+         <dependency >
156+             <groupId >com.oracle.oci.sdk</groupId >
157+             <artifactId >oci-java-sdk-generativeaiinference</artifactId >
158+             <version >3.34.1</version >
159+             <scope >test</scope >
160+         </dependency >
161+         <dependency >
162+             <!--  Not sure if this should be here, since it's a library,
163+                  and the transport layer should be chosen at the very outside, 
164+                  but the code in it needs it. -->  
165+             <groupId >com.oracle.oci.sdk</groupId >
166+             <artifactId >oci-java-sdk-common-httpclient-jersey3</artifactId >
167+             <version >3.34.1</version >
168+         </dependency >
169+     </dependencies >
170+ 
171+ 
172+ </project >
0 commit comments