[ 
https://issues.apache.org/jira/browse/WICKET-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14347718#comment-14347718
 ] 

Tobias Soloschenko commented on WICKET-5848:
--------------------------------------------

I tried to get the plugin working for me but I failed. Maybe I missed something.

https://github.com/klopfdreh/wicket/commit/1f3ca3ffe2ba7633339719824fb5e12197bcb243#diff-600376dffeb79835ede4a0b285078036R247

Here is the root pom.xml

https://github.com/klopfdreh/wicket/blob/1f3ca3ffe2ba7633339719824fb5e12197bcb243/pom.xml

1. I added a submodule wicket-eclipse-settings with a folder called files and 
put in an empty file "test"
2. I added the module to the list of modules 
<modules><module>wicket-eclipse-settings</module>........</modules>
3. Then I added the dependency of wicket-eclipse-settings to the project 
dependencies and the maven-eclipse-plugin dependencies and placed in 
additionalConfig to copy the "test"-file at the right position

What I expected is that the test file is copied to 
<working-dir>/wicket-core/.settings/test when I run a "clean package" at 
wicket-core.

It seems that package doesn't run the maven-eclipse-plugin at all.

Sorry for some missing spaces - if it is fixed I will commit the pom well 
formatted - the commits can be squashed then.

> Remove .settings folders of projects
> ------------------------------------
>
>                 Key: WICKET-5848
>                 URL: https://issues.apache.org/jira/browse/WICKET-5848
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 7.0.0-M6
>            Reporter: Tobias Soloschenko
>            Priority: Minor
>              Labels: maven
>
> Discussed here:
> http://apache-wicket.1842946.n4.nabble.com/DISCUSSION-Remove-settings-of-projects-in-github-td4669818.html
> 1. Delete every .settings folders out of the maven projects and make sure 
> that maven is going to setup the projects right if "configure as maven 
> project" is invoked.
> 2. Ensure that the code style formatter is applied to the eclipse settings if 
> the project is configured as maven project. 
> Emond suggested: https://github.com/topicusonderwijs/m2e-settings



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to