Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The HR Portlets depend upon configuration with Peoplesoft and other systems to be configured for your installation.  To build and deploy a non-working version, you need the following minimum changes:

...

Approach 1: Exclude submodules and portlets and use wisconsin public versions (not recommended)

  1. As of 12/18/13:  You can comment out the submodules from the main pom.xml that you don't use, and remove the portlets from the portlet.xml and the portlet will load.  The submodules are still a dependency of the webapp submodule so public jars of the submodules will be downloaded from wisconsin's public repo.  Currently those public jars have the property files mentioned below. in them.
  2. If you want to remove the submodules you will need to remove them from the webapp's dependencies, remove the appropriate *Context.xml files in the webapp, and remove the controllers. 

Approach 2: Build everything but exclude portlets you don't want

1. The following items are excluded from git (using the .gitignore file) but must be present

...

:

submodule hrs-portlets-ps-impl

...

  • Copy src/main/resources/EXAMPLE_bnsemail-placeholder.properties to src/main/resources/bnsemail-placeholder.properties (and modify as appropriate if you will use this submodule)
  • Follow instructions in src/main/resources/smime-keystore-files/readme.txt to create src/main/resources/smime-keystore.jks.  NOTE:  If you are not using this submodule and you only want to have an empty keystore, you only need to do the step "Create an empty keystore" from the file, but use the password "PASSWORD" for the keystore to match EXAMPLE_bnsemail-placeholder.properties value.
  • If you do do not have the oracle JDBC drivers in your project, you will see the following warning with a stack trace in your logs.  If you are not using the email service, you can ignore this message (or adjust bnsemail-placeholder.properties to use hsql or the portlet.xml configuration so it doesn't attempt to initialize itto not use this submodule).

[localhost-startStop-1] WARN  o.j.p.u.jdbc.TomcatDataSourceFactory - Failed to register connection pool with MBeanServer. JMX information will not be available for: emailUpdateDataSource.

java.sql.SQLException: org.hsqldb.jdbc.JDBCDriver

2. Remove portlet items from hrs-portlets-webapp/src/main/webapp/WEB-INF/portlet.xml that you are not interested in