This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 255622 - "Some problems were encountered while building the effective model for..."
Summary: "Some problems were encountered while building the effective model for..."
Status: RESOLVED INVALID
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7 x64
: P3 normal with 1 vote (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-29 14:18 UTC by jgm1986
Modified: 2019-03-15 10:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jgm1986 2015-09-29 14:18:18 UTC
I created a new empty Maven project using: File / New Project / Maven / Java Application

Next, I created a new "Hello world!" main class. When this class is compiled and executed using "<default config>" profile. All works correctly as expected. If I change the profile to "release-profile", I get this errors during "clean and build" execution:

-------------------

Some problems were encountered while building the effective model for test:helloWorld:jar:v0.1.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing.
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing.
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing.

It is highly recommended to fix these problems because they threaten the stability of your build.

For this reason, future Maven versions might no longer support building such malformed projects.

-------------------

Can some one check if it's a bug? or I miss something on my POM file:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>test</groupId>
    <artifactId>helloWorld</artifactId>
    <version>v0.1.0</version>
    <packaging>jar</packaging>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.7</maven.compiler.source>
        <maven.compiler.target>1.7</maven.compiler.target>
    </properties>
</project>


Thanks for your help!
Comment 1 Tomas Stupka 2016-06-23 09:52:15 UTC
those warnings are generated by maven. 
NetBeans merely prints them in the output view.
Comment 2 t_gergely 2016-07-15 11:20:24 UTC
Specifically, release-profile with missing plugin versions is defined in the super POM (in maven-model-builder) along with a comment: "<!-- NOTE: The release profile will be removed from future versions of the super POM -->", so it may not be a good idea to use this profile anyway.
Comment 3 msorah 2016-08-12 04:51:48 UTC
That would be OK, except that the project will not change back to the default profile.
Or at least provide a way to add another profile
Comment 4 Tomas Stupka 2016-08-29 13:28:57 UTC
> That would be OK, except that the project will not change back to the default profile.
> Or at least provide a way to add another profile
up to the user - as long it is possible to compile with that profile, they might want to do so
Comment 5 Thanos1234 2019-03-15 10:08:54 UTC
I must be like to getting the nice post follow here https://windowsclassroom.com/find-wifi-password-on-windows-10 and seen the all function for know how to find wifi password on windows 10.