Skip to content

Allow scripting in files #1

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

Closed
wants to merge 10 commits into from
Closed

Conversation

rpopov
Copy link
Contributor

@rpopov rpopov commented Jan 1, 2019

Once MSCRIPTING JIRA project is not public, I was not able to register a JIRA issue for this change.
Added parameter to maven-scripting-plugin, allowing the identification of the engine to use to use the file name extension, while still allowing explicitly naming the engine by providing . Internally refactored to have a cleaner structure, allowing more extensions.

@eolivelli
Copy link
Contributor

Hi @rpopov our JIRA is public, you can freely subscribe.
Please create an issue describing your idea.
Meanwhile I am taking a look to your patch.

pom.xml Outdated
@@ -30,12 +30,13 @@ under the License.
</parent>

<artifactId>maven-scripting-plugin</artifactId>
<version>3.0.0-SNAPSHOT</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

This will be change during release. Please revert

Copy link
Contributor

Choose a reason for hiding this comment

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

3.0.0 is correct, this is the first release of the plugin, compatible with Maven 3

@@ -92,13 +93,6 @@ under the License.
<scope>provided</scope>
</dependency>

<!-- ScriptEngines -->
<dependency>
Copy link
Contributor

Choose a reason for hiding this comment

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

This will be an important change for users, it should be another ticket, please create a separate patch.
Btw why don't you want this one on the classpath?

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 think that the groovy script interpreter is not necessary for the compilation and running of the plugin/ Instead it imposes the download of a significant graph of dependencies. The plugin allows using other than groovy languages and should treat them equally.
The groovy sccript interpreter is moved to the test poms.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Btw, there is no previous version of the plugin published on Maven Central, its version is 3.0.0-SNAPSHOT which assumes interface changes, that are not finalized. Now is the time to avoid using groovy.

Copy link
Contributor

Choose a reason for hiding this comment

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

For Maven the versioning scheme works a bit different. The 3.x.x means this plugin requires at least Maven 3. If we break backwords compatibility it is for the next Maven version.
This scheme has proven itself over the years, now there's no confusion anymore if a certain plugin works with Maven 2 or not.

Copy link
Contributor

Choose a reason for hiding this comment

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

@rpopov as we never released this plugin to the public I am fine with dropping the dependency now

@rpopov
Copy link
Contributor Author

rpopov commented Jan 2, 2019

Hi @rpopov our JIRA is public, you can freely subscribe.
Please create an issue describing your idea.
I registered in JIRA as a regular user and the MSCRIPT JIRA project is not available to me. I cannot register any issue in it.
image

@eolivelli
Copy link
Contributor

closing and reopening in order to trigger Travis

@eolivelli eolivelli closed this Jan 5, 2019
@eolivelli eolivelli reopened this Jan 5, 2019
@eolivelli
Copy link
Contributor

@rpopov we are enabling Travis-CI on this github project, so that you can see the results of the tests directly in Travis.

@eolivelli
Copy link
Contributor

This project is still very new, I found that we don't have even the JIRA project yet, I apologize for having given you bad instructions.
I am setting all up in order to be able to work well.

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

thank you @rpopov

Looks good,
please fix the typo as I have suggested.
In order to merge this PR I need to setup JIRA and a bunch of other things.

@rfscholte I will be happy to release the first version as soon as we are ready with all the INFRA stuff

@@ -92,13 +93,6 @@ under the License.
<scope>provided</scope>
</dependency>

<!-- ScriptEngines -->
<dependency>
Copy link
Contributor

Choose a reason for hiding this comment

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

@rpopov as we never released this plugin to the public I am fine with dropping the dependency now

@eolivelli
Copy link
Contributor

@rpopov I am sorry, we still have to wait for JIRA setup.

@eolivelli
Copy link
Contributor

meanwhile can you please squash everything into 1 single commit and rebase onto current master ?

@eolivelli
Copy link
Contributor

closing in favour of #3

@eolivelli eolivelli closed this Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants