Replies: 3 comments 1 reply
-
|
[INFO] Scanning for projects... I always get this error while trying run mvn clean install from knowage-ce-parent. Can you help me to figure it out. |
Beta Was this translation helpful? Give feedback.
-
|
Hi i have work through this problem but now i encouter this error while mvn install in knowage-ce-parent Can you help me out with this one |
Beta Was this translation helpful? Give feedback.
-
|
Turn out there was no xss-html-filter version 1.5 that i can find release on internet. Can you give me further instruction |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It's been requested a few times, so here is a complete guite to build Knowage from source code. A copy will be added to the root of the project as well.
Building Knowage from Source Code
Prerequisites
Before you begin, make sure you have the following installed:
The Java version is defined directly in the project's
pom.xml: bothmaven.compiler.sourceandmaven.compiler.targetare set to17. Make sure you have JDK 17 installed — not 11, not 21.Add the paths of
java,node, andnpmto your system'sPATHenvironment variable.Install the Grunt CLI globally via npm:
Quick check before building:
1. Clone the Repository
git clone https://github.com/KnowageLabs/Knowage-Server.git cd Knowage-Server2. Build
The main project is
knowage-ce-parent. From within that directory, run:cd knowage-ce-parent mvn clean install3. Output
Once the build completes, the WAR files can be found at the following paths:
knowage/target/knowage.warknowage-api/target/knowage-api.warknowage-vue/target/knowage-vue.warknowagebirtreportengine/target/knowagebirtreportengine.warknowagecockpitengine/target/knowagecockpitengine.warknowagejasperreportengine/target/knowagejasperreportengine.warknowagekpiengine/target/knowagekpiengine.warknowagemeta/target/knowagemeta.warknowageqbeengine/target/knowageqbeengine.warknowagetalendengine/target/knowagetalendengine.war4. Python Module
There is no need to build the
Knowage-Pythonmodule: just take the source code and run it as a standalone program. Refer to the official documentation for details.5. Deploy
Once you have the WAR files, deploy them to an Apache Tomcat instance configured with a metadata database (MySQL/MariaDB or PostgreSQL). Refer to the manual installation guide for Tomcat configuration details. The database DDL scripts are located under
knowagedatabasescripts/<dbms>/.Beta Was this translation helpful? Give feedback.
All reactions