Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Newbie level - Compiling Team Calendar source fails with error

Tadas Osmolskis
November 7, 2019

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?

2 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
2 votes
Answer accepted
David Niro
Atlassian Partner
September 13, 2022

Hello @jcnta ,

David from ALM Works here.  

At the moment, field history cannot be access via a Structure formula on Cloud.  We do have a task related to it in our backlog and I have added your vote.

I will follow up here when there is some news to share.

Best,
David

jcnta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 13, 2022

Thanks David! Excited to see future updates on this :)

0 votes
Stepan Kholodov _Tempo_
Community Champion
September 23, 2024

Hello @jcnta 

I just wanted to let you know that now the Formula column has access to Issue History, and it should be possible to check when the Due date field was updated in each issue. You can find out more about the functionality in our documentation.

I hope this helps. If you need assistance with the Formula, please reach out to us directly at our support portal.

Best regards,
Stepan
Tempo (the Structure app vendor)

TAGS
AUG Leaders

Atlassian Community Events