Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One artifact per theme #6

Closed
wants to merge 2 commits into from

Conversation

aheritier
Copy link

This pull request add the generation of one webjar artifact per theme with all bootstrap resources correctly organized. It should solve issue #2
Just use something like this in your project

<script type="text/javascript" src="webjars/bootswatch-spacelab/3.0.3+1/js/bootstrap.min.js"></script>

…nd we add one web jar per theme containing all bootstrap resources + theme files
@aheritier
Copy link
Author

The Pull Request #6 is solving the issue #2 for me.
I used a maven version 3.0.3_2-SNAPSHOT even if the upstream version is 3.0.3+1
@jamesward Could you review/merge/release it please (fill free to change the webjar version to something else)

<parent>
<artifactId>bootswatch</artifactId>
<groupId>org.webjars</groupId>
<version>3.0.3_2-SNAPSHOT</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can use a variable like ${parent.version} so that we don't need to manually change all of these for a release.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No you cannot use properties in GAV :( That's an annoying restriction of Maven to have to duplicate the verion in all POMs. You have to use the versions or release plugins to update them

@aheritier
Copy link
Author

I close this PR and I prepare a new one which is integrating all remarks we had here

@aheritier aheritier closed this Jan 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants