|
12 | 12 |
|
13 | 13 | <artifactId>org.eclipse.paho.mqttv5.client</artifactId> |
14 | 14 | <name>org.eclipse.paho.mqttv5.client</name> |
| 15 | + <packaging>eclipse-plugin</packaging> |
15 | 16 |
|
16 | 17 | <dependencies> |
17 | | - <dependency> |
18 | | - <groupId>org.eclipse.paho</groupId> |
19 | | - <artifactId>org.eclipse.paho.mqttv5.common</artifactId> |
20 | | - <version>1.2.5-SNAPSHOT</version> |
21 | | - </dependency> |
22 | 18 | <dependency> |
23 | 19 | <groupId>junit</groupId> |
24 | 20 | <artifactId>junit</artifactId> |
|
48 | 44 | </executions> |
49 | 45 | </plugin> |
50 | 46 |
|
| 47 | + <plugin> |
| 48 | + <groupId>org.eclipse.tycho</groupId> |
| 49 | + <artifactId>tycho-maven-plugin</artifactId> |
| 50 | + </plugin> |
| 51 | + |
| 52 | + <plugin> |
| 53 | + <groupId>org.codehaus.mojo</groupId> |
| 54 | + <artifactId>templating-maven-plugin</artifactId> |
| 55 | + <version>1.0.0</version> |
| 56 | + <executions> |
| 57 | + <execution> |
| 58 | + <id>filter-src</id> |
| 59 | + <goals> |
| 60 | + <goal>filter-sources</goal> |
| 61 | + </goals> |
| 62 | + </execution> |
| 63 | + </executions> |
| 64 | + </plugin> |
| 65 | + |
51 | 66 | <!-- |
52 | 67 | Submit code coverage report to coveralls.io |
53 | 68 | https://coveralls.io/github/ibm-watson-iot/iot-java |
|
74 | 89 |
|
75 | 90 | <plugin> |
76 | 91 | <groupId>org.apache.maven.plugins</groupId> |
77 | | - <artifactId>maven-javadoc-plugin</artifactId> |
78 | | - <version>${javadoc.version}</version> |
| 92 | + <artifactId>maven-resources-plugin</artifactId> |
| 93 | + <version>3.0.2</version> |
79 | 94 | <executions> |
80 | 95 | <execution> |
81 | | - <id>attach-javadocs</id> |
| 96 | + <id>default-copy-resources</id> |
| 97 | + <phase>process-resources</phase> |
82 | 98 | <goals> |
83 | | - <goal>javadoc-no-fork</goal> |
84 | | - <goal>jar</goal> |
| 99 | + <goal>copy-resources</goal> |
85 | 100 | </goals> |
86 | 101 | <configuration> |
87 | | - <additionalparam>${javadoc.opts}</additionalparam> |
| 102 | + <overwrite>true</overwrite> |
| 103 | + <outputDirectory>${project.build.outputDirectory}</outputDirectory> |
| 104 | + <resources> |
| 105 | + <resource> |
| 106 | + <!-- used in modules which relative to its parent --> |
| 107 | + <directory>../</directory> |
| 108 | + <includes> |
| 109 | + <include>about.html</include> |
| 110 | + </includes> |
| 111 | + </resource> |
| 112 | + </resources> |
88 | 113 | </configuration> |
89 | 114 | </execution> |
90 | 115 | </executions> |
91 | 116 | </plugin> |
92 | 117 |
|
93 | 118 | <plugin> |
94 | 119 | <groupId>org.apache.maven.plugins</groupId> |
95 | | - <artifactId>maven-source-plugin</artifactId> |
96 | | - <version>${mvnsource.version}</version> |
| 120 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 121 | + <version>${javadoc.version}</version> |
97 | 122 | <executions> |
98 | 123 | <execution> |
99 | | - <id>attach-sources</id> |
| 124 | + <id>attach-javadocs</id> |
100 | 125 | <goals> |
| 126 | + <goal>javadoc-no-fork</goal> |
101 | 127 | <goal>jar</goal> |
102 | 128 | </goals> |
| 129 | + <configuration> |
| 130 | + <additionalparam>${javadoc.opts}</additionalparam> |
| 131 | + </configuration> |
103 | 132 | </execution> |
104 | 133 | </executions> |
105 | 134 | </plugin> |
| 135 | + |
106 | 136 | </plugins> |
| 137 | + |
| 138 | + <pluginManagement> |
| 139 | + <plugins> |
| 140 | + <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the M |
| 141 | +aven build itself.--> |
| 142 | + <plugin> |
| 143 | + <groupId>org.eclipse.m2e</groupId> |
| 144 | + <artifactId>lifecycle-mapping</artifactId> |
| 145 | + <version>1.0.0</version> |
| 146 | + <configuration> |
| 147 | + <lifecycleMappingMetadata> |
| 148 | + <pluginExecutions> |
| 149 | + <pluginExecution> |
| 150 | + <pluginExecutionFilter> |
| 151 | + <groupId> |
| 152 | + org.codehaus.mojo |
| 153 | + </groupId> |
| 154 | + <artifactId> |
| 155 | + templating-maven-plugin |
| 156 | + </artifactId> |
| 157 | + <versionRange> |
| 158 | + [1.0-alpha-3,) |
| 159 | + </versionRange> |
| 160 | + <goals> |
| 161 | + <goal>filter-sources</goal> |
| 162 | + </goals> |
| 163 | + </pluginExecutionFilter> |
| 164 | + <action> |
| 165 | + <ignore /> |
| 166 | + </action> |
| 167 | + </pluginExecution> |
| 168 | + </pluginExecutions> |
| 169 | + </lifecycleMappingMetadata> |
| 170 | + </configuration> |
| 171 | + </plugin> |
| 172 | + </plugins> |
| 173 | + </pluginManagement> |
| 174 | + |
107 | 175 | </build> |
108 | 176 | </project> |
109 | 177 |
|
|
0 commit comments