読者です 読者をやめる 読者になる 読者になる

jasperreports を使用するプロジェクトの pom.xml

先日のとおりiText 2.1.7 jar iTextAsian.jarMaven のローカルリポジトリに登録したら、

jasperreports 使用のプロジェクトの pom.xml 記述は


</dependencies> の外に、iText 2.1.7 を書く

   <dependencyManagement>
      <dependencies>
         <dependency>
            <groupId>com.lowagie</groupId>
            <artifactId>itext</artifactId>
            <version>2.1.7</version>
         </dependency>
      </dependencies>
   </dependencyManagement>

dependencies の中、、

   <dependency>
      <groupId>net.sf.jasperreports</groupId>
      <artifactId>jasperreports</artifactId>
      <version>5.6.0</version>
   </dependency>
   <dependency>
      <groupId>com.lowagie</groupId>
      <artifactId>itext</artifactId>
      <exclusions>
         <exclusion>
            <artifactId>bcmail-jdk14</artifactId>
            <groupId>bouncycastle</groupId>
         </exclusion>
         <exclusion>
            <artifactId>bcprov-jdk14</artifactId>
            <groupId>bouncycastle</groupId>
         </exclusion>
      </exclusions>
   </dependency>
   <dependency>
      <groupId>org.bouncycastle</groupId>
      <artifactId>bcmail-jdk14</artifactId>
      <version>1.46</version>
   </dependency>
   <dependency>
      <groupId>org.bouncycastle</groupId>
      <artifactId>bcprov-jdk14</artifactId>
      <version>1.46</version>
   </dependency>
   <dependency>
      <groupId>org.bouncycastle</groupId>
      <artifactId>bctsp-jdk14</artifactId>
     <version>1.46</version>
   </dependency>
   <dependency>
      <groupId>com.lowagie</groupId>
      <artifactId>iTextAsian</artifactId>
      <version>1.0</version>
   </dependency>