Hey Shubham, FileSplitterInput was already present and devel-3 compiles fine without jsr305 dependency (for Nullable). It seems that adding json related dependency is affecting somewhere else.
Can you please check if all the unit tests are passing after adding findbug's jsr305 dependency? Also, There seems to be quite some versions of json-schema-validator after 2.0.1, would it make sense to use latest version as dependency? Thanks, Chinmay. ~ Chinmay. On Tue, Jan 5, 2016 at 5:29 PM, Shubham Pathak <[email protected]> wrote: > Fixed by adding dependency of jsr . Now the pom looks like this > > <dependency> > <groupId>com.github.fge</groupId> > <artifactId>json-schema-validator</artifactId> > <version>2.0.1</version> > </dependency> > <dependency> > <groupId>com.google.code.findbugs</groupId> > <artifactId>jsr305</artifactId> > <version>1.3.9</version> > <optional>true</optional> > </dependency> > > Thanks, > Shubham > > > On Tue, Jan 5, 2016 at 2:35 PM, Shubham Pathak <[email protected]> > wrote: > > > Hi, > > > > I am working on an operator that needs following dependency to be added > in > > Malhar lib > > <dependency> > > <groupId>com.github.fge</groupId> > > <artifactId>json-schema-validator</artifactId> > > <version>2.0.1</version> > > </dependency> > > > > But when i add this, and try to build malhar library, i get following > error > > > /code/projects/Apache/incubator-apex-malhar/library/src/main/java/com/datatorrent/lib/io/fs/FileSplitterInput.java:[36,24] > > cannot find symbol > > [ERROR] symbol: class Nullable > > [ERROR] location: package javax.annotation > > > > On further investigation i noticed, when i add the above dependency, > > jsr305 jar doesn't show up in dependency hierarchy. > > > > If i remove the above dependency, jsr305 shows up. > > > > Can anyone please help ? > > > > Thanks, > > Shubham > > >
