Gaurav Agrawal
Committed by Gerrit Code Review

[ONOS-4784] Auto import of generated sources in target to IDEA intellij

Change-Id: I2c1260da3d153fadba5c421a23f4c365349cfa5e
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
14 ~ limitations under the License. 14 ~ limitations under the License.
15 --> 15 -->
16 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 16 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17 - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 17 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18 <modelVersion>4.0.0</modelVersion> 18 <modelVersion>4.0.0</modelVersion>
19 19
20 <parent> 20 <parent>
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
33 </properties> 33 </properties>
34 34
35 <dependencies> 35 <dependencies>
36 - <dependency> 36 + <dependency>
37 <groupId>org.onosproject</groupId> 37 <groupId>org.onosproject</groupId>
38 <artifactId>yangutils-datamodel</artifactId> 38 <artifactId>yangutils-datamodel</artifactId>
39 <version>1.7.0-SNAPSHOT</version> 39 <version>1.7.0-SNAPSHOT</version>
...@@ -133,7 +133,8 @@ ...@@ -133,7 +133,8 @@
133 </executions> 133 </executions>
134 <configuration> 134 <configuration>
135 <sourceDirectory>src/main/resources</sourceDirectory> 135 <sourceDirectory>src/main/resources</sourceDirectory>
136 - <outputDirectory>target/generated-sources/org/onosproject/yangutils/parser/antlrgencode</outputDirectory> 136 + <outputDirectory>target/generated-sources/org/onosproject/yangutils/parser/antlrgencode
137 + </outputDirectory>
137 <visitor>false</visitor> 138 <visitor>false</visitor>
138 <listener>true</listener> 139 <listener>true</listener>
139 </configuration> 140 </configuration>
...@@ -158,12 +159,24 @@ ...@@ -158,12 +159,24 @@
158 <followSymlinks>false</followSymlinks> 159 <followSymlinks>false</followSymlinks>
159 <useDefaultExcludes>true</useDefaultExcludes> 160 <useDefaultExcludes>true</useDefaultExcludes>
160 <excludes> 161 <excludes>
161 - <exclude>**/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYangLexer.java</exclude> 162 + <exclude>
162 - <exclude>**/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYang.tokens</exclude> 163 + **/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYangLexer.java
163 - <exclude>**/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYangParser.java</exclude> 164 + </exclude>
164 - <exclude>**/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYangLexer.tokens</exclude> 165 + <exclude>
165 - <exclude>**/generated-sources/org/onosproject/yangutils/parser/antlrgencode/YangLexer.java</exclude> 166 + **/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYang.tokens
166 - <exclude>**/generated-sources/org/onosproject/yangutils/parser/antlrgencode/YangLexer.tokens</exclude> 167 + </exclude>
168 + <exclude>
169 + **/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYangParser.java
170 + </exclude>
171 + <exclude>
172 + **/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYangLexer.tokens
173 + </exclude>
174 + <exclude>
175 + **/generated-sources/org/onosproject/yangutils/parser/antlrgencode/YangLexer.java
176 + </exclude>
177 + <exclude>
178 + **/generated-sources/org/onosproject/yangutils/parser/antlrgencode/YangLexer.tokens
179 + </exclude>
167 </excludes> 180 </excludes>
168 </fileset> 181 </fileset>
169 </filesets> 182 </filesets>
...@@ -184,6 +197,9 @@ ...@@ -184,6 +197,9 @@
184 <configuration> 197 <configuration>
185 <sources> 198 <sources>
186 <source>target/generated-sources/org/onosproject/yangutils/parser/antlrgencode</source> 199 <source>target/generated-sources/org/onosproject/yangutils/parser/antlrgencode</source>
200 + <sourceDirectory>
201 + target/generated-sources/org/onosproject/yangutils/parser/antlrgencode
202 + </sourceDirectory>
187 </sources> 203 </sources>
188 </configuration> 204 </configuration>
189 </execution> 205 </execution>
...@@ -219,5 +235,4 @@ ...@@ -219,5 +235,4 @@
219 </plugin> 235 </plugin>
220 </plugins> 236 </plugins>
221 </build> 237 </build>
222 -
223 </project> 238 </project>
......