|
9 | 9 | <version>1.2.0</version> |
10 | 10 |
|
11 | 11 | <properties> |
12 | | - <maven.compiler.source>22</maven.compiler.source> |
13 | | - <maven.compiler.target>22</maven.compiler.target> |
| 12 | + <maven.compiler.source>23</maven.compiler.source> |
| 13 | + <maven.compiler.target>23</maven.compiler.target> |
14 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | 15 | <sonar.exclusions>src/main/java/net/codecrete/usb/**/gen/**/*</sonar.exclusions> |
16 | 16 | </properties> |
|
52 | 52 |
|
53 | 53 | <build> |
54 | 54 | <plugins> |
| 55 | + <plugin> |
| 56 | + <groupId>net.codecrete.windows-api</groupId> |
| 57 | + <artifactId>windowsapi-maven-plugin</artifactId> |
| 58 | + <executions> |
| 59 | + <execution> |
| 60 | + <goals> |
| 61 | + <goal>windows-api</goal> |
| 62 | + </goals> |
| 63 | + <configuration> |
| 64 | + <functions> |
| 65 | + <function>CLSIDFromString</function> |
| 66 | + <function>CreateFileW</function> |
| 67 | + <function>CreateIoCompletionPort</function> |
| 68 | + <function>CreateWindowExW</function> |
| 69 | + <function>DefWindowProcW</function> |
| 70 | + <function>DeviceIoControl</function> |
| 71 | + <function>FormatMessageW</function> |
| 72 | + <function>GetMessageW</function> |
| 73 | + <function>GetModuleHandleW</function> |
| 74 | + <function>GetQueuedCompletionStatus</function> |
| 75 | + <function>LocalFree</function> |
| 76 | + <function>RegCloseKey</function> |
| 77 | + <function>RegQueryValueExW</function> |
| 78 | + <function>RegisterClassExW</function> |
| 79 | + <function>RegisterDeviceNotificationW</function> |
| 80 | + <function>SetupDiCreateDeviceInfoList</function> |
| 81 | + <function>SetupDiDeleteDeviceInterfaceData</function> |
| 82 | + <function>SetupDiDestroyDeviceInfoList</function> |
| 83 | + <function>SetupDiEnumDeviceInfo</function> |
| 84 | + <function>SetupDiEnumDeviceInterfaces</function> |
| 85 | + <function>SetupDiGetClassDevsW</function> |
| 86 | + <function>SetupDiGetDeviceInterfaceDetailW</function> |
| 87 | + <function>SetupDiGetDevicePropertyW</function> |
| 88 | + <function>SetupDiOpenDevRegKey</function> |
| 89 | + <function>SetupDiOpenDeviceInfoW</function> |
| 90 | + <function>SetupDiOpenDeviceInterfaceW</function> |
| 91 | + <function>WinUsb_AbortPipe</function> |
| 92 | + <function>WinUsb_Free</function> |
| 93 | + <function>WinUsb_GetAssociatedInterface</function> |
| 94 | + <function>WinUsb_Initialize</function> |
| 95 | + <function>WinUsb_ReadPipe</function> |
| 96 | + <function>WinUsb_ResetPipe</function> |
| 97 | + <function>WinUsb_SetCurrentAlternateSetting</function> |
| 98 | + <function>WinUsb_SetPipePolicy</function> |
| 99 | + <function>WinUsb_WritePipe</function> |
| 100 | + </functions> |
| 101 | + <structs> |
| 102 | + <struct>DEV_BROADCAST_DEVICEINTERFACE_W</struct> |
| 103 | + <struct>DEV_BROADCAST_HDR</struct> |
| 104 | + <struct>USB_DESCRIPTOR_REQUEST</struct> |
| 105 | + <struct>USB_NODE_CONNECTION_INFORMATION_EX</struct> |
| 106 | + </structs> |
| 107 | + <enumerations> |
| 108 | + <enumeration>DEV_BROADCAST_HDR_DEVICE_TYPE</enumeration> |
| 109 | + <enumeration>FORMAT_MESSAGE_OPTIONS</enumeration> |
| 110 | + <enumeration>GENERIC_ACCESS_RIGHTS</enumeration> |
| 111 | + <enumeration>REG_SAM_FLAGS</enumeration> |
| 112 | + <enumeration>SETUP_DI_PROPERTY_CHANGE_SCOPE</enumeration> |
| 113 | + </enumerations> |
| 114 | + <constants> |
| 115 | + <constant>DBT_DEVICEARRIVAL</constant> |
| 116 | + <constant>DBT_DEVICEREMOVECOMPLETE</constant> |
| 117 | + <constant>DEVPKEY_Device_Address</constant> |
| 118 | + <constant>DEVPKEY_Device_Children</constant> |
| 119 | + <constant>DEVPKEY_Device_HardwareIds</constant> |
| 120 | + <constant>DEVPKEY_Device_InstanceId</constant> |
| 121 | + <constant>DEVPKEY_Device_Parent</constant> |
| 122 | + <constant>DEVPKEY_Device_Service</constant> |
| 123 | + <constant>DIREG_DEV</constant> |
| 124 | + <constant>GUID_DEVINTERFACE_USB_DEVICE</constant> |
| 125 | + <constant>GUID_DEVINTERFACE_USB_HUB</constant> |
| 126 | + <constant>HWND_MESSAGE</constant> |
| 127 | + <constant>INFINITE</constant> |
| 128 | + <constant>IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION</constant> |
| 129 | + <constant>IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX</constant> |
| 130 | + <constant>STATUS_UNSUCCESSFUL</constant> |
| 131 | + <constant>USB_REQUEST_GET_DESCRIPTOR</constant> |
| 132 | + <constant>WM_DEVICECHANGE</constant> |
| 133 | + </constants> |
| 134 | + </configuration> |
| 135 | + </execution> |
| 136 | + </executions> |
| 137 | + </plugin> |
55 | 138 | <plugin> |
56 | 139 | <groupId>org.apache.maven.plugins</groupId> |
57 | 140 | <artifactId>maven-compiler-plugin</artifactId> |
58 | 141 | <version>3.12.1</version> |
59 | 142 | <configuration> |
60 | | - <release>22</release> |
61 | | - <source>22</source> |
62 | | - <target>22</target> |
| 143 | + <release>23</release> |
| 144 | + <source>23</source> |
| 145 | + <target>23</target> |
63 | 146 | </configuration> |
64 | 147 | </plugin> |
65 | 148 | <plugin> |
|
129 | 212 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
130 | 213 | </configuration> |
131 | 214 | </plugin> |
| 215 | + |
| 216 | + <plugin> |
| 217 | + <groupId>net.codecrete.windows-api</groupId> |
| 218 | + <artifactId>windowsapi-maven-plugin</artifactId> |
| 219 | + <version>0.8.0</version> |
| 220 | + </plugin> |
132 | 221 | </plugins> |
133 | 222 | </pluginManagement> |
134 | 223 | </build> |
|
0 commit comments