Skip to content

Commit

Permalink
Merge pull request DSpace#9940 from DSpace/dependabot/maven/build-too…
Browse files Browse the repository at this point in the history
…ls-9d8f74bba3

Bump the build-tools group across 1 directory with 24 updates
  • Loading branch information
tdonohue authored Oct 30, 2024
2 parents 9afe7d6 + a824e4d commit ce6b584
Show file tree
Hide file tree
Showing 34 changed files with 99 additions and 273 deletions.
2 changes: 1 addition & 1 deletion checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ For more information on CheckStyle configurations below, see: http://checkstyle.
<!-- Requirements for Javadocs for methods -->
<module name="JavadocMethod">
<!-- All public methods MUST HAVE Javadocs -->
<property name="scope" value="public"/>
<property name="accessModifiers" value="public"/>
<!-- Allow params, throws and return tags to be optional -->
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
Expand Down
6 changes: 3 additions & 3 deletions dspace-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.4.0</version>
<version>3.6.0</version>
<executions>
<execution>
<phase>validate</phase>
Expand All @@ -116,7 +116,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
<configuration>
<revisionOnScmFailure>UNKNOWN_REVISION</revisionOnScmFailure>
</configuration>
Expand Down Expand Up @@ -177,7 +177,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
<executions>
<execution>
<id>workflow-curation</id>
Expand Down
2 changes: 1 addition & 1 deletion dspace-server-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.1.0</version>
<version>1.2.1</version>
<executions>
<execution>
<phase>initialize</phase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ private AuthenticationTokenResource shortLivedTokenResponse(HttpServletRequest r
* @return ResponseEntity
*/
@RequestMapping(value = "/login", method = { RequestMethod.GET, RequestMethod.PUT, RequestMethod.PATCH,
RequestMethod.DELETE })
RequestMethod.DELETE })
public ResponseEntity login() {
return ResponseEntity.status(HttpStatus.METHOD_NOT_ALLOWED).body("Only POST is allowed for login requests.");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
* @author Andrea Bollini (andrea.bollini at 4science.it)
*/
@LinksRest(links = {
@LinkRest(method = "getEperson", name = AuthorizationRest.EPERSON),
@LinkRest(method = "getFeature", name = AuthorizationRest.FEATURE),
@LinkRest(method = "getObject", name = AuthorizationRest.OBJECT)
@LinkRest(method = "getEperson", name = AuthorizationRest.EPERSON),
@LinkRest(method = "getFeature", name = AuthorizationRest.FEATURE),
@LinkRest(method = "getObject", name = AuthorizationRest.OBJECT)
})
public class AuthorizationRest extends BaseObjectRest<String> {
public static final String NAME = "authorization";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,9 @@
* @author Andrea Bollini (andrea.bollini at 4science.it)
*/
@LinksRest(links = {
@LinkRest(
name = BitstreamRest.BUNDLE,
method = "getBundle"
),
@LinkRest(
name = BitstreamRest.FORMAT,
method = "getFormat"
),
@LinkRest(
name = BitstreamRest.THUMBNAIL,
method = "getThumbnail"
)
@LinkRest(name = BitstreamRest.BUNDLE, method = "getBundle"),
@LinkRest(name = BitstreamRest.FORMAT, method = "getFormat"),
@LinkRest(name = BitstreamRest.THUMBNAIL, method = "getThumbnail")
})
public class BitstreamRest extends DSpaceObjectRest {
public static final String PLURAL_NAME = "bitstreams";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,8 @@
* @author Andrea Bollini (andrea.bollini at 4science.it)
*/
@LinksRest(links = {
@LinkRest(
name = BrowseIndexRest.LINK_ITEMS,
method = "listBrowseItems"
),
@LinkRest(
name = BrowseIndexRest.LINK_ENTRIES,
method = "listBrowseEntries"
)
@LinkRest(name = BrowseIndexRest.LINK_ITEMS, method = "listBrowseItems"),
@LinkRest(name = BrowseIndexRest.LINK_ENTRIES, method = "listBrowseEntries")
})
public class BrowseIndexRest extends BaseObjectRest<String> {
private static final long serialVersionUID = -4870333170249999559L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,9 @@
* @author Jelle Pelgrims (jelle.pelgrims at atmire.com)
*/
@LinksRest(links = {
@LinkRest(
name = BundleRest.ITEM,
method = "getItem"
),
@LinkRest(
name = BundleRest.BITSTREAMS,
method = "getBitstreams"
),
@LinkRest(
name = BundleRest.PRIMARY_BITSTREAM,
method = "getPrimaryBitstream"
)
@LinkRest(name = BundleRest.ITEM, method = "getItem"),
@LinkRest(name = BundleRest.BITSTREAMS, method = "getBitstreams"),
@LinkRest(name = BundleRest.PRIMARY_BITSTREAM, method = "getPrimaryBitstream")
})
public class BundleRest extends DSpaceObjectRest {
public static final String NAME = "bundle";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
* @author Andrea Bollini (andrea.bollini at 4science.it)
*/
@LinksRest(links = {
@LinkRest(
name = ClaimedTaskRest.STEP,
method = "getStep"
)
@LinkRest(name = ClaimedTaskRest.STEP, method = "getStep")
})
public class ClaimedTaskRest extends BaseObjectRest<Integer> {
public static final String NAME = "claimedtask";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,14 @@
* @author Andrea Bollini (andrea.bollini at 4science.it)
*/
@LinksRest(links = {
@LinkRest(
name = CollectionRest.LICENSE,
method = "getLicense"
),
@LinkRest(
name = CollectionRest.LOGO,
method = "getLogo"
),
@LinkRest(
name = CollectionRest.MAPPED_ITEMS,
method = "getMappedItems"
),
@LinkRest(
name = CollectionRest.PARENT_COMMUNITY,
method = "getParentCommunity"
),
@LinkRest(
name = CollectionRest.ADMIN_GROUP,
method = "getAdminGroup"
),
@LinkRest(
name = CollectionRest.SUBMITTERS_GROUP,
method = "getSubmittersGroup"
),
@LinkRest(
name = CollectionRest.ITEM_READ_GROUP,
method = "getItemReadGroup"
),
@LinkRest(
name = CollectionRest.BITSTREAM_READ_GROUP,
method = "getBitstreamReadGroup"
),
@LinkRest(name = CollectionRest.LICENSE, method = "getLicense"),
@LinkRest(name = CollectionRest.LOGO, method = "getLogo"),
@LinkRest(name = CollectionRest.MAPPED_ITEMS, method = "getMappedItems"),
@LinkRest(name = CollectionRest.PARENT_COMMUNITY, method = "getParentCommunity"),
@LinkRest(name = CollectionRest.ADMIN_GROUP, method = "getAdminGroup"),
@LinkRest(name = CollectionRest.SUBMITTERS_GROUP, method = "getSubmittersGroup"),
@LinkRest(name = CollectionRest.ITEM_READ_GROUP, method = "getItemReadGroup"),
@LinkRest(name = CollectionRest.BITSTREAM_READ_GROUP, method = "getBitstreamReadGroup"),
})
public class CollectionRest extends DSpaceObjectRest {
public static final String NAME = "collection";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,11 @@
* @author Andrea Bollini (andrea.bollini at 4science.it)
*/
@LinksRest(links = {
@LinkRest(
name = CommunityRest.COLLECTIONS,
method = "getCollections"
),
@LinkRest(
name = CommunityRest.LOGO,
method = "getLogo"
),
@LinkRest(
name = CommunityRest.SUBCOMMUNITIES,
method = "getSubcommunities"
),
@LinkRest(
name = CommunityRest.PARENT_COMMUNITY,
method = "getParentCommunity"
),
@LinkRest(
name = CommunityRest.ADMIN_GROUP,
method = "getAdminGroup"
)
@LinkRest(name = CommunityRest.COLLECTIONS, method = "getCollections"),
@LinkRest(name = CommunityRest.LOGO, method = "getLogo"),
@LinkRest(name = CommunityRest.SUBCOMMUNITIES, method = "getSubcommunities"),
@LinkRest(name = CommunityRest.PARENT_COMMUNITY, method = "getParentCommunity"),
@LinkRest(name = CommunityRest.ADMIN_GROUP, method = "getAdminGroup")
})
public class CommunityRest extends DSpaceObjectRest {
public static final String NAME = "community";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@
* @author Andrea Bollini (andrea.bollini at 4science.it)
*/
@LinksRest(links = {
@LinkRest(
name = EPersonRest.GROUPS,
method = "getGroups"
)
@LinkRest(name = EPersonRest.GROUPS, method = "getGroups")
})
public class EPersonRest extends DSpaceObjectRest {
public static final String NAME = "eperson";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
* Refer to {@link org.dspace.content.EntityType} for explanation of the properties
*/
@LinksRest(links = {
@LinkRest(
name = EntityTypeRest.RELATION_SHIP_TYPES,
method = "getEntityTypeRelationship"
)
@LinkRest(name = EntityTypeRest.RELATION_SHIP_TYPES, method = "getEntityTypeRelationship")
})
public class EntityTypeRest extends BaseObjectRest<Integer> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
* This class serves as a REST representation for an External Source
*/
@LinksRest(links = {
@LinkRest(
name = ExternalSourceRest.ENTITY_TYPES,
method = "getSupportedEntityTypes"
)
@LinkRest(name = ExternalSourceRest.ENTITY_TYPES, method = "getSupportedEntityTypes")
})
public class ExternalSourceRest extends BaseObjectRest<String> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,9 @@
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@LinksRest(links = {
@LinkRest(
name = GroupRest.SUBGROUPS,
method = "getGroups"
),
@LinkRest(
name = GroupRest.EPERSONS,
method = "getMembers"
),
@LinkRest(
name = GroupRest.OBJECT,
method = "getParentObject"
)
@LinkRest(name = GroupRest.SUBGROUPS, method = "getGroups"),
@LinkRest(name = GroupRest.EPERSONS, method = "getMembers"),
@LinkRest(name = GroupRest.OBJECT, method = "getParentObject")
})
public class GroupRest extends DSpaceObjectRest {
public static final String NAME = "group";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,46 +17,16 @@
* @author Andrea Bollini (andrea.bollini at 4science.it)
*/
@LinksRest(links = {
@LinkRest(
name = ItemRest.ACCESS_STATUS,
method = "getAccessStatus"
),
@LinkRest(
name = ItemRest.BUNDLES,
method = "getBundles"
),
@LinkRest(
name = ItemRest.IDENTIFIERS,
method = "getIdentifiers"
),
@LinkRest(
name = ItemRest.MAPPED_COLLECTIONS,
method = "getMappedCollections"
),
@LinkRest(
name = ItemRest.OWNING_COLLECTION,
method = "getOwningCollection"
),
@LinkRest(
name = ItemRest.RELATIONSHIPS,
method = "getRelationships"
),
@LinkRest(
name = ItemRest.VERSION,
method = "getItemVersion"
),
@LinkRest(
name = ItemRest.TEMPLATE_ITEM_OF,
method = "getTemplateItemOf"
),
@LinkRest(
name = ItemRest.THUMBNAIL,
method = "getThumbnail"
),
@LinkRest(
name = ItemRest.SUBMITTER,
method = "getItemSubmitter"
)
@LinkRest(name = ItemRest.ACCESS_STATUS, method = "getAccessStatus"),
@LinkRest(name = ItemRest.BUNDLES, method = "getBundles"),
@LinkRest(name = ItemRest.IDENTIFIERS, method = "getIdentifiers"),
@LinkRest(name = ItemRest.MAPPED_COLLECTIONS, method = "getMappedCollections"),
@LinkRest(name = ItemRest.OWNING_COLLECTION, method = "getOwningCollection"),
@LinkRest(name = ItemRest.RELATIONSHIPS, method = "getRelationships"),
@LinkRest(name = ItemRest.VERSION, method = "getItemVersion"),
@LinkRest(name = ItemRest.TEMPLATE_ITEM_OF, method = "getTemplateItemOf"),
@LinkRest(name = ItemRest.THUMBNAIL, method = "getThumbnail"),
@LinkRest(name = ItemRest.SUBMITTER, method = "getItemSubmitter")
})
public class ItemRest extends DSpaceObjectRest {
public static final String NAME = "item";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class OrcidHistoryRest extends BaseObjectRest<Integer> {

private String responseMessage;

public OrcidHistoryRest(){}
public OrcidHistoryRest() {}

@Override
@JsonProperty(access = JsonProperty.Access.READ_ONLY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
* @author Andrea Bollini (andrea.bollini at 4science.it)
*/
@LinksRest(links = {
@LinkRest(
name = PoolTaskRest.STEP,
method = "getStep"
)
@LinkRest(name = PoolTaskRest.STEP, method = "getStep")
})
public class PoolTaskRest extends BaseObjectRest<Integer> {
public static final String NAME = "pooltask";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,9 @@
* This class serves as a REST representation for the {@link Process} class
*/
@LinksRest(links = {
@LinkRest(
name = ProcessRest.FILES,
method = "getFilesFromProcess"
),
@LinkRest(
name = ProcessRest.FILE_TYPES,
method = "getFileTypesFromProcess"
),
@LinkRest(
name = ProcessRest.OUTPUT,
method = "getOutputFromProcess"
)
@LinkRest(name = ProcessRest.FILES, method = "getFilesFromProcess"),
@LinkRest(name = ProcessRest.FILE_TYPES, method = "getFileTypesFromProcess"),
@LinkRest(name = ProcessRest.OUTPUT, method = "getOutputFromProcess")
})
public class ProcessRest extends BaseObjectRest<Integer> {
public static final String NAME = "process";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@
* Refer to {@link org.dspace.content.Relationship} for explanation about the properties
*/
@LinksRest(links = {
@LinkRest(
name = RelationshipRest.RELATIONSHIP_TYPE,
method = "getRelationshipType"
)
@LinkRest(name = RelationshipRest.RELATIONSHIP_TYPE, method = "getRelationshipType")
})
public class RelationshipRest extends BaseObjectRest<Integer> {
public static final String NAME = "relationship";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
*
*/
@LinksRest(links = {
@LinkRest(name = ResearcherProfileRest.ITEM, method = "getItem"),
@LinkRest(name = ResearcherProfileRest.EPERSON, method = "getEPerson")
@LinkRest(name = ResearcherProfileRest.ITEM, method = "getItem"),
@LinkRest(name = ResearcherProfileRest.EPERSON, method = "getEPerson")
})
public class ResearcherProfileRest extends BaseObjectRest<UUID> {

Expand Down
Loading

0 comments on commit ce6b584

Please sign in to comment.