Skip to content

Commit 19b55d7

Browse files
committedJun 19, 2024
feat: add maven exec plugin to run example
work on #6
1 parent 21df2aa commit 19b55d7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
 

‎adaptive-rag/pom.xml

+23
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,29 @@
6969

7070
<build>
7171
<plugins>
72+
<plugin>
73+
<groupId>org.codehaus.mojo</groupId>
74+
<artifactId>exec-maven-plugin</artifactId>
75+
<version>3.3.0</version>
76+
<executions>
77+
<execution>
78+
<goals>
79+
<goal>exec</goal>
80+
</goals>
81+
</execution>
82+
</executions>
83+
<configuration>
84+
<executable>java</executable>
85+
<arguments>
86+
<argument>-classpath</argument>
87+
<classpath/>
88+
<argument>dev.langchain4j.adaptiverag.AdaptiveRag</argument>
89+
</arguments>
90+
<environmentVariables>
91+
</environmentVariables>
92+
</configuration>
93+
</plugin>
94+
7295
<plugin>
7396
<groupId>org.apache.maven.plugins</groupId>
7497
<artifactId>maven-deploy-plugin</artifactId>

0 commit comments

Comments
 (0)