<dependency> <groupId>org.mule.common</groupId> <artifactId>mule-common</artifactId>
- <version>0.0.1-SNAPSHOT</version>+ <version>0.0.2-SNAPSHOT</version> </dependency>
You're right. It's generally a bad practice. We're using a SNAPSHOT here because mule-common is still updating very often. For the release of 3.4, we'll change it to a specific version of mule-common and shouldn't need to go back to using a snapshot again.
Why cannot we include the commons module inside mule source code?
It is shared between mule and studio and devkit. Studio doesn't currently depend on mule but if we put this in mule, it would. That is why it is its own jar and independent.
It is shared between mule and studio and devkit. Studio doesn't currently depend on mule but if we put this in mule, it would. That is why it is its own jar and independent.
We'll switch out of snapshots once the library is has a more stable api (should be this week). It has still had breaking api changes 1 or 2 times/week. The Studio team would be going crazy these past few weeks if they had to wait for mule artifacts to built and published through bamboo every time we needed to update mule-common rather than pulling the latest snapshot of mule-common directly. So it was been really important for development to use snapshots but soon this should no longer be needed.