Hi Michaël,
I was testing how it feels to build OpenJUMP with maven just out of curiosity
and for testing if the documentation is up-to-date.
I have already managed to build a working spatialite plugin with ant but
packaging into jar failed so until now I have just zipped the target folders
and renamed the archive.
-Jukka-
________________________________
Michaël Michaud wrote:
Hi Jukka,
You're welcome to contribute as a programmer after so many contributions as an
expert.
I just added you in the developper list.
Why do you need to build OpenJUMP ? I'm sure Ede can give you more valuable
inputs than I about building with maven, but I'll tell you how I manage plugins
with
ant.
I have generally a small ant build file in the plugin project, with a target
containing
a jar instruction. Just after, I add a copy instruction to copy the jar to my
current
OpenJUMP installation directory.
<target name="my-plugin" id="my-plugin" depends="compile-all">
<jar basedir="${build}"
jarfile="${dist}/my-plugin-${my-plugin-version}.jar" />
<copy file="${dist}/my-plugin-${my-plugin-version}.jar"
todir="D:/PATH/TO/OpenJUMP-20150328-r4357-PLUS/lib/ext" />
</target>
That way, every time I run my jar ant task, I can test the new jar in my
current OpenJUMP
installation.
May be it will also suit your needs for Spatialite improvements.
Let me know if you have any problem.
Michaël
Le 22/04/2015 18:30, Rahkonen Jukka (MML) a écrit :
Hi,
I can build with the snapshot profile by following the instructions from
http://ojwiki.soldin.de/index.php?title=Creating_an_OJ_release_version.
However, when I tried the release command
mvn package -P release -D version.number=1.5.1 -D version.release=4000 the
build fails with the following error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.
2-beta-5:single (release core) on project OpenJUMP: Failed to create assembly:
Error adding file to archive:
C:\data\oj_trunk\core\trunk\target\nolang\OpenJUMP-
1.5.1-r${version.revision}-nosrc.jar isn't a file. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecution
Exception
There may be something to correct in the pom.xml, but what?
-Jukka Rahkonen-
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel