Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7177

Mark everything that uses the Content API as deprecated

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • None
    • Basel 118
    • 3

      • To find usages try to use the compiler flag -deprecation
      • Validate that you don't only have Javadoc deprecated tags but annotations as well
      • Annotate as deprecated
      • Write in Javadoc that the class/method is deprecated since 5.6.

      This snippet might be of help (even though output might be verbose):

        <build>
          <pluginManagement>
            <plugins>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.3</version>
                <configuration>
                  <compilerArgs>
                    <arg>-deprecation</arg>
                  </compilerArgs>
                </configuration>
              </plugin>
            </plugins>
          </pluginManagement>
        </build>
      

        Acceptance criteria

              pmundt Philip Mundt
              ahietala Antti Hietala
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR