xdgnjobs/ximple-build/maven/jar-collector/pom.xml | ●●●●● patch | view | raw | blame | history | |
xdgnjobs/ximple-build/maven/jar-collector/src/main/java/com/ximple/eofms/maven/JarCollector.java | ●●●●● patch | view | raw | blame | history | |
xdgnjobs/ximple-build/maven/pom.xml | ●●●●● patch | view | raw | blame | history | |
xdgnjobs/ximple-build/pom.xml | ●●●●● patch | view | raw | blame | history | |
xdgnjobs/ximple-dgnio/pom.xml | ●●●●● patch | view | raw | blame | history | |
xdgnjobs/ximple-elmparser/pom.xml | ●●●●● patch | view | raw | blame | history | |
xdgnjobs/ximple-jobcarrier/pom.xml | ●●●●● patch | view | raw | blame | history | |
xdgnjobs/ximple-spatialjob/pom.xml | ●●●●● patch | view | raw | blame | history |
xdgnjobs/ximple-build/maven/jar-collector/pom.xml
@@ -7,7 +7,7 @@ <parent> <groupId>com.ximple.eofms.maven</groupId> <artifactId>ximple-maven</artifactId> <version>2.1.0</version> <version>2.1.1</version> </parent> @@ -16,7 +16,7 @@ <!-- =========================================================== --> <groupId>com.ximple.eofms.maven</groupId> <artifactId>ximple-jar-collector</artifactId> <version>2.1.0</version> <version>2.1.1</version> <packaging>maven-plugin</packaging> <name>JAR files collector</name> xdgnjobs/ximple-build/maven/jar-collector/src/main/java/com/ximple/eofms/maven/JarCollector.java
@@ -72,13 +72,10 @@ * Gets the parent "target" directory. */ MavenProject parent = project; while (parent.hasParent()) { parent = parent.getParent(); } collectDirectory = parent.getBuild().getDirectory(); /* * Now collects the JARs. */ @@ -98,22 +95,18 @@ * such file. Some modules use pom packaging, which do not produce any JAR file. */ final File jarFile = new File(outputDirectory, jarName + ".jar"); if (!jarFile.isFile()) { return; } /* * Get the "target" directory of the parent pom.xml and make sure it exists. */ File collect = new File(collectDirectory); if (!collect.exists()) { if (!collect.mkdir()) { throw new MojoExecutionException("Failed to create target directory: " + collect.getAbsolutePath()); } } if (collect.getCanonicalFile().equals(jarFile.getParentFile().getCanonicalFile())) { /* * The parent's directory is the same one than this module's directory. @@ -123,19 +116,15 @@ */ return; } /* * Creates a "binaries" subdirectory inside the "target" directory. */ collect = new File(collect, SUB_DIRECTORY); if (!collect.exists()) { if (!collect.mkdir()) { throw new MojoExecutionException("Failed to create binaries directory."); } } int count = 1; FileUtils.copyFileToDirectory(jarFile, collect); Set<Artifact> dependencies = project.getDependencyArtifacts(); if (dependencies != null) { @@ -147,7 +136,7 @@ scope.equalsIgnoreCase(Artifact.SCOPE_RUNTIME))) { final File file = artifact.getFile(); if (!artifact.getGroupId().startsWith("com.ximple.eofms")) { if (!artifact.getGroupId().startsWith("org.geotools")) { final File copy = new File(collect, file.getName()); if (copy.exists()) { /* @@ -164,7 +153,5 @@ } } } getLog().info("Copied " + count + " JAR to parent directory."); } } xdgnjobs/ximple-build/maven/pom.xml
@@ -7,7 +7,7 @@ <parent> <groupId>com.ximple.eofms.maven</groupId> <artifactId>ximple-build</artifactId> <version>2.1.0</version> <version>2.1.1</version> </parent> xdgnjobs/ximple-build/pom.xml
@@ -7,7 +7,7 @@ <parent> <groupId>com.ximple.eofms</groupId> <artifactId>ximple-dgnjobs</artifactId> <version>2.1.0</version> <version>2.1.1</version> </parent> @@ -16,7 +16,7 @@ <!-- =========================================================== --> <groupId>com.ximple.eofms.maven</groupId> <artifactId>ximple-build</artifactId> <version>2.1.0</version> <version>2.1.1</version> <packaging>pom</packaging> <name>Build tools for Ximple DgnJobs</name> xdgnjobs/ximple-dgnio/pom.xml
@@ -7,7 +7,7 @@ <parent> <groupId>com.ximple.eofms</groupId> <artifactId>ximple-dgnjobs</artifactId> <version>2.1.0</version> <version>2.1.1</version> </parent> <!-- =========================================================== --> @@ -15,7 +15,7 @@ <!-- =========================================================== --> <groupId>com.ximple.eofms</groupId> <artifactId>ximple-dgnio</artifactId> <version>2.1.0</version> <version>2.1.1</version> <packaging>jar</packaging> <name>ximple-dgnio</name> <url>http://www.ximple.com.tw</url> xdgnjobs/ximple-elmparser/pom.xml
@@ -5,12 +5,12 @@ <parent> <groupId>com.ximple.eofms</groupId> <artifactId>ximple-dgnjobs</artifactId> <version>2.1.0</version> <version>2.1.1</version> </parent> <groupId>com.ximple.eofms</groupId> <artifactId>ximple-elmparser</artifactId> <version>2.1.0</version> <version>2.1.1</version> <packaging>jar</packaging> <name>ximple-elmparser</name> <url>http://maven.apache.org</url> xdgnjobs/ximple-jobcarrier/pom.xml
@@ -6,13 +6,13 @@ <parent> <groupId>com.ximple.eofms</groupId> <artifactId>ximple-dgnjobs</artifactId> <version>2.1.0</version> <version>2.1.1</version> </parent> <groupId>com.ximple.eofms</groupId> <artifactId>ximple-jobcarrier</artifactId> <version>2.1.0</version> <version>2.1.1</version> <packaging>jar</packaging> <name>ximple-jobcarrier</name> <url>http://maven.apache.org</url> xdgnjobs/ximple-spatialjob/pom.xml
@@ -7,12 +7,12 @@ <parent> <groupId>com.ximple.eofms</groupId> <artifactId>ximple-dgnjobs</artifactId> <version>2.1.0</version> <version>2.1.1</version> </parent> <groupId>com.ximple.eofms</groupId> <artifactId>ximple-spatialjob</artifactId> <version>2.1.0</version> <version>2.1.1</version> <packaging>jar</packaging> <name>ximple-spatialjob</name> <url>http://www.ximple.com.tw</url>