edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale LaBossiere <dml.apa...@gmail.com>
Subject Re: Understanding the snapshot and release process
Date Thu, 08 Jun 2017 16:56:38 GMT

> On Jun 8, 2017, at 10:43 AM, Christofer Dutz <christofer.dutz@c-ware.de> wrote:
> 
> Eventually your approach with a sub-directory inside the target would be a valid option
… would probably have to adjust the maven-clean-plugin too, but that should work in getting
all results inside the target directory in parallel.

maven-clean-plugin seemed to work OK.  Hmm… would there be a way to get a “clean all”?
 Maybe that’s what you meant.

    mvn clean -P tgt-java7  # cleans all target/java7
    mvn clean                     # cleans all target/java8

That was with pom.xml changes:

  <properties>
    <edgent.target.kind>java8</edgent.target.kind>
	...
  </properties>

  <profiles>
    <profile>
      <id>tgt-java7</id>
      <activation>
        <property>
          <name>tgt</name>
          <value>java7</value>
        </property>
      </activation>
      <properties>
        <edgent.target.kind>java7</edgent.target.kind>
      </properties>
	...
    </profile>

  <build>
    <directory>target/${edgent.target.kind}</directory>
	...
  </build>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message