[mevenide-dev] [jira] Commented: (MEVENIDE-542) <Badly formed Maven project> when adding profile to pom

"Jaromir Uhrik (JIRA)" <jira-yCVjj/[email protected]> Wed, 3 Dec 2008 10:29:19 -0600 (CST)
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.devel
Message-ID <27581350.1228321759914.JavaMail.haus-jira@codehaus01.managed.contegix.com>
    [ http://jira.codehaus.org/browse/MEVENIDE-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156560#action_156560 ] 

Jaromir Uhrik commented on MEVENIDE-542:
----------------------------------------

This bug was transferred to the NetBeans Issuezilla bug tracking system as http://www.netbeans.org/issues/show_bug.cgi?id=154507

> <Badly formed Maven project> when adding profile to pom
> -------------------------------------------------------
>
>                 Key: MEVENIDE-542
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-542
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_2.4, NB_3.0
>         Environment: Windows 2000
>            Reporter: Daniel Mutch
>            Assignee: Milos Kleint
>            Priority: Minor
>             Fix For: NB_3.2
>
>
> Adding the following profile to a pom.xml seems to render the project invalid
> <profiles>
>         <profile>
>             <id>default-tools.jar</id>
>             <activation>
>                 <property>
>                     <name>java.vendor</name>
>                     <value>Sun Microsystems Inc.</value>
>                 </property>
>             </activation>
>             <dependencies>
>                 <dependency>
>                     <groupId>com.sun</groupId>
>                     <artifactId>tools</artifactId>
>                     <version>1.4.2</version>
>                     <scope>system</scope>
>                     <systemPath>${JAVA_1_4_HOME}/lib/tools.jar</systemPath>
>                 </dependency>
>             </dependencies>
>         </profile>
>     </profiles>
> It appears to be the dependencies. Commenting them out solves the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email