Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[che-dev] Dependency housekeeping

Hi folks
Right now we are working on removing unapproved dependencies from our codebase. This dependency is not allowed to be used in any Che or Codenvy projects
         <dependency>
            <groupId>com.google.code.findbugs</groupId>
            <artifactId>jsr305</artifactId>
            <version>${javax.jcr350.version}</version>
        </dependency>

In order to replace it we are using 
Bean Validation API Version: 1.1.0.Final (PB CQ9025)  
       <dependency>
          <groupId>javax.validation</groupId>
            <artifactId>validation-api</artifactId>
            <version>${javax.validation.version}</version>
        </dependency>

or our custom annotation
       <dependency>
            <groupId>org.eclipse.che.core</groupId>
            <artifactId>che-core-commons-annotations</artifactId>
            <version>${project.version}</version>
        </dependency>


99% of replacement is
import javax.annotation.Nonnull;  -> import javax.validation.constraints.NotNull;
import javax.annotation.Nullable; -> import org.eclipse.che.commons.annotation.Nullable;

Also I'm asking you to review you custom branches. If you are  adding this annotation please make sure that after we apply this change in master you wouldn't add it again.


Sergii Kabashniuk






Back to the top