Do you have included the latest commons parent pom?
2013/10/8 sebb <[email protected]> > On 8 October 2013 19:06, Benedikt Ritter <[email protected]> wrote: > > Maybe it's a problem with the maven-bundle-plugin. It should generate > the Manifest for you. I'm on my mobile right now and will not have the time > to have a look until tomorrow. > > It's not only the osgi Manifest. > > I tried copying an existing Manifest, and the build process failed with: > > [INFO] Error for project: Apache Commons JCI FileAlterationMonitor > (during package) > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to create assembly: Error creating assembly archive bin: > You must set at least one file. > > The problems are probably due to the use of multiple modules, which > are (much) harder to set up. > > However, there are other commons components with multiple modules; it > should be possible to get some clues from them. > > Note: we must update Javadoc plugin to the latest version to ensure > that the scripting bug is fixed. > > I expect there are several parts of the main pom that can be removed > as the parent pom defines all the common stuff that it can. > > > Benedikt > > > > Send from my mobile device > > > >> Am 08.10.2013 um 19:25 schrieb Emmanuel Bourg <[email protected]>: > >> > >> Le 08/10/2013 18:46, Benedikt Ritter a écrit : > >> > >>> What are the problems and how can we make releasing easier? > >> > >> I have a real example with JCI. I get an error when running the release > >> profile with "mvn package -DskipTests -Prelease" : > >> > >> [INFO] ---------------------------------------------------- > >> [ERROR] BUILD ERROR > >> [INFO] ---------------------------------------------------- > >> [INFO] Error assembling JAR > >> > >> Embedded error: Manifest file: /home/ebourg/jci/target/osgi/MANIFEST.MF > >> does not exist. > >> > >> > >> Any idea? > >> > >> Emmanuel Bourg > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- http://people.apache.org/~britter/ http://www.systemoutprintln.de/ http://twitter.com/BenediktRitter http://github.com/britter
