mvn assembly:single打包报错:Error reading assemblies: No assembly descriptors found.

原来的pom.xml里的plugin是这么写的:

<plugin>
  <artifactId>maven-assembly-plugin</artifactId>
  <executions>
    <execution>
      <id>make-zip</id>
      <phase>package</phase>
      <goals>
        <goal>single</goal>
      </goals>
      <configuration><!-- 原来在execution下 -->
        <descriptors>
          <descriptor>assemble/package.xml</descriptor>
        </descriptors>
      </configuration>
     </execution>
  </executions>
</plugin>


 
 只需把描述文件配置中的configuration移到plugin下即可: 

<plugin>
  <artifactId>maven-assembly-plugin</artifactId>
  <configuration><!-- 移动到plugin下 -->
        <descriptors>
          <descriptor>assemble/package.xml</descriptor>
        </descriptors>
  </configuration>
  <executions>
    <execution>
      <id>make-zip</id>
      <phase>package</phase>
      <goals>
        <goal>single</goal>
      </goals>
     </execution>
  </executions>
</plugin>


 
 


  • 1
    点赞
  • 0
    收藏
  • 打赏
    打赏
  • 5
    评论
NET Reflector® 6.5/.NET Reflector® 6.5 Pro Release Notes Features and Enhancements .NET Reflector is a class browser, analyzer, and decompiler for .NET assemblies. This version adds the .NET Reflector add-in for Microsoft Visual Studio. This allows you to jump to Reflector to browse classes and methods directly from Visual Studio. The Visual Studio add-in also includes .NET Reflector Pro, which allows you to seamlessly debug into third-party code and assemblies, even if you don't have source code for them. You can now treat the decompiled assemblies much like your own code: you can step through the assemblies and use all the debugging techniques that you would use on your own code. This version of .NET Reflector supports: • .NET 4.0 assemblies and support for the C# 4.0 and VB 10 language enhancements • Opening assemblies from the Global Assembly Cache Version 6.5 also fixes a number of bugs found in 6.1. How to Install and Use the Visual Studio Add-in To install the Visual Studio add-in: 1. Unzip everything into a suitable location. 2. Run Reflector.exe. The first time you run it, it should open the Integration Options where you can select versions of Visual Studio in which you want the add-in to be installed. You can then open Visual Studio, and use the .NET Reflector menu to select referenced assemblies you would like to debug into. These assemblies are then decompiled to C# or VB. You can then step into them whilst debugging, set breakpoints, see the values of variables and parameters, etc. In fact, the only debugger functionality that will not work is edit and continue. To remove the Visual Studio add-in: 1. On .NET Reflector's Tools menu, click Integration Options and clear the appropriate Visual Studio Integration checkbox. The next time you open Visual Studio the add-in will be removed. Supported .NET Framework Versions • 1.0*, 1.1*, 2.0, 3.0, 3.5, 4.0 *.NET Reflector runs under these framework versions, but the Visual Studio add-in and .NET Reflector Pro require .NET 2.0 or later. Supported OS Versions • Windows 2000*, Windows XP SP2 or later,Windows Server 2003,Windows Vista,Windows Server 2008 & 2008 R2,Windows 7 Supports 32-bit and 64-bit versions of all listed operating systems, where applicable. *.NET Reflector only; not Visual Studio add-in, or .NET Reflector Pro. Supported Visual Studio Versions The following versions of Microsoft Visual Studio are supported by the .NET Reflector add-in: • Visual Studio 2005, 2008, and 2010 System Requirements You should ensure your system meets the minimum requirements for the version of Visual Studio you wish to run.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

而非我

你的鼓励将是我创作的最大动力

¥2 ¥4 ¥6 ¥10 ¥20
输入1-500的整数
余额支付 (余额:-- )
扫码支付
扫码支付:¥2
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值