|
40 | 40 |
|
41 | 41 | <beast.version>2.8.0-beta1</beast.version> |
42 | 42 | <javafx.version>25.0.2</javafx.version> |
43 | | - <beast.main>beastfx.app.beauti.Beauti</beast.main> |
| 43 | + <beast.module>beast.base</beast.module> |
| 44 | + <beast.main>beast.base.minimal.BeastMain</beast.main> |
44 | 45 | <beast.args/> |
45 | 46 | <beast.pkg.name>MM</beast.pkg.name> |
46 | 47 | <beast.pkg.version>1.3.0</beast.pkg.version> |
|
59 | 60 | <version>${beast.version}</version> |
60 | 61 | </dependency> |
61 | 62 |
|
| 63 | + <!-- BEAGLE (optional in beast-base, must be explicit for module path) --> |
| 64 | + <dependency> |
| 65 | + <groupId>io.github.compevol</groupId> |
| 66 | + <artifactId>beagle</artifactId> |
| 67 | + <version>1.0</version> |
| 68 | + </dependency> |
| 69 | + |
62 | 70 | <!-- GUI (optional at runtime) --> |
63 | 71 | <dependency> |
64 | 72 | <groupId>io.github.compevol</groupId> |
|
154 | 162 | </executions> |
155 | 163 | </plugin> |
156 | 164 |
|
157 | | - <!-- Run BEAUti or BEAST with morph-models on module path: |
158 | | - mvn exec:exec |
159 | | - mvn exec:exec -Dbeast.main=beast.base.minimal.BeastMain -Dbeast.args="examples/M3982.xml" --> |
| 165 | + <!-- Run BEAST or BEAUti with morph-models on module path: |
| 166 | + mvn exec:exec -Dbeast.args="examples/M3982.xml" |
| 167 | + mvn exec:exec -Dbeast.module=beast.fx -Dbeast.main=beastfx.app.beauti.Beauti --> |
160 | 168 | <plugin> |
161 | 169 | <groupId>org.codehaus.mojo</groupId> |
162 | 170 | <artifactId>exec-maven-plugin</artifactId> |
163 | 171 | <version>3.5.0</version> |
164 | 172 | <configuration> |
165 | 173 | <executable>java</executable> |
166 | 174 | <workingDirectory>${project.basedir}</workingDirectory> |
167 | | - <commandlineArgs>--module-path %classpath -DBEAST_PACKAGE_PATH=${project.build.outputDirectory} -m beast.fx/${beast.main} ${beast.args}</commandlineArgs> |
| 175 | + <commandlineArgs>--module-path %classpath -DBEAST_PACKAGE_PATH=${project.build.outputDirectory} -m ${beast.module}/${beast.main} ${beast.args}</commandlineArgs> |
168 | 176 | </configuration> |
169 | 177 | </plugin> |
170 | 178 |
|
|
0 commit comments