Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/pom.xml URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/pom.xml?rev=1757710&r1=1757709&r2=1757710&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/pom.xml (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/pom.xml Thu Aug 25 15:37:40 2016 @@ -40,12 +40,12 @@ <build> <resources> - <resource> + <resource> <directory>${basedir}/src/main/resources</directory> - </resource> - <resource> - <directory>${project.build.directory}/generated-resources</directory> - </resource> + </resource> + <resource> + <directory>${project.build.directory}/generated-resources</directory> + </resource> </resources> <pluginManagement> <plugins> @@ -88,41 +88,41 @@ </configuration> </plugin> <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <phase>generate-resources</phase> - <configuration> - <target> - <property name="version" value="${maven.version}" /> - <property name="timestamp" value="${timestamp}" /> - <property name="revision" value="${buildNumber}" /> - <property name="basedir" value="${maven.basedir}" /> - <property name="targetdir" value="${project.build.directory}" /> - <property name="workbench.jar" value="${project.artifactId}-${project.version}.${project.packaging}" /> - - <!-- build timestamp --> - <echo file="${targetdir}/generated-resources/META-INF/build-timestamp.txt">Version: ${project.version} / Revision: ${revision} / Build: ${timestamp}</echo> - - <!-- start scripts --> - <mkdir dir="${targetdir}/start" /> - <copy todir="${targetdir}/start" overwrite="true"> - <fileset dir="${basedir}/src/main/start" /> - </copy> - <replace dir="${targetdir}/start"> - <replacefilter token="@workbench.jar@" value="${workbench.jar}" /> - <replacefilter token="@version@" value="Version: ${project.version} / Revision: ${revision} / Build: ${timestamp}" /> - <replacefilter token="@versionnumber@" value="${project.version}" /> - </replace> - <chmod dir="${targetdir}/start" perm="+x" includes="**/*.sh" /> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <phase>generate-resources</phase> + <configuration> + <target> + <property name="version" value="${maven.version}" /> + <property name="timestamp" value="${timestamp}" /> + <property name="revision" value="${buildNumber}" /> + <property name="basedir" value="${maven.basedir}" /> + <property name="targetdir" value="${project.build.directory}" /> + <property name="workbench.jar" value="${project.artifactId}-${project.version}.${project.packaging}" /> + + <!-- build timestamp --> + <echo file="${targetdir}/generated-resources/META-INF/build-timestamp.txt">Version: ${project.version} / Revision: ${revision} / Build: ${timestamp}</echo> + + <!-- start scripts --> + <mkdir dir="${targetdir}/start" /> + <copy todir="${targetdir}/start" overwrite="true"> + <fileset dir="${basedir}/src/main/start" /> + </copy> + <replace dir="${targetdir}/start"> + <replacefilter token="@workbench.jar@" value="${workbench.jar}" /> + <replacefilter token="@version@" value="Version: ${project.version} / Revision: ${revision} / Build: ${timestamp}" /> + <replacefilter token="@versionnumber@" value="${project.version}" /> + </replace> + <chmod dir="${targetdir}/start" perm="+x" includes="**/*.sh" /> </target> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> @@ -168,48 +168,8 @@ </descriptor> </descriptors> </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.codehaus.mojo.webstart</groupId> - <artifactId>webstart-maven-plugin</artifactId> - <version>1.0-beta-1</version> - <executions> - <execution> - <goals> - <goal>jnlp-inline</goal> - </goals> </execution> </executions> - <configuration> - <libPath>lib</libPath> - <jnlp> - <mainClass>org.apache.chemistry.opencmis.workbench.Workbench</mainClass> - </jnlp> - <pack200>true</pack200> - <gzip>true</gzip> - - <sign> - <keystore>${project.build.directory}/keystore</keystore> - <keypass>password</keypass> - <storepass>password</storepass> - <alias>webstart</alias> - - <validity>365</validity> - <dnameCn>OpenCMIS Development Team</dnameCn> - <dnameOu>Apache Chemistry OpenCMIS</dnameOu> - <dnameO>The Apache Software Foundation</dnameO> - - <verify>true</verify> - - <keystoreConfig> - <delete>true</delete> - <gen>true</gen> - </keystoreConfig> - </sign> - - </configuration> </plugin> </plugins> </build> @@ -280,36 +240,36 @@ during releases --> <profiles> - <profile> - <id>apache-release</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <build> - <plugins> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <inherited>false</inherited> - <executions> - <execution> - <id>pack-workbench</id> - <goals> - <goal>single</goal> - </goals> - <phase>package</phase> - <configuration> - <attach>true</attach> - <descriptors> - <descriptor> - src/main/assembly/workbench-assembly.xml - </descriptor> - </descriptors> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> + <profile> + <id>apache-release</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <inherited>false</inherited> + <executions> + <execution> + <id>pack-workbench</id> + <goals> + <goal>single</goal> + </goals> + <phase>package</phase> + <configuration> + <attach>true</attach> + <descriptors> + <descriptor> + src/main/assembly/workbench-assembly.xml + </descriptor> + </descriptors> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>
Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/from.txt URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/from.txt?rev=1757710&r1=1757709&r2=1757710&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/from.txt (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/from.txt Thu Aug 25 15:37:40 2016 @@ -1,3 +1,23 @@ +# +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +# FROM cmis:document FROM cmis:folder FROM cmis:relationship Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/orderby.txt URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/orderby.txt?rev=1757710&r1=1757709&r2=1757710&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/orderby.txt (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/orderby.txt Thu Aug 25 15:37:40 2016 @@ -1,2 +1,22 @@ +# +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +# ORDER BY cmis:name ORDER BY cmis:creationDate \ No newline at end of file Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/properties.txt URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/properties.txt?rev=1757710&r1=1757709&r2=1757710&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/properties.txt (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/properties.txt Thu Aug 25 15:37:40 2016 @@ -1,3 +1,23 @@ +# +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +# cmis:name cmis:objectId cmis:objectTypeId Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/queries.txt URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/queries.txt?rev=1757710&r1=1757709&r2=1757710&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/queries.txt (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/queries.txt Thu Aug 25 15:37:40 2016 @@ -1,3 +1,23 @@ +# +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +# SELECT * FROM cmis:document SELECT * FROM cmis:folder SELECT cmis:objectId, cmis:name, SCORE() AS score FROM cmis:document WHERE CONTAINS('?') \ No newline at end of file Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/select.txt URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/select.txt?rev=1757710&r1=1757709&r2=1757710&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/select.txt (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/select.txt Thu Aug 25 15:37:40 2016 @@ -1,2 +1,22 @@ +# +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +# SELECT * SELECT cmis:objectId, cmis:name \ No newline at end of file Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/where.txt URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/where.txt?rev=1757710&r1=1757709&r2=1757710&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/where.txt (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/query/where.txt Thu Aug 25 15:37:40 2016 @@ -1,3 +1,23 @@ +# +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +# WHERE cmis:name LIKE '%' WHERE ? IN (?, ?, ?) WHERE IN_FOLDER('?') Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/start/run.sh URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/start/run.sh?rev=1757710&r1=1757709&r2=1757710&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/start/run.sh (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/start/run.sh Thu Aug 25 15:37:40 2016 @@ -1,3 +1,19 @@ #!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + cd "$(dirname "$0")/../Resources" ./workbench.sh \ No newline at end of file Modified: chemistry/opencmis/trunk/pom.xml URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/pom.xml?rev=1757710&r1=1757709&r2=1757710&view=diff ============================================================================== --- chemistry/opencmis/trunk/pom.xml (original) +++ chemistry/opencmis/trunk/pom.xml Thu Aug 25 15:37:40 2016 @@ -431,22 +431,46 @@ <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> + <version>0.12</version> <configuration> + <licenses> + <license implementation="org.apache.rat.analysis.license.FullTextMatchingLicense"> + <licenseFamilyCategory>OASIS</licenseFamilyCategory> + <licenseFamilyName>OASISOpen</licenseFamilyName> + <notes></notes> + <fullText>.*OASIS Open.*</fullText> + </license> + </licenses> + <licenseFamilies> + <licenseFamily implementation="org.apache.rat.license.Apache20LicenseFamily"/> + <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily"> + <familyName>OASISOpen</familyName> + </licenseFamily> + </licenseFamilies> <excludes> - <exclude>.pmd</exclude> - <exclude>**/*.xsd</exclude> + <!-- general --> <exclude>**/*.log</exclude> <exclude>**/*.json</exclude> + <exclude>/src/main/resources/META-INF/services/**/*</exclude> + <exclude>/src/main/webapp/WEB-INF/classes/META-INF/**/*</exclude> + <!-- client --> + <exclude>/src/main/assembly/client-with-dependencies-assembly-notice.txt</exclude> + <!-- archetype --> + <exclude>/src/main/resources/archetype-resources/**/*</exclude> + <exclude>/src/test/resources/projects/server/*</exclude> + <!-- workbench --> + <exclude>/src/main/resources/META-INF/README-cmis-workbench.txt</exclude> + <exclude>**/info.plist</exclude> </excludes> </configuration> </plugin> </plugins> <extensions> - <extension> - <groupId>com.google.code.maven-svn-wagon</groupId> - <artifactId>maven-svn-wagon</artifactId> - <version>1.4</version> - </extension> + <extension> + <groupId>com.google.code.maven-svn-wagon</groupId> + <artifactId>maven-svn-wagon</artifactId> + <version>1.4</version> + </extension> </extensions> </build>
