Comments (6)
Ok, I will have study this a little bit first. Threads ... sigh!
Original comment by [email protected]
on 19 Feb 2012 at 8:51
- Changed state: Accepted
from sortpom.
I looked through the code and found no obvious thread problems. I also added a
test that will execute multiple instances of the plugin at the same time and
have found no problems.
So I think that it is threadsafe...
Could you please checkout the source and test it locally with
mvn com.google.code.sortpom:maven-sortpom-plugin:1.2.1-SNAPSHOT:sort
on your multimodule project? Make some rearrangements to the individual pom
files first, so that the plugin has something to work with.
Regards
/Björn
Original comment by [email protected]
on 19 Feb 2012 at 9:32
- Changed state: Started
from sortpom.
It all runs nicely on our multi module projects with 1.2.1-SNAPSHOT.
Tested it by unsorting several POMs that are also in our SVN repo, ran a
parallel build and checked the modified files against the SVN copy.
There is also a @threadSafe checklist at the bottom of this page:
https://cwiki.apache.org/MAVEN/parallel-builds-in-maven-3.html
Original comment by [email protected]
on 20 Feb 2012 at 10:18
from sortpom.
Version 1.2.1 has been released to Central.
I followed the list you provided and updated some the frameworks the plugin
uses.
Please download the new official version from Central and test it against your
multimodule project. The issue can then be set to verified.
Regards
/Björn
Original comment by [email protected]
on 22 Feb 2012 at 9:02
- Changed state: Fixed
from sortpom.
Thanks! Tested 1.2.1 with sorting our 200 POMs by changing the sort order
several times and then back to the original. No problems whatsoever. And the
big warning is also gone now. :-)
- Wouter
Original comment by [email protected]
on 23 Feb 2012 at 8:17
from sortpom.
Original comment by [email protected]
on 1 May 2014 at 8:38
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from sortpom.
Related Issues (20)
- Sort plugins by executionId HOT 7
- detect duplicate properties HOT 1
- Release 3 HOT 1
- sortDependencies should have an option to leave the order of "import" scope dependencies alone HOT 2
- Update DOM parser HOT 2
- How install as an IntelliJ plugin? HOT 1
- Sortpom deleted the first blank line HOT 6
- License Header is removed from 3.1.0 release HOT 15
- Whitespace removed from within XML tags in 3.1.0 release HOT 6
- Whitespace after XML comments removed since 3.1.0 release HOT 9
- Suggestion: Add a parameter to control the sort of dependencies in dependencymanagement HOT 7
- Autoformat settings.xml files HOT 2
- Minimal version of Java for this plugin ? HOT 9
- Is it normal that pom.xml in target repository is checked ? HOT 7
- Preserve comments formatting HOT 5
- Merge automatic pull requests automatically HOT 6
- Xml formatting HOT 12
- sorting doesn't work in >=v3.0.0 HOT 11
- no sort xmls with doctype HOT 4
- Add entry for the 3.2.1 release on the wiki page `Versions` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sortpom.