fix mavenized

This commit is contained in:
Branislav Stojkovic
2025-03-11 12:59:08 +01:00
parent e088b5e8c9
commit 344e85e6f7
3 changed files with 26 additions and 14 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
{ {
"java.compile.nullAnalysis.mode": "automatic" "java.compile.nullAnalysis.mode": "automatic",
"java.configuration.updateBuildConfiguration": "interactive"
} }
@@ -249,6 +249,10 @@
<releaseDate>2025-03-09 00:00:00.000 CET</releaseDate> <releaseDate>2025-03-09 00:00:00.000 CET</releaseDate>
<name></name> <name></name>
<changes> <changes>
<org.diylc.appframework.update.Change>
<changeType>IMPROVEMENT</changeType>
<description>Upgraded source code structure to modern standards and introduced Maven</description>
</org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change> <org.diylc.appframework.update.Change>
<changeType>BUG_FIX</changeType> <changeType>BUG_FIX</changeType>
<description>Moving selected components with a mouse doesn't register file modification action and doesn't enable Undo action</description> <description>Moving selected components with a mouse doesn't register file modification action and doesn't enable Undo action</description>
+20 -13
View File
@@ -153,29 +153,36 @@
<build> <build>
<plugins> <plugins>
<!-- Maven-Ant integration -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.5.1</version>
<executions> <executions>
<!-- Temporarily commenting out Ant integration to get Maven build working
<execution> <execution>
<id>ant-build</id>
<phase>package</phase> <phase>package</phase>
<goals> <goals>
<goal>run</goal> <goal>shade</goal>
</goals> </goals>
<configuration> <configuration>
<target> <createDependencyReducedPom>false</createDependencyReducedPom>
Call your existing Ant build file <finalName>diylc</finalName>
<ant antfile="${basedir}/build.xml" target="full"> <filters>
Pass Maven properties to Ant if needed <filter>
<property name="version" value="${project.version}"/> <artifact>*:*</artifact>
</ant> <excludes>
</target> <exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.diylc.DIYLCStarter</mainClass>
</transformer>
</transformers>
</configuration> </configuration>
</execution> </execution>
-->
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>