[teiid-issues] [JBoss JIRA] (TEIID-3232) Embedded dist zip for 8.9.0 is missing from repo

Gary Gregory (JIRA) issues at jboss.org
Wed Dec 3 14:38:41 EST 2014


     [ https://issues.jboss.org/browse/TEIID-3232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory reopened TEIID-3232:
---------------------------------


Sorry to get back to this but now I am getting this from Maven:

{noformat}
[WARNING] Failed to build parent project for org.jboss.teiid:teiid-api:bundle:8.9.0.Final
{noformat}

How do you recommend using Teiid embedded from Maven?

Here a simplified version of our POM:

{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Rocket Software, Inc. All rights reserved. -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.rs</groupId>
  <artifactId>dv-jdbc</artifactId>
  <packaging>jar</packaging>
  <name>Data Virtualization JDBC Driver</name>
  <version>3.1-SNAPSHOT</version>
  <description>Data Virtualization JDBC Driver</description>
  <url>http://www.rocketsoftware.com/brand/rocket-data</url>
  <inceptionYear>2014</inceptionYear>
  <properties>
    <log4j.version>2.1</log4j.version>
    <maven.compiler.source>1.7</maven.compiler.source>
    <maven.compiler.target>1.7</maven.compiler.target>
    <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format>
    <implementation.build>${scmBranch}@r${buildNumber}; ${maven.build.timestamp}</implementation.build>
    <dv.source.encoding>UTF-8</dv.source.encoding>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <!-- Configuration properties for the OSGi maven-bundle-plugin -->
    <dv.osgi.symbolicName>com.rs.jdbc.dv</dv.osgi.symbolicName>
    <dv.osgi.export>com.rs.jdbc.dv.*;version=${project.version};-noimport:=true</dv.osgi.export>
    <dv.osgi.import>*</dv.osgi.import>
    <dv.osgi.dynamicImport />
    <dv.osgi.private />
    <dv.manifestfile>${project.build.directory}/osgi/MANIFEST.MF</dv.manifestfile>
    <dv.rat.version>0.11</dv.rat.version>
    <dv.taglist.version>2.4</dv.taglist.version>
    <dv.javadoc.version>2.10.1</dv.javadoc.version>
    <dv.jacoco.version>0.7.2.201409121644</dv.jacoco.version>
    <dv.surefire.version>2.17</dv.surefire.version>
    <!-- Default values for the jacoco-maven-plugin reports -->
    <dv.jacoco.classRatio>1.00</dv.jacoco.classRatio>
    <dv.jacoco.instructionRatio>0.90</dv.jacoco.instructionRatio>
    <dv.jacoco.methodRatio>0.95</dv.jacoco.methodRatio>
    <dv.jacoco.branchRatio>0.85</dv.jacoco.branchRatio>
    <dv.jacoco.complexityRatio>0.85</dv.jacoco.complexityRatio>
    <dv.jacoco.lineRatio>0.90</dv.jacoco.lineRatio>
    <dv.jacoco.haltOnFailure>false</dv.jacoco.haltOnFailure>
    <progress.driver.version>7.3.6722</progress.driver.version>
    <cjl2.version>5.0.7</cjl2.version>
  </properties>
  <repositories>
    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>origin-repository.jboss</id>
      <name>origin-repository.jboss</name>
      <url>https://origin-repository.jboss.org/nexus/content/repositories/releases/</url>
    </repository>
  </repositories>
  <pluginRepositories>
  </pluginRepositories>
  <developers>
  </developers>
  <licenses>
    <license>
      <name>Copyright 2014 Rocket Software, Inc. All rights reserved.</name>
      <!-- <url>http://www..org/licenses/LICENSE.txt</url> -->
      <distribution>repo</distribution>
    </license>
  </licenses>
  <organization>
    <name>Rocket Software</name>
    <url>http://www.rocketsoftware.com</url>
  </organization>
  <dependencies>
    <!-- Runtime: Log4j is optional -->
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-api</artifactId>
      <version>${log4j.version}</version>
      <scope>provided</scope>
      <optional>true</optional>
    </dependency>
    <!-- Testing -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-core</artifactId>
      <version>${log4j.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-slf4j-impl</artifactId>
      <version>${log4j.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-jcl</artifactId>
      <version>${log4j.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-1.2-api</artifactId>
      <version>${log4j.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.fusesource.jansi</groupId>
      <artifactId>jansi</artifactId>
      <version>1.11</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-csv</artifactId>
      <version>1.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
      <version>3.3.2</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.9</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>2.4</version>
      <scope>test</scope>
    </dependency>
	<dependency>
		<groupId>org.apache.mina</groupId>
		<artifactId>mina-core</artifactId>
		<version>2.0.7</version>
        <scope>test</scope>
	</dependency>
	<dependency>
		<groupId>org.apache.commons</groupId>
		<artifactId>commons-vfs2</artifactId>
		<version>2.0</version>
        <scope>test</scope>
	</dependency>
	<dependency>
		<groupId>commons-lang</groupId>
		<artifactId>commons-lang</artifactId>
		<version>2.6</version>
        <scope>test</scope>
	</dependency>
    <!-- Teiid -->
    <dependency>
      <groupId>org.jboss.teiid</groupId>
      <artifactId>teiid-api</artifactId>
      <version>8.9.0.Final</version>
<!--       <version>8.8.1</version> -->
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <resources>
      <resource>
        <directory>src/main/resources</directory>
      </resource>
      <!-- hack to ensure the N&L appear in jars -->
      <resource>
        <directory>${basedir}</directory>
        <targetPath>META-INF</targetPath>
        <includes>
          <include>NOTICE.txt</include>
          <include>LICENSE.txt</include>
        </includes>
      </resource>
    </resources>
    <!-- ensure test jars also get NOTICE & LICENSE files -->
    <testResources>
      <testResource>
        <directory>src/test/resources</directory>
      </testResource>
      <!-- hack to ensure the N&L appear in jars -->
      <testResource>
        <directory>${basedir}</directory>
        <targetPath>META-INF</targetPath>
        <includes>
          <include>NOTICE.txt</include>
          <include>LICENSE.txt</include>
        </includes>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.2</version>
        <configuration>
          <source>${maven.compiler.source}</source>
          <target>${maven.compiler.target}</target>
          <encoding>${dv.source.encoding}</encoding>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>${dv.surefire.version}</version>
      </plugin>
      <plugin>
        <groupId>org.apache.rat</groupId>
        <artifactId>apache-rat-plugin</artifactId>
        <version>${dv.rat.version}</version>
        <executions>
          <execution>
            <phase>validate</phase>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
        <!-- Should agree with config in reporting section -->
        <configuration>
          <licenses>
            <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
              <licenseFamilyCategory>Rocket</licenseFamilyCategory>
              <licenseFamilyName>Rocket Software License</licenseFamilyName>
              <notes></notes>
              <patterns>
                <pattern>Copyright 2014 Rocket Software, Inc. All rights reserved.</pattern>
              </patterns>
            </license>
          </licenses>
          <licenseFamilies>
            <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
              <familyName>Rocket Software License</familyName>
            </licenseFamily>
          </licenseFamilies>
          <excludes>
            <exclude>.externalToolBuilders/*</exclude>
            <exclude>maven-eclipse.xml</exclude>
            <exclude>src/test/resources/**/*.csv</exclude>
            <exclude>src/test/resources/**/*.tip</exclude>
            <exclude>src/test/resources/**/*.txt</exclude>
            <exclude>src/main/resources/META-INF/services/java.sql.Driver</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <archive>
            <manifestFile>${dv.manifestfile}</manifestFile>
            <manifestEntries>
              <Specification-Title>${project.name}</Specification-Title>
              <Specification-Version>${project.version}</Specification-Version>
              <Specification-Vendor>${project.organization.name}</Specification-Vendor>
              <Implementation-Title>${project.name}</Implementation-Title>
              <Implementation-Version>${project.version}</Implementation-Version>
              <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
              <Implementation-Vendor-Id>com.rs</Implementation-Vendor-Id>
              <Implementation-Build>${implementation.build}</Implementation-Build>
              <Main-Class>com.rs.jdbc.dv.DvDriver</Main-Class>
              <X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
              <X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
              <X-Paques>http://goo.gl/IZbgb6</X-Paques>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>2.5.3</version>
        <configuration>
          <!-- dummy entry to stop bundle plugin from picking up jar config and reporting WARNING: Duplicate name in Manifest 
            See http://markmail.org/message/mpkl24wk3jrjhhjg -->
          <archive>
            <forced>true</forced>
          </archive>
          <excludeDependencies>true</excludeDependencies>
          <manifestLocation>${project.build.directory}/osgi</manifestLocation>
          <instructions>
            <!-- stops the "uses" clauses being added to "Export-Package" manifest entry -->
            <_nouses>true</_nouses>
            <Bundle-SymbolicName>${dv.osgi.symbolicName}</Bundle-SymbolicName>
            <Export-Package>${dv.osgi.export}</Export-Package>
            <Private-Package>${dv.osgi.private}</Private-Package>
            <Import-Package>${dv.osgi.import}</Import-Package>
            <DynamicImport-Package>${dv.osgi.dynamicImport}</DynamicImport-Package>
            <Bundle-DocURL>${project.url}</Bundle-DocURL>
          </instructions>
        </configuration>
        <executions>
          <execution>
            <id>bundle-manifest</id>
            <phase>process-classes</phase>
            <goals>
              <goal>manifest</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.4.1</version>
        <configuration>
          <descriptors>
            <descriptor>src/main/assembly/bin.xml</descriptor>
            <descriptor>src/main/assembly/src.xml</descriptor>
          </descriptors>
          <tarLongFileMode>gnu</tarLongFileMode>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${dv.javadoc.version}</version>
        <configuration>
          <bottom><![CDATA[<p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.</p>]]></bottom>
          <links>
            <link>https://logging.apache.org/log4j/2.x/log4j-api/apidocs/</link>
          </links>
          <encoding>${dv.source.encoding}</encoding>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
        <version>${dv.jacoco.version}</version>
        <!-- Note that since JaCoCo relies on an agent to perform tests, it changes the surefire arguments line. If a component 
          also needs to change the argument line of maven-surefire-plugin, then it must add ${argLine} property (which is set by JaCoCo) 
          in the argLine configuration element of maven-surefire-plugin to preserve JaCoCo settings. -->
        <executions>
          <execution>
            <id>prepare-agent</id>
            <phase>process-test-classes</phase>
            <goals>
              <goal>prepare-agent</goal>
            </goals>
          </execution>
          <execution>
            <id>report</id>
            <phase>site</phase>
            <goals>
              <goal>report</goal>
            </goals>
          </execution>
          <execution>
            <id>check</id>
            <goals>
              <goal>check</goal>
            </goals>
            <configuration>
              <rules>
                <rule>
                  <element>BUNDLE</element>
                  <limits>
                    <limit>
                      <counter>CLASS</counter>
                      <value>COVEREDRATIO</value>
                      <minimum>${dv.jacoco.classRatio}</minimum>
                    </limit>
                    <limit>
                      <counter>INSTRUCTION</counter>
                      <value>COVEREDRATIO</value>
                      <minimum>${dv.jacoco.instructionRatio}</minimum>
                    </limit>
                    <limit>
                      <counter>METHOD</counter>
                      <value>COVEREDRATIO</value>
                      <minimum>${dv.jacoco.methodRatio}</minimum>
                    </limit>
                    <limit>
                      <counter>BRANCH</counter>
                      <value>COVEREDRATIO</value>
                      <minimum>${dv.jacoco.branchRatio}</minimum>
                    </limit>
                    <limit>
                      <counter>LINE</counter>
                      <value>COVEREDRATIO</value>
                      <minimum>${dv.jacoco.lineRatio}</minimum>
                    </limit>
                    <limit>
                      <counter>COMPLEXITY</counter>
                      <value>COVEREDRATIO</value>
                      <minimum>${dv.jacoco.complexityRatio}</minimum>
                    </limit>
                  </limits>
                </rule>
              </rules>
              <haltOnFailure>${dv.jacoco.haltOnFailure}</haltOnFailure>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jarsigner-plugin</artifactId>
        <version>1.3.2</version>
        <executions>
          <execution>
            <id>sign</id>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <keystore>src/build/sign/codesigning_certificate.jks</keystore>
          <alias>Rocket Software, Inc.</alias>
          <storepass>store_password</storepass>
          <keypass>key_password</keypass>
          <tsa>http://timestamp.entrust.net/TSS/RFC3161sha2TS</tsa>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.7</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>${dv.surefire.version}</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${dv.javadoc.version}</version>
        <configuration>
          <bottom><![CDATA[<p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.</p>]]></bottom>
          <links>
            <link>https://logging.apache.org/log4j/2.x/log4j-api/apidocs/</link>
          </links>
          <encoding>${dv.source.encoding}</encoding>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>3.0.0</version>
        <configuration>
          <fork>true</fork>
          <jvmArgs>-Duser.language=en</jvmArgs>
          <threshold>Normal</threshold>
          <effort>Default</effort>
          <!-- <excludeFilterFile>${log4jParentDir}/findbugs-exclude-filter.xml</excludeFilterFile> -->
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>2.13</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pmd-plugin</artifactId>
        <version>3.3</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>taglist-maven-plugin</artifactId>
        <version>${dv.taglist.version}</version>
        <configuration>
          <tagListOptions>
            <tagClasses>
              <tagClass>
                <displayName>Todo Work</displayName>
                <tags>
                  <tag>
                    <matchString>TODO</matchString>
                    <matchType>exact</matchType>
                  </tag>
                  <tag>
                    <matchString>FIXME</matchString>
                    <matchType>exact</matchType>
                  </tag>
                  <tag>
                    <matchString>NOPMD</matchString>
                    <matchType>exact</matchType>
                  </tag>
                  <tag>
                    <matchString>NOTE</matchString>
                    <matchType>exact</matchType>
                  </tag>
                </tags>
              </tagClass>
            </tagClasses>
          </tagListOptions>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.rat</groupId>
        <artifactId>apache-rat-plugin</artifactId>
        <version>${dv.rat.version}</version>
        <!-- Should agree with config in plugin section -->
        <configuration>
          <licenses>
            <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
              <licenseFamilyCategory>Rocket</licenseFamilyCategory>
              <licenseFamilyName>Rocket Software License</licenseFamilyName>
              <notes></notes>
              <patterns>
                <pattern>Copyright 2014 Rocket Software, Inc. All rights reserved.</pattern>
              </patterns>
            </license>
          </licenses>
          <licenseFamilies>
            <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
              <familyName>Rocket Software License</familyName>
            </licenseFamily>
          </licenseFamilies>
          <excludes>
            <exclude>.externalToolBuilders/*</exclude>
            <exclude>maven-eclipse.xml</exclude>
            <exclude>src/test/resources/**/*.csv</exclude>
            <exclude>src/test/resources/**/*.tip</exclude>
            <exclude>src/test/resources/**/*.txt</exclude>
            <exclude>src/main/resources/META-INF/services/java.sql.Driver</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
        <version>${dv.jacoco.version}</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <version>2.6</version>
      </plugin>
    </plugins>
  </reporting>
</project>
{code}



> Embedded dist zip for 8.9.0 is missing from repo
> ------------------------------------------------
>
>                 Key: TEIID-3232
>                 URL: https://issues.jboss.org/browse/TEIID-3232
>             Project: Teiid
>          Issue Type: Bug
>          Components: Build/Kits, Embedded
>    Affects Versions: 8.9
>         Environment: Java version: 1.7.0_71, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_71\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> Ant 1.9.4
> Ivy 2.3.0
>            Reporter: Gary Gregory
>            Assignee: Steven Hawkins
>            Priority: Blocker
>
> For version 8.8.1, our build uses
> https://repository.jboss.org/org/jboss/teiid/teiid/8.8.1/teiid-8.8.1-embedded-dist.zip 
> There is no such zip for 8.9.0.
> In fact there are no useful files in https://repository.jboss.org/org/jboss/teiid/teiid/8.9.0.Final
> Help!



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the teiid-issues mailing list