Hi,
a have a java module (*.jar) with 2 profiles:
...
<groupId>myGroup</groupId>
<artifactId>myArtifact</artifactId>
<version>4711-SNAPSHOT</vesion>
<profile>
<id>featureOn</id>
</profile>
<profile>
<id>featureOff</id>
</profile>
...
The difference between these profiles is, that aspectj applies some aspect
in one case, for en/disabling special features.
The result of the build is in both cases:
myartifact-4711-SNAPSHOT.jar
which is deployed in the repository.
=> How can I mvn:deploy the artifact in a way to the repo, that the
"featureOn" / "featureOff" versions are divided?
The reason I need to divide them is our "delivery" build
(packaging the whole stuff together):
delivery-with-featureOn needs dependency to "featureOn"
version of myArtifact while
delivery-with-featureOff need dependency to "featureOff"
version of myArtifact.
Thanx for any advice how to do this,
torsten