1

I have 3 artifacts for my application as below.

  • One Jar file
  • sql scripts
  • Templates

I need to bundle all 3 as part of a snapshot bamboo build that uploads them into a repository. Is there any known best practice to store this structure.

I am thinking of storing like below:

[MavenVersionFolder-withSnapshotNumber]:
    <jar file with appended version>
    <scripts folder>
    <templates folder>

Example:

1.0.0-51
   |
    --- MyApp-1.0.0-51.jar
   |
    --- scripts
       | 
        --- 1.sql
       |
        --- 2.sql
   |
    --- templates
       |
        --- abc.ftl
       |
        --- efg.ftl

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.