Skip to content

Commit

Permalink
format comment
Browse files Browse the repository at this point in the history
  • Loading branch information
suztomo committed Aug 15, 2022
1 parent e01d7d2 commit 2b1e326
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java
Expand Up @@ -1187,16 +1187,16 @@ private void createFlattenedDependenciesAll( List<Dependency> projectDependencie
/**
* Returns a cloned project that does not have direct test-scope dependencies.
*
* <p>test-scope project dependencies may hinder transitive dependencies by marking them as 'omitted for duplicate' when
* building dependency tree. This is a problem when the transitive dependency is actually needed by another non-test dependency
* of the project. To avoid this interference of test-scope project dependencies, this plugin builds a dependency tree
* of the project without direct, test-scope dependencies.</p>
* Test-scope project dependencies may hinder transitive dependencies by marking them as 'omitted for duplicate' when
* building dependency tree. This was a problem when the transitive dependency is actually needed by another non-test dependency
* of the project (See https://github.com/mojohaus/flatten-maven-plugin/issues/185). To avoid this interference of
* test-scope project dependencies, this plugin builds a dependency tree of the project without direct, test-scope dependencies.
*
* <p>Removal of test scope dependencies is safe because these dependencies do not appear in library users' class path in
* any case.</p>
* Removal of test scope dependencies is safe because these dependencies do not appear in library users' class path in
* any case.
*
* @param project is the original project to clone.
* @return a cloned project without test dependencies.
* @return a cloned project without direct test-scope dependencies.
*/
private static MavenProject cloneProjectWithoutTestDependencies( MavenProject project )
{
Expand Down

0 comments on commit 2b1e326

Please sign in to comment.