Some small fixes
parent
6a23404b29
commit
a68d25ba61
|
|
@ -224,14 +224,14 @@
|
|||
<include>WEB-INF/</include>
|
||||
</includes>
|
||||
</overlay>
|
||||
<overlay>
|
||||
<!-- <overlay>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-shortcuts</artifactId>
|
||||
<type>jar</type>
|
||||
<includes>
|
||||
<include>WEB-INF/</include>
|
||||
</includes>
|
||||
</overlay>
|
||||
</overlay>-->
|
||||
<overlay>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-core</artifactId>
|
||||
|
|
|
|||
|
|
@ -51,11 +51,11 @@
|
|||
</dependency>
|
||||
|
||||
<!-- CCM modules -->
|
||||
<dependency>
|
||||
<!-- <dependency>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-shortcuts</artifactId>
|
||||
<version>${project.parent.version}</version>
|
||||
</dependency>
|
||||
</dependency>-->
|
||||
<dependency>
|
||||
<groupId>org.librecms</groupId>
|
||||
<artifactId>ccm-cms</artifactId>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "ccm-cms",
|
||||
"name": "@librecms/ccm-cms",
|
||||
"version": "7.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
|
|
|
|||
|
|
@ -167,7 +167,10 @@ public abstract class AbstractMessagesBean extends AbstractMap<String, String> {
|
|||
.keySet()
|
||||
.stream()
|
||||
.collect(
|
||||
Collectors.toMap(key -> key, key -> messages.getString(key))
|
||||
Collectors.toMap(
|
||||
key -> key,
|
||||
key -> messages.getString(key)
|
||||
)
|
||||
)
|
||||
.entrySet();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@ import org.libreccm.modules.UnInstallEvent;
|
|||
import org.libreccm.ui.admin.applications.shortcuts.ShortcutsApplicationController;
|
||||
import org.libreccm.web.ApplicationType;
|
||||
|
||||
import javax.servlet.http.HttpServlet;
|
||||
|
||||
/**
|
||||
* The {@code Shortcuts} module for CCM. Defines the {@code Shortcuts}
|
||||
* application and sets up the module when the module is installed.
|
||||
|
|
@ -45,7 +47,9 @@ import org.libreccm.web.ApplicationType;
|
|||
descBundle = ShortcutsConstants.SHORTCUTS_BUNDLE,
|
||||
singleton = true,
|
||||
creator = ShortcutsApplicationCreator.class,
|
||||
applicationController = ShortcutsApplicationController.class
|
||||
applicationController = ShortcutsApplicationController.class,
|
||||
servlet = HttpServlet.class,
|
||||
servletPath = ""
|
||||
)}
|
||||
)
|
||||
public class Shortcuts implements CcmModule {
|
||||
|
|
|
|||
|
|
@ -47,7 +47,8 @@ import javax.servlet.http.HttpServletResponse;
|
|||
public class ShortcutsFilter implements Filter {
|
||||
|
||||
private final static Logger LOGGER = LogManager.getLogger(
|
||||
ShortcutsFilter.class);
|
||||
ShortcutsFilter.class
|
||||
);
|
||||
|
||||
@Inject
|
||||
private ShortcutRepository shortcutRepository;
|
||||
|
|
|
|||
Loading…
Reference in New Issue