Hello,

I am using the Maven Artifact Antlib to use project dependencies
specified in a pom.xml.

Now I'm struggling with a project the needs different dependencies for
jre14 and jre15, hence I specify additional jre14 dependencies in a
profile that is triggered on property jre1.4.2:

<profile>
       <id>jre1.4.2</id>
        <activation>
                <property>
                        <name>jre1.4.2</name>
                </property>
        </activation>
        <dependencies>
          ...
        </dependencies>
</profile>

Now I'd like to use the additional dependencies in my Ant build script
by using that specific profile. I've read in the following
announcement:
http://mail-archives.apache.org/mod_mbox/ant-user/200506.mbox/[EMAIL PROTECTED]
that there exists profile support for the Maven Antlib, but I didn't
get it working. I've set the property "jre1.4.2" within Ant before
loading the dependencies, but it had no effect, only the 'default'
dependencies were loaded.

Can anyone give me a hint how to get the profile support working?

Best Regards,
Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to