Revision 53916
Added by Konstantina Galouni almost 6 years ago
pom.xml | ||
---|---|---|
58 | 58 |
<dependency> |
59 | 59 |
<groupId>javax.mail</groupId> |
60 | 60 |
<artifactId>mail</artifactId> |
61 |
<version>1.4</version>
|
|
61 |
<version>1.5.0-b01</version>
|
|
62 | 62 |
</dependency> |
63 | 63 |
<dependency> |
64 | 64 |
<groupId>com.googlecode.json-simple</groupId> |
... | ... | |
66 | 66 |
<version>1.1</version> |
67 | 67 |
</dependency> |
68 | 68 |
</dependencies> |
69 |
|
|
70 |
<!--3d answer: https://stackoverflow.com/questions/23260057/the-forked-vm-terminated-without-saying-properly-goodbye-vm-crash-or-system-exi--> |
|
71 |
<!--If you use openjdk there might be a problem with surfire plugin - uncomment following lines--> |
|
72 |
<!--<build>--> |
|
73 |
<!--<plugins>--> |
|
74 |
<!--<plugin>--> |
|
75 |
<!--<groupId>org.apache.maven.plugins</groupId>--> |
|
76 |
<!--<artifactId>maven-surefire-plugin</artifactId>--> |
|
77 |
<!--<version>2.19.1</version>--> |
|
78 |
<!--<configuration>--> |
|
79 |
<!--<!–<testFailureIgnore>true</testFailureIgnore>–>--> |
|
80 |
<!--<useSystemClassLoader>false</useSystemClassLoader>--> |
|
81 |
<!--</configuration>--> |
|
82 |
<!--</plugin>--> |
|
83 |
<!--</plugins>--> |
|
84 |
<!--<finalName>uoa-admin-tools</finalName>--> |
|
85 |
<!--</build>--> |
|
69 | 86 |
</project> |
Also available in: Unified diff
1. pom.xml: Add commented plugin for surfire (possibly needed in openjdk: bug in their release) | update version of javax.mail.
2. FetchContextHandler.java: bug fix in parsing resultset.
3. QueryGenerator.java: bug fix in query of method 'generateSelectFirstContextByCommunityIdQuery'.
4. TestClass.java: Tests for sending email notifications added.
5. EmailScheduler.java: 'sendEmailNotifications' boolean variable added to control if email scheduler will run or not.
6. EmailSender.java: Fix subject and content of emails | bug fixes | bcc emails to Greece's test mail.
7. springContext-claimsDemo.properties: Add 'services.claims.mail.contactMail', 'services.claims.mail.openaireProjectClaimsPage',
'services.claims.mail.openaireCommunityClaimsPage', 'services.claims.mail.manageCommunityUserNotificationsPage' properties.
8. springContext-claimsDemo.xml: Add missing beans for 'EmailSender' and 'EmailScheduler' classes.