Uploaded image for project: '[Read Only] - Hippo GOGREEN'
  1. [Read Only] - Hippo GOGREEN
  2. GOGREEN-1072

Generate a jar which contains all classes for the site

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 3.07.00
    • None
    • None

    Description

      Hi,

      At the moment, only the war file for the gogreen site is generated.
      I have a use case that needs to create a new class within the enterprise version of gogreen and I can't reference any classes from the opensource version of gogreen.

      The solution is the following:

      1) Under the opensource Gogreen pom.xml site, add the following lines
      <plugins>
      ....
      <plugin>
      <artifactId>maven-war-plugin</artifactId>
      <configuration>
      <attachClasses>true</attachClasses>
      <classesClassifier>classes</classesClassifier>
      </configuration>
      </plugin>
      ...
      <plugins>

      2) Under the opensource Enterprise Gogreen pom.xml site, add the following lines
      <dependencies>
      ...
      <dependency>
      <groupId>com.onehippo.gogreen</groupId>
      <artifactId>hippogogreen-site</artifactId>
      <version>${hippo.gogreen.version}</version>
      <scope>provided</scope>
      <classifier>classes</classifier>
      </dependency>
      ...
      <dependencies>

      Thanks

      Attachments

        Issue Links

          Activity

            People

              fvlankvelt Frank van Lankvelt (Inactive)
              jmirc Jérôme Mirc
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: