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

POM Restructuring Phase #1 #8242

Merged
merged 30 commits into from
Mar 19, 2020

Conversation

mitchdenny
Copy link
Contributor

@mitchdenny mitchdenny commented Feb 18, 2020

This PR is the first step in a number of changes designed to restructure the relationship between our builds and parent POMs. Before this PR our parent POMs functioned as aggregators for developers who wanted to build the whole tree, we then had seperate pom.service.xml files that the pipelines used.

This change repurposes pom.xml in the root of the repo and makes it a true top level aggregate for the entire repo (aside from management plane, but we'll get to that). All of our track 1 and track 2 modules are referenced in the aggregate and you use the -pl and -am switches.

Our pipelines have been reconfigured to use this root aggregate and we generate the -pl switch based on the artifact list in the ci.yml file.

One of the benefits we picked up was that we no longer need to do the seperate install of sdk-build-tools because it is in the graph, so anything that depends on it will end up triggering it to build.

@mitchdenny mitchdenny added the EngSys This issue is impacting the engineering system. label Feb 18, 2020
@mitchdenny mitchdenny self-assigned this Feb 18, 2020
@mitchdenny
Copy link
Contributor Author

/azp run java - appconfiguration

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

@JimSuplizio what are you thoughts on the side effects of this change. I know that some of the tooling that exists today depends on pom.client.xml having a list of modules. Do we know all the places that will be impacted?

@mitchdenny
Copy link
Contributor Author

@weidongxu-microsoft what would be the implications if we removed the <modules /> section from pom.management.xml like I have done in this PR?

@mitchdenny
Copy link
Contributor Author

/azp run java - keyvault

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weidongxu-microsoft
Copy link
Member

@mitchdenny I think it is fine. I don't think mgmt SDK depends on these 2 hybrid builds.

@mitchdenny
Copy link
Contributor Author

/azp run java - core - ci

@azure-pipelines
Copy link

Pull request contains merge conflicts.

@mitchdenny
Copy link
Contributor Author

/azp run java - core - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run java - core - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run java - core - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run java - core - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run java - core - ci

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run java - core - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run java - core - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run java - eventhubs - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny mitchdenny merged commit b1c1e3e into Azure:master Mar 19, 2020
@mitchdenny mitchdenny deleted the remove-modules-from-parent branch March 19, 2020 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EngSys This issue is impacting the engineering system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants