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

"Milos Kleint (JIRA)" <jira-yCVjj/[email protected]> Wed, 3 Dec 2008 11:49:21 -0600 (CST)
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.devel
Message-ID <26064767.1228326561777.JavaMail.haus-jira@codehaus01.managed.contegix.com>
     [ http://jira.codehaus.org/browse/MEVENIDE-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint closed MEVENIDE-542.
---------------------------------

    Resolution: Duplicate

closing the issue as duplicate of the newly created one in netbeans.org issuezilla. 
Please post your additional comments to the new issue.

> <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