Note that there are some explanatory texts on larger screens.

plurals
  1. POSonar Analysis for website project - ASP.NET
    primarykey
    data
    text
    <p>I was trying to build and analyze a asp.net website project using maven</p> <p>Command I used : mvn sonar:sonar -e</p> <h2>I have single pom file in my root directory(same directory where website.sln is stored).</h2> <p>Directory structure:</p> <pre><code> |---Website (website project file) | |---website.sln |---pom.xml </code></pre> <h2> |</h2> <h2>Result of executing command was : Build Error -Embedded error: Unable to execute maven plugin</h2> <p>I did same things and I could successfully build a web application project and console application project(which have visual studio project file). I thing reason for not working for website project is it does not have .csproj file inside website folder.</p> <p>So how could successfully build and analyze a website project using maven.</p> <h2>Could someone please help me to fix this issue.</h2> <p>this is my pom file:</p> <p>http://maven.apache.org/maven-v4_0_0.xsd"></p> <pre><code>&lt;groupId&gt;MindTree&lt;/groupId&gt; &lt;artifactId&gt;webbssite&lt;/artifactId&gt; &lt;version&gt;1.0&lt;/version&gt; &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt; &lt;name&gt;Maya&lt;/name&gt; &lt;packaging&gt;sln&lt;/packaging&gt; &lt;url&gt;http://maven.apache.org&lt;/url&gt; &lt;properties&gt; &lt;!-- NOTE : the versions and parameters may be defined as properties. Prefer this option to the plugin configuration as it may be accessible to several plugins --&gt; &lt;!-- Name of the solution file, located in the same directory as the pom.xml --&gt; &lt;visual.studio.solution&gt;website.sln&lt;/visual.studio.solution&gt; &lt;!-- Name pattern to recognize the test assemblies, so that unit tests are only launched on those, and so that those are excluded from code coverage --&gt; &lt;visual.test.project.pattern&gt;*.Tests&lt;/visual.test.project.pattern&gt; &lt;!-- Version of the .Net tools, which may be 2.0 or 3.5 only --&gt; &lt;dotnet.tool.version&gt;4.0&lt;/dotnet.tool.version&gt; &lt;sonar.language&gt;cs&lt;/sonar.language&gt; &lt;msbuild.configurations&gt;Debug&lt;/msbuild.configurations&gt; &lt;maven.site.generateReports&gt;false&lt;/maven.site.generateReports&gt; &lt;sonar.dynamicAnalysis&gt;false&lt;/sonar.dynamicAnalysis&gt; &lt;sonar.cpd.skip&gt;true&lt;/sonar.cpd.skip&gt; &lt;/properties&gt; &lt;build&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.codehaus.sonar-plugins.dotnet&lt;/groupId&gt; &lt;artifactId&gt;maven-dotnet-plugin&lt;/artifactId&gt; &lt;version&gt;0.6&lt;/version&gt; &lt;configuration&gt; &lt;solutionName&gt;website.sln&lt;/solutionName&gt; &lt;language&gt;cs&lt;/language&gt; &lt;toolVersion&gt;3.5&lt;/toolVersion&gt; &lt;Platform&gt;x86&lt;/Platform&gt; &lt;buildConfigurations&gt;Release,Debug&lt;/buildConfigurations&gt; &lt;rebuild&gt;true&lt;/rebuild&gt; &lt;/configuration&gt; &lt;extensions&gt;true&lt;/extensions&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; </code></pre> <h2></h2>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload