diff options
author | liamfallon <liam.fallon@ericsson.com> | 2018-11-10 00:39:12 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@ericsson.com> | 2018-11-12 11:07:31 +0000 |
commit | 32497610bd7bc721bb73f0d753fc1426bba677e2 (patch) | |
tree | 44167f3feb03c84b3cff784d9758b03528f1eb0b /tools/model-generator/pom.xml | |
parent | 53d8916cc60d97e2ce7ae345f8cc25f5602567da (diff) |
Clean up eclipse and document warnings
Parent versions in some POMs only called on the test profile
were incorrect
Warnings in Eclipse on POM including from outside its project
are fixed
Some checkstyle fixes
Some javadoc warnings fixed
Issue-ID: POLICY-954
Change-Id: I640bc842dc79a9fa580015abb9a76c84a7845efe
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'tools/model-generator/pom.xml')
-rw-r--r-- | tools/model-generator/pom.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tools/model-generator/pom.xml b/tools/model-generator/pom.xml index 6387eb33d..3832f914b 100644 --- a/tools/model-generator/pom.xml +++ b/tools/model-generator/pom.xml @@ -136,6 +136,45 @@ <profiles> <profile> + <id>only-eclipse</id> + <activation> + <property> + <name>m2e.version</name> + </property> + </activation> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.eclipse.m2e</groupId> + <artifactId>lifecycle-mapping</artifactId> + <version>1.0.0</version> + <configuration> + <lifecycleMappingMetadata> + <pluginExecutions> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <versionRange>[2.0,)</versionRange> + <goals> + <goal>unpack</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> + + <profile> <id>apexSite</id> <activation> <property> |