fugerit79 commented on PR #121:
URL: https://github.com/apache/freemarker/pull/121#issuecomment-2870941679

   Ok @OnnoH it seems to me configuration is ok.
   
   Are you using maven as build system?
   
   Are you sure your application has been actually build with your FreeMarker 
build?
   
   I tested the build on a few maven applications, but to do so I did : 
   
   1. Publish freemarker gae artifact to maven local repository ad the end of 
the gradle build`publishToMavenLocal` :
   
   `./gradlew "-Pfreemarker.signMethod=none" 
"-Pfreemarker.allowUnsignedReleaseBuild=true" --continue clean build 
publishToMavenLocal`
   
   2. Add dependency for : 
   
   ```xml
       <dependency>
         <groupId>org.freemarker</groupId>
         <artifactId>freemarker-gae</artifactId>
         <version>2.3.35-SNAPSHOT</version>
       </dependency>
   ```
   
   3. Remove dependency for every artificat which needs it : 
   
   ```xml
       <dependency>
         <groupId>org.fugerit.java</groupId>
         <artifactId>fj-doc-base</artifactId>
         <exclusions>
           <exclusion>
             <groupId>org.freemarker</groupId>
             <artifactId>freemarker</artifactId>
           </exclusion>
         </exclusions>
       </dependency>
   ```
   
   Here you can find an 
[example](https://github.com/fugerit-org/graalkus/commit/6ea8e1084a88fbde600a2550e2a34f8750209209).
   
   You can check if the "standard" FreeMarker jar is still included in your 
build by running : 
   
   ```shell
   mvn dependency:tree
   ```
   
   If you want you can provide the output. The result should only include 
**freemarker-gae** artifact.
   
   Note : That is needed just because this pull request has not yet merged and 
published in an official release of FreeMarker.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to