Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,050
Community Members
 
Community Events
184
Community Groups

Newbie level - Compiling Team Calendar source fails with error

There's a problem with howTeam Calendars for Confluence sends users' pictures in email notices without an extension - this causes emails to be rejected by Cisco Iron Guard which is what we use for mail scanning. It's a simple fix - changing 

 String extension = profilePicture.lastIndexOf('.') >= 0 ? profilePicture.substring(profilePicture.lastIndexOf('.')) : "";

to

    String extension = profilePicture.lastIndexOf('.') >= 0 ? profilePicture.substring(profilePicture.lastIndexOf('.')) : "png";

in  "com/atlassian/confluence/extra/calendar3/notification/DefaultCalendarNotificationManager.java"

My problem is how to compile the %^%$# thing. I've installed Java and the plugin API and confirmed they are installed correctly. When I run "atlas-compile" in the H:\TeamCalendar\TeamCalendarSources-6.0.12 directory where I've extracted the source code, I get:

H:\TeamCalendar\TeamCalendarSources-6.0.12>atlas-compile
[INFO] Project POM found
Executing: "C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.16\apache-maven-3.5.4\bin\mvn.cmd" compile -gs C:\Applications\Atlassian\atlassian-plugin-sdk-8.0.16\apache-maven-3.5.4/conf/settings.xml
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.atlassian.confluence.extra.team-calendars:team-calendars:[unknown-version]: Failure to find com.atlassian.confluence.extra.team-calendars:team-calendars-project:pom:6.0.13-SNAPSHOT in https://maven.atlassian.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of atlassian-public has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 3, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.atlassian.confluence.extra.team-calendars:team-calendars:[unknown-version] (H:\TeamCalendar\TeamCalendarSources-6.0.12\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.atlassian.confluence.extra.team-calendars:team-calendars:[unknown-version]: Failure to find com.atlassian.confluence.extra.team-calendars:team-calendars-project:pom:6.0.13-SNAPSHOT in https://maven.atlassian.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of atlassian-public has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 3, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

 

Can someone point me to some resource which can show me how to compile this package?

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 13, 2019

Hello Tadas,

Thank you for contacting us about this. Changes such as this are a bit advanced for most of our end-users to answer, so my suggestion would be to raise this question at our Developer Community instead. There, our development-minded users will be able to help you out. Give that a try and let me know if you have any trouble!

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events