1
0
Fork 0
mirror of https://gitlab.com/kauron/jstudy synced 2024-11-13 07:33:44 +01:00

Simplified POM and updated website

This commit is contained in:
Carlos Galindo 2019-09-10 19:01:29 +02:00
parent 8b41dff1c5
commit dd50ffdcff
Signed by: kauron
GPG key ID: 83E68706DEE119A3
4 changed files with 7 additions and 25 deletions

View file

@ -12,6 +12,6 @@
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:3.8.1" level="project" /> <orderEntry type="library" scope="TEST" name="Maven: junit:junit:3.8.1" level="project" />
<orderEntry type="library" name="Maven: com.jfoenix:jfoenix:1.10.0" level="project" /> <orderEntry type="library" name="Maven: com.jfoenix:jfoenix:8.0.9" level="project" />
</component> </component>
</module> </module>

26
pom.xml
View file

@ -8,12 +8,8 @@
<repositories> <repositories>
<repository> <repository>
<id>jitpack.io</id> <id>Central Repository</id>
<url>https://jitpack.io</url> <url>https://repo.maven.apache.org/maven2</url>
</repository>
<repository>
<id>Maven Snapshots</id>
<url>https://oss.sonatype.org/content/groups/public</url>
</repository> </repository>
</repositories> </repositories>
@ -29,40 +25,26 @@
<dependency> <dependency>
<groupId>com.jfoenix</groupId> <groupId>com.jfoenix</groupId>
<artifactId>jfoenix</artifactId> <artifactId>jfoenix</artifactId>
<version>1.10.0</version> <version>8.0.9</version>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration> <configuration>
<source>1.8</source> <source>1.8</source>
<target>1.8</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration> <configuration>
<archive> <archive>
<manifest> <manifest>
<addClasspath>true</addClasspath>
<mainClass>es.kauron.jstudy.Main</mainClass> <mainClass>es.kauron.jstudy.Main</mainClass>
</manifest> </manifest>
<manifestEntries>
<Class-Path>.</Class-Path>
</manifestEntries>
</archive> </archive>
<descriptorRefs> <descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef> <descriptorRef>jar-with-dependencies</descriptorRef>

View file

@ -238,7 +238,7 @@ public class Controller implements Initializable {
protected void onAboutAction(ActionEvent event) { protected void onAboutAction(ActionEvent event) {
if (Desktop.isDesktopSupported()) { if (Desktop.isDesktopSupported()) {
try { try {
Desktop.getDesktop().browse(URI.create("https://kauron.github.io/jstudy")); Desktop.getDesktop().browse(URI.create("https://gitlab.com/kauron/jstudy"));
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }

View file

@ -8,6 +8,6 @@
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: com.jfoenix:jfoenix:1.10.0" level="project" /> <orderEntry type="library" name="Maven: com.jfoenix:jfoenix:8.0.9" level="project" />
</component> </component>
</module> </module>