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
- relates to
-
HGGE-90 Make use of the generated classes jar which contains all classes of the open source gogreen
- Closed
-
HSTTWO-2402 For the TESTSUITE, also generate the classes source jar
- Closed