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

Add local build Maven profile #188

Merged
merged 3 commits into from
Apr 1, 2022
Merged

Add local build Maven profile #188

merged 3 commits into from
Apr 1, 2022

Conversation

JanWittler
Copy link
Contributor

This PR adds a local build Maven profile as described in Vitruv#510.

Usage:

mvn clean verify -Dvitruv.framework.path='<path_to_vitruv_folder>' -Dvitruv.domains.path='<path_to_domains_folder>'

Both arguments are optional, i.e. the nightly update site of the framework but the local domains repository can also be combined.

Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

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

Looks great, thanks! I have just one question: Wouldn't it be possible to set the vitruv.*.url properties to the nightly updatesites as per default (at the POM root level) and have it overwritten by the local profile if activated? Then we could remove the nightly-update-site-* profiles.

Comment on lines 36 to 40
<activation>
<property>
<name>!vitruv.framework.path</name>
</property>
</activation>
Copy link
Contributor

Choose a reason for hiding this comment

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

The indentation seems to be faulty for all activation blocks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 7ce6f49

@JanWittler
Copy link
Contributor Author

Thanks for the feedback. You are absolutely right, I simplified the configuration

Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

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

👍

@JanWittler JanWittler merged commit d2710b7 into master Apr 1, 2022
@JanWittler JanWittler deleted the local-maven-build branch April 1, 2022 15:02
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