On Saturday, October 1, 2016 at 12:38:58 PM UTC-4, Christopher Currie wrote: > > Not without seeing more of the POM. As an aside, what is the motivation > for this work?
The motivation is that I'm trying to upgrade a client's system on a closed intranet (i.e. air-gap'd from Github) from Scala 2.10.4 and jackson-module-scala_2.10-2.3.2 for which they modified the source code to not include lazy values and replace nulls with None among other things. And, Maven is the standard build tool; i.e. sbt is not used. As far as the pom.xml, basically I added the following to https://repo1.maven.org/maven2/com/fasterxml/jackson/module/jackson-module-scala_2.11/2.8.3/jackson-module-scala_2.11-2.8.3.pom: ... <build> <resources> <!-- create target/classes/com/fasterxml/jackson/module/scala/build.properties -> <directory>src/main/resources</directory> <filtering>true</filtering> </resources> <plugins> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <version>3.2.2</version> <executions> <execution> <id>scala-compile-first</id> <phase>process-resources</phase> <goals> <goal>add-source</goal> <goal>compile</goal> </goals> </execution> <execution> <id>scala-test-compile</id> <phase>process-test-resources</phase> <goals> <goal>testCompile</goal> </goals> </execution> </executions> <configuration> <args> <arg>-deprecation</arg> <arg>-unchecked</arg> <arg>-feature</arg> </args> <jvmArgs> <jvmArg>-Xms256m</jvmArg> <jvmArg>-Xmx1024m</jvmArg> <jvmArg>-XX:+UseCodeCacheFlushing</jvmArg> </jvmArgs> <javacArgs> <javacArg>-source</javacArg><javacArg>1.7</javacArg> <javacArg>-target</javacArg><javacArg>1.7</javacArg> </javacArgs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.5.1</version> <configuration> <argLine>-XX:-UseSplitVerifier</argLine> <source>1.7</source> <target>1.7</target> </configuration> <executions> <execution> <phase>compile</compile> <goals> <goal>compile</goal> </goals> </execution> </executions> </plugin> ... -- You received this message because you are subscribed to the Google Groups "jackson-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
