Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Maven builds and GH actions setup #1414

Merged
merged 13 commits into from
Jun 7, 2024

Conversation

xSAVIKx
Copy link
Contributor

@xSAVIKx xSAVIKx commented May 14, 2024

In this PR I have copied over all the relevant Maven and GH actions-related changes I introduced in my fork:

  • Added Maven wrapper to simplify local maven setup.
  • Changed Maven repos, license, links, etc. to reflect changes.
  • Swapped Travis builds with GH Actions. Publishing requires extra secure variables we can discuss and configure separately.

@xSAVIKx
Copy link
Contributor Author

xSAVIKx commented May 14, 2024

@jlouvel, can you please review this? Please let me know how can I share the JCA.

@jlouvel
Copy link
Member

jlouvel commented May 17, 2024

Thanks a lot @xSAVIKx this looks great!
I'll let @thboileau do a more thorough review and merge the PR as soon as possible.
For the JCA, could you send it to [email protected]?

@@ -0,0 +1,12 @@
# Set default behavior to automatically normalize line endings.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

.gitattributes Outdated
# in Windows via a file share from Linux, the scripts will work.
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
*.{ics,[iI][cC][sS]} text eol=crlf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hum, I wonder why we should take such files into consideration?
I'm not an expert, but ics files are calendar files, aren't they?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just an auto-generated template. I can drop that particular one if you prefer.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @xSAVIKx
do you mind to drop it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed 👍


# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

pom.xml Outdated
<url>http://restlet.tigris.org/svn/restlet/modules/</url>
<url>https://github.com/restlet/restlet-framework-java.git</url>
<connection>scm:git:${project.scm.url}</connection>
<developerConnection>scm:git:${project.scm.url}</developerConnection>
</scm>

<repositories>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can drop the repositories section. TheRestlet repository is useful only for 2.4 and below versions of the the framework.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it should be stated here while you're still gonna publish there as well, right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, I have to tell you we want to publish to Maven Central for 2.5 versions and higher. That's why I'm inclined to drop the repositories section.
Does it sound correct to you?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed 👍

*.iml
.DS_Store
.idea
target
.classpath
.project
.settings
*.class
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -1,5 +1,13 @@
# Restlet Framework


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
Copy link
Contributor

@thboileau thboileau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @xSAVIKx
many, many thanks for your great contribution.
I have a few comments. Could you have a look?

Co-authored-by: Thierry Boileau <[email protected]>
@xSAVIKx xSAVIKx requested a review from thboileau May 26, 2024 19:15
@xSAVIKx
Copy link
Contributor Author

xSAVIKx commented May 26, 2024

@thboileau please take a look again. I believe I've answered/resolved all the open points

@thboileau
Copy link
Contributor

hi @xSAVIKx
I've added some comments

@xSAVIKx
Copy link
Contributor Author

xSAVIKx commented May 31, 2024

@thboileau resolved 👍

Copy link
Contributor

@thboileau thboileau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks again @xSAVIKx !!

@xSAVIKx
Copy link
Contributor Author

xSAVIKx commented May 31, 2024

Thx for the review. FYI, I don't have a way to merge this, so that's on you guys.

@thboileau thboileau merged commit 3bca30b into restlet:2.5 Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants