Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-13041 Generate release artifacts (source, binary, demo) using Maven2 release process
  3. SAK-13151

Update Version or Remove Reference to hibernate3-maven-plugin 2.0-SNAPSHOT

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.2
    • Labels:
      None

      Description

      The Maven release-plugin requires that all external dependencies must be released versions or the generation of release artifacts will fail. The report-api pom.xml references the hibernate3-maven-plugin version 2.0-SNAPSHOT. The version needs to be updated to a released version and the appropriate jar added to our repo.

      A more general question involves whether or not the build configuration included below is actually necessary. Indeed, there is a possibility it may conflict with the generation of general Sakai release artifacts.

      http://www.mvnrepository.com/artifact/org.codehaus.mojo/hibernate3-maven-plugin/2.0

      <build>
      <resources>
      <resource>
      <directory>${basedir}/src/bundle</directory>
      <includes>
      <include>*/.properties</include>
      </includes>
      </resource>
      <resource>
      <directory>src/java</directory>
      <includes>
      <include>*/.xml</include>
      </includes>
      <excludes>
      <exclude>**/web.xml</exclude>
      </excludes>
      </resource>
      </resources>
      <plugins>
      <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>hibernate3-maven-plugin</artifactId>
      <version>2.0-SNAPSHOT</version>
      <configuration>
      <components>
      <component>
      <name>hbm2ddl</name>
      <implementation>configuration</implementation>
      </component>
      </components>
      <componentProperties>
      <configurationfile>/src/resources/hibernate.cfg.xml</configurationfile>
      <export>false</export>
      <update>false</update>
      <create>false</create>
      <outputfilename>gmt.sql</outputfilename>
      </componentProperties>
      </configuration>
      <dependencies>
      <dependency>
      <groupId>org.sakaiproject</groupId>
      <artifactId>sakai-util-id-hbm</artifactId>
      <version>${sakai.version}</version>
      <scope>test</scope>
      </dependency>
      </dependencies>
      </plugin>
      </plugins>
      </build>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                arwhyte Anthony Whyte
                Reporter:
                arwhyte Anthony Whyte
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code