(→Create a single project in AnthillPro)
|
(→Single Project with Multiple Modules)
|
Line 9: | |||
--><p>If creating and configuring a git repository, use the git plugin. You can download the plugin here: http://plugins.urbancode.com/anthill3/plugin/Git. Once downloaded, upload it to Anthill (System > Server > Plugins). Use the git plugin rather than the git integration when creating and configuring repositories and workflows.</p> | --><p>If creating and configuring a git repository, use the git plugin. You can download the plugin here: http://plugins.urbancode.com/anthill3/plugin/Git. Once downloaded, upload it to Anthill (System > Server > Plugins). Use the git plugin rather than the git integration when creating and configuring repositories and workflows.</p> | ||
# Configure Anthill to look for artifacts not found locally (System > Integration > Maven) | # Configure Anthill to look for artifacts not found locally (System > Integration > Maven) | ||
- | # Create the repository and set the url to the maven central repository: (http://repo1.maven.org/maven2). Repeat the process for any repositories that must be used for external dependencies and/or plugins | + | # Create the repository and set the url to the maven central repository: (http://repo1.maven.org/maven2). # Repeat the process for any repositories that must be used for external dependencies and/or plugins |
Edit ~/.m2/settings.xml to be something like: | Edit ~/.m2/settings.xml to be something like: | ||
To use mirrors: | To use mirrors: | ||
Line 84: | |||
</activeProfiles> | </activeProfiles> | ||
- | Ensure IDs match and any Maven repositories are configured in as in step 2 | + | Ensure IDs match and any Maven repositories are configured in as in step 2</br></br># Create a single project in AnthillPro. |
- | # Create a single project in AnthillPro. | ||
# Use a maven life-cycle model. | # Use a maven life-cycle model. | ||
# Configure a workflow using the repository you set up earlier containing the project source. | # Configure a workflow using the repository you set up earlier containing the project source. | ||
Line 96: | |||
# Run your workflow. | # Run your workflow. | ||
# You should see a newly populated âMaven Projectsâ folder in your dashboard/administration folder that contains the dependencies/plugins specified in the pom file and the artifact sets for each, and the dependencies and artifacts for the build life of your project | # You should see a newly populated âMaven Projectsâ folder in your dashboard/administration folder that contains the dependencies/plugins specified in the pom file and the artifact sets for each, and the dependencies and artifacts for the build life of your project | ||
== Project for Each Module == | == Project for Each Module == | ||