File tree 3 files changed +10
-21
lines changed
src/main/java/com/coremedia/labs/plugins/adapters/pixabay/model
3 files changed +10
-21
lines changed Original file line number Diff line number Diff line change 1
- ![ CoreMedia Labs Logo] ( https://documentation.coremedia.com/badges/banner_coremedia_labs_wide.png " CoreMedia Labs Logo ")
2
-
3
- ![ CoreMedia Content Cloud Version] (https://img.shields.io/static/v1?message=2101&label=CoreMedia%20Content%20Cloud&style=for-the-badge&labelColor=666666&color=672779 "This badge shows the CoreMedia version this project is compatible with.
1
+ ![ CoreMedia Content Cloud Version] (https://img.shields.io/static/v1?message=2404&label=CoreMedia%20Content%20Cloud&style=for-the-badge&labelColor=666666&color=672779 "This badge shows the CoreMedia version this project is compatible with.
4
2
Please read the versioning section of the project to see what other CoreMedia versions are supported and how to find them.")
5
- ![ Status] (https://img.shields.io/static/v1?message=active&label=Status&style=for-the-badge&labelColor=666666&color=2FAC66
6
- "The status badge describes if the project is maintained. Possible values are active and inactive.
7
- If a project is inactive it means that the development has been discontinued and won't support future CoreMedia versions."
8
- )
9
3
10
4
# Content Hub Adapter for Pixabay
11
5
@@ -19,13 +13,10 @@ The types of content working with this adapter are:
19
13
20
14
21
15
## Versioning
22
- The main branch of this project is suitable for CoreMedia versions since 2101 .
16
+ The main branch of this project is suitable for CoreMedia versions since 2404 .
23
17
It is based on the plugin architecture.
24
18
25
- For older CoreMedia versions there are branches with corresponding names.
26
- For example, if your CoreMedia version is 2010.1, checkout the branch cmcc-10-2010.
27
- These older versions are based on the extensions architecture, because plugins are
28
- available only since 2101.
19
+ For older CoreMedia versions there are branches with corresponding names.
29
20
30
21
## Documentation & Tutorial
31
22
Original file line number Diff line number Diff line change 12
12
<maven .compiler.release>11</maven .compiler.release>
13
13
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14
14
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
15
- <cm .studio-server.core.version>2110.2 </cm .studio-server.core.version>
16
- <cm .common.core.version>2110.2 </cm .common.core.version>
15
+ <cm .studio-server.core.version>2404.1 </cm .studio-server.core.version>
16
+ <cm .common.core.version>2404.1 </cm .common.core.version>
17
17
<jackson .version>2.12.3</jackson .version>
18
18
</properties >
19
19
129
129
</dependency >
130
130
131
131
<dependency >
132
- <groupId >com.sun .activation</groupId >
133
- <artifactId >jakarta.activation</artifactId >
134
- <version >1.2 .2</version >
132
+ <groupId >jakarta .activation</groupId >
133
+ <artifactId >jakarta.activation-api </artifactId >
134
+ <version >2.1 .2</version >
135
135
<scope >provided</scope >
136
136
</dependency >
137
-
138
137
<dependency >
139
138
<groupId >org.junit.jupiter</groupId >
140
139
<artifactId >junit-jupiter</artifactId >
Original file line number Diff line number Diff line change 1
1
package com .coremedia .labs .plugins .adapters .pixabay .model ;
2
2
3
3
import com .coremedia .contenthub .api .ContentHubBlob ;
4
- import com .coremedia .contenthub .api .ContentHubDefaultBlob ;
5
4
import com .coremedia .contenthub .api .ContentHubObject ;
6
5
import com .coremedia .contenthub .api .UrlBlobBuilder ;
7
6
import com .coremedia .mimetype .MimeTypeService ;
7
+ import jakarta .activation .MimeType ;
8
+ import jakarta .activation .MimeTypeParseException ;
8
9
import org .apache .commons .io .FilenameUtils ;
9
10
import org .slf4j .Logger ;
10
11
import org .slf4j .LoggerFactory ;
11
12
12
- import javax .activation .MimeType ;
13
- import javax .activation .MimeTypeParseException ;
14
13
import java .io .InputStream ;
15
14
import java .util .Optional ;
16
15
You can’t perform that action at this time.
0 commit comments