[FORMDB-3] Make source code JAR available in Nexus Created: 05/Nov/14 Updated: 09/May/17 |
|
| Status: | Open |
| Project: | Form2DB App |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Edgar Vonk | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Date of First Response: |
| Description |
|
It would be very nice if you could make the source code of the module available on https://nexus.magnolia-cms.com/ as a source code JAR just like the standard Magnolia modules do. This would be something to add to your release procedure. This would make for much easier debugging and customising of the users of your module. |
| Comments |
| Comment by Marvin Kerkhoff [ 06/Mar/17 ] |
|
Hi Philipp, what do i need to do to get a source jar available in the forge. I don't see any difference between my maven pom and other forge modules. Thx |
| Comment by Philip Mundt [ 07/Mar/17 ] |
|
Hi marvink2. I'm pretty sure it would work by default if you would release the module "properly" (there is not one single tag in the repo, showing that this hasn't been done correctly in the past):
mvn release:prepare
mvn release:perform -Dgoals="deploy" # This performs the release without generating the site
# Which can now be done in the checkout dir
cd target/checkout
mvn clean site-deploy
You will have to adjust your scm connection details before doing so, as the release plugin will automatically tag your repo (and also add two release plugin commits, the prepare commit and the commit that sets the next developement version). If you need some more help, feel free to ask. I could do a sample release for your current state if that would help you!? |